Home | History | Annotate | Line # | Download | only in dev
scsiromvar.h revision 1.2
      1  1.2  minoura /*	$NetBSD: scsiromvar.h,v 1.2 1999/03/16 16:30:20 minoura Exp $	*/
      2  1.2  minoura 
      3  1.2  minoura /*
      4  1.2  minoura  *
      5  1.2  minoura  * Copyright (c) 1998 NetBSD Foundation, Inc.
      6  1.2  minoura  * All rights reserved.
      7  1.2  minoura  *
      8  1.2  minoura  * Redistribution and use in source and binary forms, with or without
      9  1.2  minoura  * modification, are permitted provided that the following conditions
     10  1.2  minoura  * are met:
     11  1.2  minoura  * 1. Redistributions of source code must retain the above copyright
     12  1.2  minoura  *    notice, this list of conditions and the following disclaimer.
     13  1.2  minoura  * 2. Redistributions in binary form must reproduce the above copyright
     14  1.2  minoura  *    notice, this list of conditions and the following disclaimer in the
     15  1.2  minoura  *    documentation and/or other materials provided with the distribution.
     16  1.2  minoura  * 3. All advertising materials mentioning features or use of this software
     17  1.2  minoura  *    must display the following acknowledgement:
     18  1.2  minoura  *      This product includes software developed by Charles D. Cranor and
     19  1.2  minoura  *      Washington University.
     20  1.2  minoura  * 4. The name of the author may not be used to endorse or promote products
     21  1.2  minoura  *    derived from this software without specific prior written permission.
     22  1.2  minoura  *
     23  1.2  minoura  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
     24  1.2  minoura  * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
     25  1.2  minoura  * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
     26  1.2  minoura  * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
     27  1.2  minoura  * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
     28  1.2  minoura  * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
     29  1.2  minoura  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
     30  1.2  minoura  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
     31  1.2  minoura  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
     32  1.2  minoura  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
     33  1.2  minoura  */
     34  1.2  minoura 
     35  1.2  minoura /*
     36  1.2  minoura  * SCSI BIOS ROM.
     37  1.2  minoura  * Used to probe the board.
     38  1.2  minoura  */
     39  1.2  minoura 
     40  1.2  minoura struct scsirom_softc {
     41  1.2  minoura 	struct device	sc_dev;
     42  1.2  minoura 	enum {
     43  1.2  minoura 		INTERNAL = 0,	/* onboard */
     44  1.2  minoura 		EXTERNAL = 1,	/* optional */
     45  1.2  minoura 	} 		sc_which;
     46  1.2  minoura 	paddr_t		sc_addr;
     47  1.2  minoura };
     48  1.2  minoura 
     49  1.2  minoura int scsirom_find_rom __P((int));
     50