Home | History | Annotate | Line # | Download | only in dev
scsiromvar.h revision 1.2.8.1
      1  1.2.8.1   bouyer /*	$NetBSD: scsiromvar.h,v 1.2.8.1 2000/11/20 20:30:03 bouyer Exp $	*/
      2      1.2  minoura 
      3  1.2.8.1   bouyer /*-
      4      1.2  minoura  * Copyright (c) 1998 NetBSD Foundation, Inc.
      5      1.2  minoura  * All rights reserved.
      6      1.2  minoura  *
      7      1.2  minoura  * Redistribution and use in source and binary forms, with or without
      8      1.2  minoura  * modification, are permitted provided that the following conditions
      9      1.2  minoura  * are met:
     10      1.2  minoura  * 1. Redistributions of source code must retain the above copyright
     11      1.2  minoura  *    notice, this list of conditions and the following disclaimer.
     12      1.2  minoura  * 2. Redistributions in binary form must reproduce the above copyright
     13      1.2  minoura  *    notice, this list of conditions and the following disclaimer in the
     14      1.2  minoura  *    documentation and/or other materials provided with the distribution.
     15      1.2  minoura  * 3. All advertising materials mentioning features or use of this software
     16      1.2  minoura  *    must display the following acknowledgement:
     17  1.2.8.1   bouyer  *        This product includes software developed by the NetBSD
     18  1.2.8.1   bouyer  *        Foundation, Inc. and its contributors.
     19      1.2  minoura  * 4. The name of the author may not be used to endorse or promote products
     20      1.2  minoura  *    derived from this software without specific prior written permission.
     21      1.2  minoura  *
     22  1.2.8.1   bouyer  * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
     23  1.2.8.1   bouyer  * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
     24  1.2.8.1   bouyer  * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
     25  1.2.8.1   bouyer  * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
     26  1.2.8.1   bouyer  * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
     27  1.2.8.1   bouyer  * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
     28  1.2.8.1   bouyer  * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
     29  1.2.8.1   bouyer  * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
     30  1.2.8.1   bouyer  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
     31  1.2.8.1   bouyer  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
     32  1.2.8.1   bouyer  * 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