GENERIC_SCSI3 revision 1.32 1 1.32 mrg # $NetBSD: GENERIC_SCSI3,v 1.32 1996/10/02 07:11:47 mrg Exp $
2 1.1 deraadt
3 1.24 thorpej # Machine architecture; required by config(8)
4 1.1 deraadt machine sparc
5 1.1 deraadt
6 1.32 mrg include "arch/sparc/conf/std.sparc"
7 1.32 mrg
8 1.24 thorpej # Options for variants of the Sun SPARC architecure.
9 1.24 thorpej # At least one is required.
10 1.24 thorpej options SUN4 # sun4/100, sun4/200, sun4/300
11 1.24 thorpej options SUN4C # sun4c - SS1, 1+, 2, ELC, SLC, IPC, IPX, etc.
12 1.24 thorpej options SUN4M # sun4m - SS10, SS20, Classic, etc.
13 1.24 thorpej
14 1.24 thorpej #options MMU_3L # 3-level MMU on sun4/400
15 1.24 thorpej
16 1.24 thorpej # obsolete timezone spec; optional
17 1.24 thorpej #options TIMEZONE=0, DST=0
18 1.1 deraadt
19 1.1 deraadt # Standard system options
20 1.24 thorpej options SWAPPAGER # swap and anonymous memory; required
21 1.24 thorpej options VNODEPAGER # mapped files; required
22 1.24 thorpej options DEVPAGER # mapped devices; required
23 1.24 thorpej options KTRACE # system call tracing
24 1.24 thorpej options SYSVMSG # System V message queues
25 1.24 thorpej options SYSVSEM # System V semaphores
26 1.24 thorpej options SYSVSHM # System V shared memory
27 1.24 thorpej #options SHMMAXPGS=1024 # 1024 pages is the default
28 1.24 thorpej options LKM # loadable kernel modules
29 1.24 thorpej #options INSECURE # disable kernel security level
30 1.28 pk #options UCONSOLE # allow anyone to steal the virtual console
31 1.24 thorpej
32 1.24 thorpej # Debugging options
33 1.24 thorpej #options DDB # kernel dynamic debugger
34 1.24 thorpej #options DEBUG # kernel debugging code
35 1.24 thorpej #options DIAGNOSTIC # extra kernel sanity checking
36 1.24 thorpej #options KGDB # support for kernel gdb
37 1.24 thorpej #options KGDBDEV=0xc01 # kgdb device number (dev_t)
38 1.24 thorpej #options KGDBRATE=38400 # baud rate
39 1.24 thorpej
40 1.24 thorpej # Compatibility options
41 1.24 thorpej options COMPAT_43 # 4.3BSD system interfaces
42 1.24 thorpej options COMPAT_10 # NetBSD 1.0 binary compatibility
43 1.24 thorpej options COMPAT_11 # NetBSD 1.1 binary compatibility
44 1.24 thorpej options COMPAT_SUNOS # SunOS 4.x binary compatibility
45 1.24 thorpej options COMPAT_SVR4 # SunOS 5.x binary compatibility
46 1.32 mrg options EXEC_ELF32 # Exec module for SunOS 5.x binaries.
47 1.1 deraadt
48 1.1 deraadt # Filesystem options
49 1.24 thorpej options FFS # Berkeley Fast Filesystem
50 1.24 thorpej options QUOTA # FFS quotas
51 1.24 thorpej options NFSSERVER # Sun NFS-compatible filesystem server
52 1.24 thorpej options NFSCLIENT # Sun NFS-compatible filesystem client
53 1.1 deraadt options KERNFS # kernel data-structure filesystem
54 1.24 thorpej options NULLFS # NULL layered filesystem
55 1.6 pk options MFS # memory-based filesystem
56 1.6 pk options FDESC # user file descriptor filesystem
57 1.6 pk options UMAPFS # uid/gid remapping filesystem
58 1.6 pk options LFS # Log-based filesystem (still experimental)
59 1.6 pk options PORTAL # portal filesystem (still experimental)
60 1.6 pk options PROCFS # /proc
61 1.5 pk options CD9660 # ISO 9660 + Rock Ridge file system
62 1.8 pk options UNION # union file system
63 1.24 thorpej options FIFO # POSIX fifo support (in all filesystems)
64 1.1 deraadt
65 1.1 deraadt # Networking options
66 1.24 thorpej options INET # IP stack
67 1.1 deraadt options TCP_COMPAT_42 # compatibility with 4.2BSD TCP/IP
68 1.1 deraadt #options GATEWAY # IP packet forwarding
69 1.24 thorpej #options ISO,TPIP # OSI networking
70 1.24 thorpej #options EON # OSI tunneling over IP
71 1.24 thorpej #options CCITT,LLC,HDLC # X.25
72 1.1 deraadt
73 1.1 deraadt # Options for SPARCstation hardware
74 1.24 thorpej options RASTERCONSOLE # fast rasterop console
75 1.1 deraadt
76 1.24 thorpej # Generic swap; second partition of root disk or network.
77 1.5 pk config netbsd swap generic
78 1.1 deraadt
79 1.24 thorpej # Main bus and CPU .. all systems.
80 1.1 deraadt mainbus0 at root
81 1.1 deraadt cpu0 at mainbus0
82 1.1 deraadt
83 1.24 thorpej # Bus types found on SPARC systems.
84 1.24 thorpej sbus0 at mainbus0 # sun4c
85 1.24 thorpej obio0 at mainbus0 # sun4 and sun4m
86 1.24 thorpej vmes0 at mainbus0 # sun4
87 1.24 thorpej vmel0 at mainbus0 # sun4
88 1.23 pk iommu0 at mainbus0 # sun4m
89 1.23 pk sbus0 at iommu0 # sun4m
90 1.1 deraadt
91 1.24 thorpej audio0 at mainbus0 # sun4c
92 1.23 pk audio0 at obio0 # sun4m
93 1.24 thorpej
94 1.24 thorpej auxreg0 at mainbus0 # sun4c
95 1.23 pk auxreg0 at obio0 # sun4m
96 1.27 abrown
97 1.27 abrown # Power status and control register found on Sun4m systems
98 1.27 abrown power0 at obio0
99 1.24 thorpej
100 1.24 thorpej # Mostek clock found on 4/300, sun4c, and sun4m systems.
101 1.24 thorpej # The Mostek clock NVRAM is the "eeprom" on sun4/300 systems.
102 1.24 thorpej clock0 at mainbus0 # sun4c
103 1.23 pk clock0 at obio0 # sun4m
104 1.24 thorpej clock0 at obio0 addr 0xf2000000 # sun4/300
105 1.24 thorpej
106 1.24 thorpej # Intersil clock found on 4/100 and 4/200 systems.
107 1.24 thorpej oclock0 at obio0 addr 0xf3000000 # sun4/200
108 1.24 thorpej oclock0 at obio0 addr 0x03000000 # sun4/100
109 1.24 thorpej
110 1.24 thorpej # Memory error registers.
111 1.24 thorpej memreg0 at mainbus0 # sun4c
112 1.23 pk memreg0 at obio0 # sun4m
113 1.24 thorpej memreg0 at obio0 addr 0xf4000000 # sun4/200 and sun4/300
114 1.24 thorpej memreg0 at obio0 addr 0x04000000 # sun4/100
115 1.24 thorpej
116 1.24 thorpej # Timer chip found on 4/300, sun4c, and sun4m systems.
117 1.24 thorpej timer0 at mainbus0 # sun4c
118 1.23 pk timer0 at obio0 # sun4m
119 1.24 thorpej timer0 at obio0 addr 0xef000000 # sun4/300
120 1.24 thorpej
121 1.24 thorpej # EEPROM found on 4/100 and 4/200 systems. Note that the 4/300
122 1.24 thorpej # doesn't use this driver; the `EEPROM' is in the NVRAM on the
123 1.24 thorpej # Mostek clock chip on 4/300 systems.
124 1.24 thorpej eeprom0 at obio0 addr 0xf2000000 # sun4/200
125 1.24 thorpej eeprom0 at obio0 addr 0x02000000 # sun4/100
126 1.24 thorpej
127 1.24 thorpej # Zilog 8530 serial chips. Each has two-channels.
128 1.24 thorpej # zs0 is ttya and ttyb. zs1 is the keyboard and mouse.
129 1.24 thorpej zs0 at mainbus0 # sun4c
130 1.24 thorpej zs0 at obio0 # sun4m
131 1.24 thorpej zs0 at obio0 addr 0xf1000000 level 12 flags 0x103 # sun4/200 and sun4/300
132 1.24 thorpej zs0 at obio0 addr 0x01000000 level 12 flags 0x103 # sun4/100
133 1.24 thorpej zs1 at mainbus0 # sun4c
134 1.24 thorpej zs1 at obio0 # sun4m
135 1.24 thorpej zs1 at obio0 addr 0xf0000000 level 12 flags 0x103 # sun4/200 and sun4/300
136 1.24 thorpej zs1 at obio0 addr 0x00000000 level 12 flags 0x103 # sun4/100
137 1.24 thorpej zs2 at obio0 addr 0xe0000000 level 12 flags 0x103 # sun4/300
138 1.24 thorpej
139 1.26 pk #
140 1.26 pk # Note the flags on the esp entries below, that work around
141 1.26 pk # deficiencies in the current driver:
142 1.26 pk # bits 0-7: disable disconnect/reselect for the corresponding target
143 1.28 pk # bits 8-15: disable synch negotiation for target [bit-8]
144 1.30 pk # Note: targets 4-7 have disconnect/reselect enabled on the premise
145 1.30 pk # that tape devices normally have one of these targets. Tape
146 1.30 pk # devices should be allowed to disconnect for the SCSI bus
147 1.30 pk # to operate acceptably.
148 1.26 pk #
149 1.26 pk
150 1.25 pk # sun4/300 SCSI - an NCR53c94 or equivalent behind
151 1.24 thorpej # an LSI Logic DMA controller
152 1.24 thorpej dma0 at obio0 addr 0xfa001000 level 4 # sun4/300
153 1.30 pk esp0 at obio0 addr 0xfa000000 level 4 flags 0xff0f #
154 1.1 deraadt
155 1.28 pk # sun4c or sun4m SCSI - an NCR53c94 or equivalent behind
156 1.28 pk # specialized DMA glue
157 1.28 pk dma0 at sbus0 slot ? offset ? # on-board SCSI
158 1.30 pk esp0 at sbus0 slot ? offset ? flags 0xff0f # sun4c
159 1.30 pk esp0 at dma0 flags 0xff0f # sun4m
160 1.24 thorpej
161 1.28 pk # FSBE/S SCSI - an NCR53c94 or equivalent behind
162 1.25 pk dma* at sbus? slot ? offset ? # SBus SCSI
163 1.30 pk esp* at sbus? slot ? offset ? flags 0xff0f # two flavours
164 1.30 pk esp* at dma? flags 0xff0f # depending on model
165 1.24 thorpej
166 1.24 thorpej # sun4m Ethernet - an AMD 7990 LANCE behind
167 1.24 thorpej # specialized DMA glue
168 1.24 thorpej ledma0 at sbus0 slot ? offset ? # sun4m on-board
169 1.25 pk le0 at ledma0 #
170 1.25 pk
171 1.25 pk # Additional SBus LANCE devices - glued on by lebuffer (not yet implemented)
172 1.25 pk #lebuffer* at sbus0 slot ? offset ? # sun4m SBus
173 1.25 pk #le* at lebuffer? #
174 1.24 thorpej
175 1.24 thorpej # sun4/300 and sun4c Ethernet - an AMD 7990 LANCE
176 1.24 thorpej le0 at sbus0 slot ? offset ? # sun4c on-board
177 1.1 deraadt le* at sbus? slot ? offset ?
178 1.1 deraadt
179 1.24 thorpej le0 at obio0 addr 0xf9000000 level 6 # sun4/300
180 1.24 thorpej
181 1.24 thorpej # sun4/100 and sun4/200 Ethernet - an Intel 82586 on-board
182 1.24 thorpej # or on a Multibus/VME card.
183 1.24 thorpej ie0 at obio0 addr 0xf6000000 level 6 # sun4/200 on-board
184 1.24 thorpej ie0 at obio0 addr 0x06000000 level 6 # sun4/100 on-board
185 1.23 pk
186 1.3 deraadt ie1 at vmes0 addr 0xffe88000 level 5 vect 0x75
187 1.3 deraadt ie2 at vmes0 addr 0xff31ff02 level 5 vect 0x76
188 1.3 deraadt ie3 at vmes0 addr 0xff35ff02 level 5 vect 0x77
189 1.3 deraadt ie4 at vmes0 addr 0xff2dff02 level 5 vect 0x7c
190 1.9 pk
191 1.24 thorpej # Xylogics 753 or 7053 VME SMD disk controllers and disks, found
192 1.24 thorpej # on sun4 systems.
193 1.9 pk xdc0 at vmel0 addr 0xffffee80 level 3 vect 0x44
194 1.9 pk xdc1 at vmel0 addr 0xffffee90 level 3 vect 0x45
195 1.9 pk xdc2 at vmel0 addr 0xffffeea0 level 3 vect 0x46
196 1.9 pk xdc3 at vmel0 addr 0xffffeeb0 level 3 vect 0x47
197 1.9 pk xd* at xdc? drive ?
198 1.16 chuck
199 1.24 thorpej # Xylogics 451 or 451 VME SMD disk controllers and disks, found
200 1.24 thorpej # on sun4 systems.
201 1.16 chuck xyc0 at vmes0 addr 0xffffee40 level 3 vect 0x48
202 1.16 chuck xyc1 at vmes0 addr 0xffffee48 level 3 vect 0x49
203 1.16 chuck xy* at xyc? drive ?
204 1.10 pk
205 1.24 thorpej # NCR5380-based "Sun SCSI 3" VME SCSI controller.
206 1.24 thorpej # This driver has several flags which may be enabled by OR'ing
207 1.24 thorpej # the values and using the "flags" directive.
208 1.24 thorpej # Valid flags are:
209 1.24 thorpej #
210 1.24 thorpej # 0x01 Use DMA (may be polled)
211 1.24 thorpej # 0x02 Use DMA completion interrupts
212 1.24 thorpej # 0x04 Allow disconnect/reselect
213 1.24 thorpej #
214 1.24 thorpej # E.g. the following would enable DMA, interrupts, and reselect:
215 1.24 thorpej # si0 at vmes0 addr 0xff200000 level 3 vect 0x40 flags 0x07
216 1.24 thorpej #
217 1.24 thorpej # By default, DMA is enabled in the driver.
218 1.20 thorpej si0 at vmes0 addr 0xff200000 level 3 vect 0x40
219 1.24 thorpej
220 1.24 thorpej # NCR5380-based "SCSI Weird" on-board SCSI interface found
221 1.24 thorpej # on sun4/100 systems. The flags are the same as the "si"
222 1.24 thorpej # controller. Note, while DMA is enabled by default, only
223 1.24 thorpej # polled DMA works at this time, and reselects do not work
224 1.24 thorpej # on this particular controller.
225 1.20 thorpej sw0 at obio0 addr 0x0a000000 level 3
226 1.1 deraadt
227 1.24 thorpej # Sun "bwtwo" black and white framebuffer, found on sun4, sun4c, and sun4m
228 1.24 thorpej # systems. If your sun4 system has a cgfour installed in the P4 slot,
229 1.24 thorpej # the P4 entries for "bwtwo" will attach to the overlay plane of the
230 1.24 thorpej # "cgfour".
231 1.24 thorpej bwtwo0 at sbus0 slot ? offset ? # sun4c on-board
232 1.24 thorpej bwtwo* at sbus? slot ? offset ? # sun4c and sun4m
233 1.24 thorpej bwtwo0 at obio0 addr 0xfd000000 level 4 # sun4/200
234 1.24 thorpej bwtwo0 at obio0 addr 0xfb300000 level 4 # sun4/300 in P4 slot
235 1.24 thorpej bwtwo0 at obio0 addr 0x0b300000 level 4 # sun4/100 in P4 slot
236 1.21 thorpej
237 1.24 thorpej # Sun "cgtwo" VME color framebuffer
238 1.17 pk cgtwo0 at vmes0 addr 0xff400000 level 4 vect 0xa8
239 1.21 thorpej
240 1.24 thorpej # Sun "cgthree" Sbus color framebuffer
241 1.1 deraadt cgthree0 at sbus? slot ? offset ?
242 1.1 deraadt cgthree* at sbus? slot ? offset ?
243 1.23 pk #cgthree0 at obio? slot ? offset ? # sun4m
244 1.23 pk #cgthree* at obio? slot ? offset ? # sun4m
245 1.21 thorpej
246 1.24 thorpej # Sun "cgfour" color framebuffer with overlay plane. See above comment
247 1.24 thorpej # regarding overlay plane.
248 1.24 thorpej cgfour0 at obio0 addr 0xfb300000 level 4 # sun4/300 P4
249 1.24 thorpej cgfour0 at obio0 addr 0x0b300000 level 4 # sun4/100 P4
250 1.21 thorpej
251 1.24 thorpej # Sun "cgsix" accelerated color framebuffer.
252 1.21 thorpej cgsix0 at sbus? slot ? offset ?
253 1.21 thorpej cgsix* at sbus? slot ? offset ?
254 1.24 thorpej cgsix0 at obio0 addr 0xfb000000 level 4 # sun4/300 P4
255 1.24 thorpej cgsix0 at obio0 addr 0x0b000000 level 4 # sun4/100 P4
256 1.21 thorpej
257 1.24 thorpej # Sun "cgeight" 24-bit framebuffer
258 1.24 thorpej cgeight0 at obio0 addr 0xfb300000 level 4 # sun4/300 P4
259 1.24 thorpej cgeight0 at obio0 addr 0x0b300000 level 4 # sun4/100 P4
260 1.29 pk
261 1.29 pk # Sun "tcx" accelerated color framebuffer.
262 1.29 pk tcx0 at sbus? slot ? offset ?
263 1.29 pk tcx* at sbus? slot ? offset ?
264 1.1 deraadt
265 1.24 thorpej # SCSI bus layer. SCSI devices attach to the SCSI bus, which attaches
266 1.24 thorpej # to the underlying hardware controller.
267 1.1 deraadt scsibus* at esp?
268 1.13 pk scsibus* at si?
269 1.13 pk scsibus* at sw?
270 1.1 deraadt
271 1.24 thorpej # These entries find devices on all SCSI busses and assign
272 1.24 thorpej # unit numers dynamically.
273 1.31 mrg # Map the SCSI disk at targets 3120 to units 0123, a'la SunOS.
274 1.31 mrg sd0 at scsibus? target 3 lun ? # first SCSI disk
275 1.31 mrg sd1 at scsibus? target 1 lun ? # second SCSI disk
276 1.31 mrg sd2 at scsibus? target 2 lun ? # third SCSI disk
277 1.31 mrg sd3 at scsibus? target 0 lun ? # fourth SCSI disk
278 1.31 mrg sd* at scsibus? target ? lun ? # more SCSI disks
279 1.24 thorpej st* at scsibus? target ? lun ? # SCSI tapes
280 1.24 thorpej cd* at scsibus? target ? lun ? # SCSI CD-ROMs
281 1.24 thorpej ch* at scsibus? target ? lun ? # SCSI changer devices
282 1.24 thorpej
283 1.24 thorpej # Floppy controller and drive found on SPARCstations.
284 1.24 thorpej fdc0 at mainbus0 # sun4c controller
285 1.24 thorpej fdc0 at obio0 # sun4m controller
286 1.24 thorpej fd* at fdc0 # the drive itself
287 1.24 thorpej
288 1.24 thorpej pseudo-device loop # loopback interface; required
289 1.24 thorpej pseudo-device pty 32 # pseudo-ttys (for network, etc.)
290 1.24 thorpej pseudo-device sl 2 # SLIP interfaces
291 1.24 thorpej pseudo-device kbd # Sun keyboard
292 1.24 thorpej pseudo-device ppp 2 # PPP interfaces
293 1.24 thorpej pseudo-device tun 4 # Network "tunnel" device
294 1.24 thorpej pseudo-device bpfilter 16 # Berkeley Packet Filter
295 1.24 thorpej pseudo-device vnd 4 # disk-like interface to files
296 1.24 thorpej pseudo-device ccd 4 # concatenated and striped disks
297 1.28 pk #pseudo-device strip 1 # radio clock
298