scsiromvar.h revision 1.5.82.1 1 1.5.82.1 simonb /* $NetBSD: scsiromvar.h,v 1.5.82.1 2008/06/27 15:11:18 simonb Exp $ */
2 1.2 minoura
3 1.3 minoura /*-
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.3 minoura * This product includes software developed by the NetBSD
18 1.3 minoura * 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.3 minoura * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
23 1.3 minoura * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
24 1.3 minoura * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
25 1.3 minoura * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
26 1.3 minoura * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
27 1.3 minoura * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
28 1.3 minoura * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
29 1.3 minoura * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
30 1.3 minoura * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
31 1.3 minoura * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
32 1.3 minoura * 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 enum {
42 1.2 minoura INTERNAL = 0, /* onboard */
43 1.2 minoura EXTERNAL = 1, /* optional */
44 1.2 minoura } sc_which;
45 1.2 minoura paddr_t sc_addr;
46 1.2 minoura };
47 1.2 minoura
48 1.4 chs int scsirom_find_rom(int);
49