1*65b5a2beSderaadt /* $OpenBSD: ydsvar.h,v 1.6 2004/12/20 12:29:36 deraadt Exp $ */ 2c28d1257Saaron /* $NetBSD$ */ 3c28d1257Saaron 4c28d1257Saaron /* 5c28d1257Saaron * Copyright (c) 2000, 2001 Kazuki Sakamoto and Minoura Makoto. 6c28d1257Saaron * All rights reserved. 7c28d1257Saaron * 8c28d1257Saaron * Redistribution and use in source and binary forms, with or without 9c28d1257Saaron * modification, are permitted provided that the following conditions 10c28d1257Saaron * are met: 11c28d1257Saaron * 1. Redistributions of source code must retain the above copyright 12c28d1257Saaron * notice, this list of conditions and the following disclaimer. 13c28d1257Saaron * 2. Redistributions in binary form must reproduce the above copyright 14c28d1257Saaron * notice, this list of conditions and the following disclaimer in the 15c28d1257Saaron * documentation and/or other materials provided with the distribution. 16c28d1257Saaron * 17c28d1257Saaron * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 18c28d1257Saaron * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 19c28d1257Saaron * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 20c28d1257Saaron * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 21c28d1257Saaron * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 22c28d1257Saaron * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 23c28d1257Saaron * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 24c28d1257Saaron * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 25c28d1257Saaron * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 26c28d1257Saaron * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27c28d1257Saaron */ 28c28d1257Saaron 29c28d1257Saaron #ifndef _DEV_PCI_YDSVAR_H_ 30c28d1257Saaron #define _DEV_PCI_YDSVAR_H_ 31c28d1257Saaron 32*65b5a2beSderaadt struct yds_firmware { 33*65b5a2beSderaadt int dsplen; 34*65b5a2beSderaadt int ds1len; 35*65b5a2beSderaadt int ds1elen; 36*65b5a2beSderaadt u_char data[4]; 37c28d1257Saaron }; 38c28d1257Saaron 39c28d1257Saaron 40c28d1257Saaron #endif /* _DEV_PCI_YDSVAR_H_ */ 41