GENERIC revision 1.132 1 1.132 gmcgarry # $NetBSD: GENERIC,v 1.132 2002/04/12 08:11:20 gmcgarry Exp $
2 1.127 gmcgarry #
3 1.127 gmcgarry # GENERIC machine description file
4 1.127 gmcgarry #
5 1.127 gmcgarry # This machine description file is used to generate the default NetBSD
6 1.127 gmcgarry # kernel. The generic kernel does not include all options, subsystems
7 1.127 gmcgarry # and device drivers, but should be useful for most applications.
8 1.127 gmcgarry #
9 1.127 gmcgarry # The machine description file can be customised for your specific
10 1.127 gmcgarry # machine to reduce the kernel size and improve its performance.
11 1.127 gmcgarry #
12 1.127 gmcgarry # For further information on compiling NetBSD kernels, see the config(8)
13 1.127 gmcgarry # man page.
14 1.127 gmcgarry #
15 1.127 gmcgarry # For further information on hardware support for this architecture, see
16 1.127 gmcgarry # the intro(4) man page. For further information about kernel options
17 1.127 gmcgarry # for this architecture, see the options(4) man page. For an explanation
18 1.127 gmcgarry # of each device driver in this file see the section 4 man page for the
19 1.127 gmcgarry # device.
20 1.1 deraadt
21 1.127 gmcgarry include "arch/sparc/conf/std.sparc"
22 1.96 hubertf
23 1.132 gmcgarry #ident "GENERIC-$Revision: 1.132 $"
24 1.45 pk
25 1.45 pk maxusers 32
26 1.32 mrg
27 1.55 pk ## System kernel configuration. See options(4) for more detail.
28 1.55 pk
29 1.55 pk
30 1.24 thorpej # Options for variants of the Sun SPARC architecure.
31 1.55 pk # We currently support three architecture types; at least one is required.
32 1.43 lukem options SUN4 # sun4/100, sun4/200, sun4/300
33 1.43 lukem options SUN4C # sun4c - SS1, 1+, 2, ELC, SLC, IPC, IPX, etc.
34 1.43 lukem options SUN4M # sun4m - SS10, SS20, Classic, etc.
35 1.24 thorpej
36 1.109 pk options SUN4_MMU3L # sun4/400 3-level MMU
37 1.1 deraadt
38 1.55 pk ## System options specific to the sparc machine type
39 1.55 pk
40 1.55 pk # Blink the power LED on some machines to indicate the system load.
41 1.55 pk #options BLINK
42 1.55 pk
43 1.55 pk ## Use a faster console than the PROM's slow drawing routines. Not needed
44 1.55 pk ## for headless (no framebuffer) machines.
45 1.77 ad options RASTERCONSOLE # fast rasterop console
46 1.79 ad options FONT_GALLANT12x22 # the console font
47 1.79 ad #options FONT_BOLD8x16 # a somewhat smaller font
48 1.103 pk ## default console colors: black-on-white; this can be changed
49 1.103 pk ## using the following two options.
50 1.103 pk #options RASTERCONSOLE_FGCOL=WSCOL_BLACK
51 1.103 pk #options RASTERCONSOLE_BGCOL=WSCOL_WHITE
52 1.55 pk
53 1.55 pk #### System options that are the same for all ports
54 1.55 pk
55 1.55 pk ## Root device configuration: change the ?'s if you are going to use a
56 1.55 pk ## nonstandard root partition (other than where the kernel is booted from)
57 1.55 pk ## and/or nonstandard root type (not ffs or nfs). Normally this can be
58 1.55 pk ## automagically determined at boot time.
59 1.55 pk
60 1.55 pk config netbsd root on ? type ?
61 1.55 pk
62 1.55 pk ## System call tracing (see ktrace(1)).
63 1.55 pk options KTRACE
64 1.55 pk
65 1.55 pk ## Collect statistics on kernel malloc's and free's. This does have a
66 1.55 pk ## significant performance hit on slower machines, so it is intended for
67 1.55 pk ## diagnostic use only.
68 1.55 pk #options KMEMSTATS
69 1.55 pk
70 1.55 pk ## System V compatible IPC subsystem. (msgctl(2), semctl(2), and shmctl(2))
71 1.43 lukem options SYSVMSG # System V message queues
72 1.43 lukem options SYSVSEM # System V semaphores
73 1.125 lukem #options SEMMNI=10 # number of semaphore identifiers
74 1.125 lukem #options SEMMNS=60 # number of semaphores in system
75 1.125 lukem #options SEMUME=10 # max number of undo entries per process
76 1.125 lukem #options SEMMNU=30 # number of undo structures in system
77 1.43 lukem options SYSVSHM # System V shared memory
78 1.43 lukem #options SHMMAXPGS=1024 # 1024 pages is the default
79 1.24 thorpej
80 1.55 pk ## Loadable kernel module support; still under development.
81 1.55 pk options LKM
82 1.130 jdolecek
83 1.132 gmcgarry #options USERCONF # userconf(4) support
84 1.130 jdolecek #options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
85 1.55 pk
86 1.59 pk ## NFS boot options; default on sparc is the bootparam protocol
87 1.59 pk options NFS_BOOT_BOOTPARAM
88 1.59 pk #options NFS_BOOT_BOOTP
89 1.59 pk #options NFS_BOOT_DHCP
90 1.55 pk
91 1.55 pk #### Debugging options
92 1.55 pk
93 1.55 pk ## The DDB in-kernel debugger runs at panic (unless DDB_ONPANIC=0), or at
94 1.55 pk ## serial console break or keyboard reset, where the PROM would normally
95 1.55 pk ## intercept. DDB_HISTORY_SIZE adds up/down arrow command history.
96 1.55 pk #options DDB # kernel dynamic debugger
97 1.52 lukem #options DDB_HISTORY_SIZE=100 # enable history editing in DDB
98 1.69 pk #options DDB_ONPANIC=1 # see also sysctl(8): `ddb.onpanic'
99 1.55 pk
100 1.55 pk ## You may also use gdb, on another computer connected to this machine over
101 1.124 lukem ## a serial port. Both KGDB_DEV and KGDB_DEVRATE should be specified;
102 1.124 lukem ## KGDB_DEV is a dev_t encoded device number of the serial port to use, where
103 1.124 lukem ## the minor device number encodes the PROM enumeration of the serial ports,
104 1.124 lukem ## i.e.:
105 1.124 lukem ## 0xc00 = ttya, 0xc01 = ttyb, 0xc02 = ttyc, 0xc03 = ttyd.
106 1.124 lukem ## (Note: ttyc and ttyd are available only on some sun4 models)
107 1.124 lukem #options KGDB # support for kernel gdb
108 1.124 lukem #options KGDB_DEV=0xc01 # kgdb device number (this is `ttyb')
109 1.124 lukem #options KGDB_DEVRATE=38400 # baud rate
110 1.24 thorpej
111 1.55 pk
112 1.55 pk ## Compile the kernel with debugging symbols (`netbsd.gdb' is the debug file),
113 1.55 pk ## such that gdb(1) can be used on a kernel coredump.
114 1.55 pk
115 1.125 lukem #makeoptions DEBUG="-g"
116 1.55 pk
117 1.55 pk
118 1.55 pk ## Adds code to the kernel that does internal consistency checks, and will
119 1.55 pk ## cause the kernel to panic if corruption of internal data structures
120 1.55 pk ## is detected.
121 1.55 pk #options DIAGNOSTIC # extra kernel sanity checking
122 1.55 pk
123 1.55 pk ## Enable (possibly expensive) debugging code that may also display messages
124 1.55 pk ## on the system console
125 1.55 pk #options DEBUG
126 1.55 pk
127 1.55 pk ## Make SCSI error messages more verbose when explaining their meanings.
128 1.55 pk options SCSIVERBOSE
129 1.105 augustss
130 1.105 augustss options MIIVERBOSE # verbose PHY autoconfig messages
131 1.55 pk
132 1.55 pk ## `INSECURE' turns off the kernel security level (securelevel = 0 always).
133 1.55 pk ## This allows writing to /dev/mem, loading kernel modules while multi-user,
134 1.55 pk ## and other insecurities good only for development work. Do not use this
135 1.55 pk ## option on a production machine.
136 1.55 pk #options INSECURE
137 1.55 pk
138 1.55 pk ## Allow non-root users to grab /dev/console with programs such as xconsole.
139 1.55 pk ## `xconsole' therefore does not need setuid root with this option enabled.
140 1.55 pk #options UCONSOLE
141 1.55 pk
142 1.55 pk ## `FDSCRIPTS' allows non-readable but executable scripts by providing a
143 1.55 pk ## pre-opened opaque file to the script interpreter. `SETUIDSCRIPTS',
144 1.55 pk ## which implies FDSCRIPTS, allows scripts to be set-user-id using the same
145 1.55 pk ## opaque file mechanism. Perl calls this "secure setuid scripts."
146 1.55 pk
147 1.55 pk #options FDSCRIPTS
148 1.55 pk #options SETUIDSCRIPTS
149 1.55 pk
150 1.55 pk ## Options for compatibility with previous releases foreign system binaries.
151 1.55 pk ## In the cases of COMPAT_SUNOS and COMPAT_SVR4, you may need to set up
152 1.55 pk ## additional user-level utilities or system configuration files. See
153 1.55 pk ## compat_sunos(8) and compat_svr4(8).
154 1.55 pk
155 1.43 lukem options COMPAT_43 # 4.3BSD system interfaces
156 1.43 lukem options COMPAT_10 # NetBSD 1.0 binary compatibility
157 1.43 lukem options COMPAT_11 # NetBSD 1.1 binary compatibility
158 1.43 lukem options COMPAT_12 # NetBSD 1.2 binary compatibility
159 1.54 mjacob options COMPAT_13 # NetBSD 1.3 binary compatibility
160 1.89 augustss options COMPAT_14 # NetBSD 1.4 binary compatibility
161 1.43 lukem options COMPAT_SUNOS # SunOS 4.x binary compatibility
162 1.43 lukem options COMPAT_SVR4 # SunOS 5.x binary compatibility
163 1.1 deraadt
164 1.55 pk ## File systems. You probably need at least one of FFS or NFS.
165 1.43 lukem file-system FFS # Berkeley Fast Filesystem
166 1.43 lukem file-system NFS # Sun NFS-compatible filesystem client
167 1.43 lukem file-system KERNFS # kernel data-structure filesystem
168 1.43 lukem file-system NULLFS # NULL layered filesystem
169 1.95 wrstuden file-system OVERLAY # overlay file system
170 1.43 lukem file-system MFS # memory-based filesystem
171 1.43 lukem file-system FDESC # user file descriptor filesystem
172 1.43 lukem file-system UMAPFS # uid/gid remapping filesystem
173 1.43 lukem file-system LFS # Log-based filesystem (still experimental)
174 1.43 lukem file-system PORTAL # portal filesystem (still experimental)
175 1.43 lukem file-system PROCFS # /proc
176 1.43 lukem file-system CD9660 # ISO 9660 + Rock Ridge file system
177 1.43 lukem file-system UNION # union file system
178 1.43 lukem file-system MSDOSFS # MS-DOS FAT filesystem(s).
179 1.91 phil file-system CODA # Coda File System; also needs vcoda (below)
180 1.43 lukem
181 1.55 pk ## File system options.
182 1.43 lukem options NFSSERVER # Sun NFS-compatible filesystem server
183 1.43 lukem options QUOTA # FFS quotas
184 1.63 pk #options FFS_EI # FFS Endian Independent support
185 1.125 lukem options SOFTDEP # FFS soft updates support.
186 1.94 itojun
187 1.55 pk ## Network protocol support. In most environments, INET is required.
188 1.57 pk options INET # IP (Internet Protocol) v4
189 1.94 itojun options INET6 # IPV6
190 1.94 itojun #options IPSEC # IP security
191 1.94 itojun #options IPSEC_ESP # IP security (encryption part; define w/IPSEC)
192 1.94 itojun #options IPSEC_DEBUG # debug for IP security
193 1.57 pk #options GATEWAY # packet forwarding ("router switch")
194 1.57 pk #options MROUTING # packet forwarding of multicast packets
195 1.57 pk #options DIRECTED_BROADCAST # allow broadcasts through routers
196 1.57 pk options NS # Xerox NS networking
197 1.57 pk #options NSIP # Xerox NS tunneling over IP
198 1.57 pk options ISO,TPIP # OSI networking
199 1.112 sommerfe #options EON # OSI tunneling over IP
200 1.57 pk #options CCITT,LLC,HDLC # X.25 packet switched protocol
201 1.75 pk #options NETATALK # AppleTalk (over Ethernet) protocol
202 1.67 pk options NTP # Network Time Protocol in-kernel support
203 1.57 pk #options PPS_SYNC # Add serial line synchronization for NTP
204 1.86 christos options PFIL_HOOKS # Add pfil(9) hooks, intended for custom LKMs.
205 1.86 christos options IPFILTER_LOG # Add ipmon(8) logging for ipfilter device
206 1.86 christos options PPP_BSDCOMP # Add BSD compression to ppp device
207 1.86 christos options PPP_DEFLATE # Add deflate (libz) compression to ppp device
208 1.86 christos options PPP_FILTER # Add active filters for ppp (via bpf)
209 1.1 deraadt
210 1.1 deraadt
211 1.55 pk
212 1.57 pk #### Main bus and CPU .. all systems.
213 1.1 deraadt mainbus0 at root
214 1.1 deraadt cpu0 at mainbus0
215 1.1 deraadt
216 1.55 pk #### Bus types found on SPARC systems.
217 1.55 pk
218 1.24 thorpej sbus0 at mainbus0 # sun4c
219 1.24 thorpej obio0 at mainbus0 # sun4 and sun4m
220 1.87 christos sparcvme0 at mainbus0 # sun4
221 1.22 pk iommu0 at mainbus0 # sun4m
222 1.22 pk sbus0 at iommu0 # sun4m
223 1.87 christos sparcvme0 at iommu0 # sun4m
224 1.88 drochner vme0 at sparcvme0 # mi VME attachment
225 1.64 pk
226 1.64 pk ## SBus expander box
227 1.64 pk xbox* at sbus? slot ? offset ?
228 1.64 pk sbus* at xbox?
229 1.72 pk
230 1.72 pk ## SBus to PCMCIA bridge
231 1.80 abs # Currently enabling nell* with audioamd* causes panic at attach
232 1.80 abs #nell* at sbus? slot ? offset ? # PCMCIA bridge
233 1.80 abs #pcmcia* at nell?
234 1.1 deraadt
235 1.55 pk #### Standard system devices -- all required for a given architecture
236 1.24 thorpej
237 1.55 pk ## Auxiliary system registers on sun4c and sun4m
238 1.24 thorpej auxreg0 at mainbus0 # sun4c
239 1.22 pk auxreg0 at obio0 # sun4m
240 1.106 matt auxiotwo0 at obio0 # only on Tadpole SPARCbook.
241 1.27 abrown
242 1.55 pk ## Power status and control register on Sun4m systems
243 1.27 abrown power0 at obio0
244 1.24 thorpej
245 1.55 pk ## Mostek clock found on 4/300, sun4c, and sun4m systems.
246 1.55 pk ## The Mostek clock NVRAM is the "eeprom" on sun4/300 systems.
247 1.24 thorpej clock0 at mainbus0 # sun4c
248 1.22 pk clock0 at obio0 # sun4m
249 1.24 thorpej clock0 at obio0 addr 0xf2000000 # sun4/300
250 1.24 thorpej
251 1.55 pk ## Intersil clock found on 4/100 and 4/200 systems.
252 1.24 thorpej oclock0 at obio0 addr 0xf3000000 # sun4/200
253 1.24 thorpej oclock0 at obio0 addr 0x03000000 # sun4/100
254 1.24 thorpej
255 1.55 pk ## Memory error registers.
256 1.24 thorpej memreg0 at mainbus0 # sun4c
257 1.22 pk memreg0 at obio0 # sun4m
258 1.24 thorpej memreg0 at obio0 addr 0xf4000000 # sun4/200 and sun4/300
259 1.24 thorpej memreg0 at obio0 addr 0x04000000 # sun4/100
260 1.74 pk
261 1.74 pk ## ECC memory control
262 1.74 pk eccmemctl0 at mainbus0 # sun4m
263 1.24 thorpej
264 1.55 pk ## Timer chip found on 4/300, sun4c, and sun4m systems.
265 1.24 thorpej timer0 at mainbus0 # sun4c
266 1.22 pk timer0 at obio0 # sun4m
267 1.24 thorpej timer0 at obio0 addr 0xef000000 # sun4/300
268 1.24 thorpej
269 1.55 pk ## EEPROM found on 4/100 and 4/200 systems. Note that the 4/300
270 1.55 pk ## doesn't use this driver; the `EEPROM' is in the NVRAM on the
271 1.55 pk ## Mostek clock chip on 4/300 systems.
272 1.24 thorpej eeprom0 at obio0 addr 0xf2000000 # sun4/200
273 1.24 thorpej eeprom0 at obio0 addr 0x02000000 # sun4/100
274 1.24 thorpej
275 1.55 pk
276 1.55 pk #### Serial port configuration
277 1.55 pk
278 1.55 pk ## Zilog 8530 serial chips. Each has two-channels.
279 1.55 pk ## zs0 is ttya and ttyb. zs1 is the keyboard and mouse.
280 1.24 thorpej zs0 at mainbus0 # sun4c
281 1.24 thorpej zs0 at obio0 # sun4m
282 1.100 pk zs0 at obio0 addr 0xf1000000 level 12 # sun4/200 and sun4/300
283 1.100 pk zs0 at obio0 addr 0x01000000 level 12 # sun4/100
284 1.100 pk zstty0 at zs0 channel 0 # ttya
285 1.100 pk zstty1 at zs0 channel 1 # ttyb
286 1.50 gwr
287 1.24 thorpej zs1 at mainbus0 # sun4c
288 1.24 thorpej zs1 at obio0 # sun4m
289 1.100 pk zs1 at obio0 addr 0xf0000000 level 12 # sun4/200 and sun4/300
290 1.100 pk zs1 at obio0 addr 0x00000000 level 12 # sun4/100
291 1.100 pk kbd0 at zs1 channel 0 # keyboard
292 1.100 pk ms0 at zs1 channel 1 # mouse
293 1.100 pk
294 1.100 pk zs2 at obio0 addr 0xe0000000 level 12 # sun4/300
295 1.100 pk zstty2 at zs2 channel 0 # ttyc
296 1.100 pk zstty3 at zs2 channel 1 # ttyd
297 1.113 matt
298 1.125 lukem ## NS16x50 serial chips and clones. Present on the
299 1.113 matt ## Sun JavaStation-1 and Tadpole SPARCbook 3
300 1.113 matt com* at obio0 # sun4m
301 1.66 pk
302 1.97 cjs # Parallel port.
303 1.97 cjs bpp* at sbus? slot? offset ?
304 1.66 pk
305 1.66 pk ## Magma Serial/Parallel driver
306 1.66 pk magma* at sbus? slot ? offset ?
307 1.66 pk mtty* at magma?
308 1.66 pk mbpp* at magma?
309 1.66 pk
310 1.75 pk ## PCMCIA serial interfaces
311 1.80 abs #com* at pcmcia?
312 1.80 abs #pcmcom* at pcmcia?
313 1.80 abs #com* at pcmcom?
314 1.24 thorpej
315 1.55 pk #### Disk controllers and disks
316 1.55 pk
317 1.26 pk #
318 1.26 pk
319 1.55 pk ## The following flags may be set for the NCR53c94 based esp driver:
320 1.55 pk ## bits 0-7: disable disconnect/reselect for the corresponding target
321 1.55 pk ## bits 8-15: disable synchronous negotiation for target [bit-8]
322 1.55 pk
323 1.55 pk ## sun4/300, sun4c, sun4m on-board SCSI, and FSBE/S SBus SCSI cards.
324 1.55 pk ## Both `dma' and `esp' are needed in all cases.
325 1.55 pk ## Two kinds of additional SBus SCSI interfaces are available. One uses
326 1.55 pk ## "esp at sbus" like the sun4c on-board; the other uses "esp at dma".
327 1.55 pk
328 1.55 pk ## sun4/300 SCSI - an NCR53c94 or equivalent behind
329 1.55 pk ## an LSI Logic DMA controller
330 1.55 pk
331 1.24 thorpej dma0 at obio0 addr 0xfa001000 level 4 # sun4/300
332 1.55 pk esp0 at obio0 addr 0xfa000000 level 4 flags 0x0000 # sun4/300
333 1.1 deraadt
334 1.55 pk dma0 at sbus0 slot ? offset ? # sun4c/sun4m
335 1.51 pk esp0 at sbus0 slot ? offset ? flags 0x0000 # sun4c
336 1.51 pk esp0 at dma0 flags 0x0000 # sun4m
337 1.24 thorpej
338 1.55 pk # FSBE/S SCSI
339 1.55 pk dma* at sbus? slot ? offset ? # SBus
340 1.55 pk esp* at sbus? slot ? offset ? flags 0x0000 # SBus (older proms)
341 1.55 pk esp* at dma? flags 0x0000 # SBus
342 1.24 thorpej
343 1.55 pk scsibus* at esp?
344 1.55 pk
345 1.55 pk ## Qlogic ISP SBus SCSI Card
346 1.42 cgd isp* at sbus? slot ? offset ?
347 1.55 pk scsibus* at isp?
348 1.42 cgd
349 1.55 pk ## NCR5380-based "Sun SCSI 3" VME SCSI controller.
350 1.55 pk ## This driver has several flags which may be enabled by OR'ing
351 1.55 pk ## the values and using the "flags" directive.
352 1.55 pk ## Valid flags are:
353 1.55 pk ##
354 1.55 pk ## 0x01 Use DMA (may be polled)
355 1.55 pk ## 0x02 Use DMA completion interrupts
356 1.55 pk ## 0x04 Allow disconnect/reselect
357 1.55 pk ##
358 1.55 pk ## E.g. the following would enable DMA, interrupts, and reselect:
359 1.88 drochner ## si0 at vme0 addr 0x200000 irq 3 vect 0x40 flags 0x07
360 1.55 pk ##
361 1.55 pk ## By default, DMA is enabled in the driver.
362 1.25 pk
363 1.88 drochner si0 at vme0 addr 0x200000 irq 2 vect 0x40
364 1.55 pk scsibus* at si?
365 1.24 thorpej
366 1.55 pk ## NCR5380-based "SCSI Weird" on-board SCSI interface found
367 1.55 pk ## on sun4/100 systems. The flags are the same as the "si"
368 1.55 pk ## controller. Note, while DMA is enabled by default, only
369 1.55 pk ## polled DMA works at this time, and reselects do not work
370 1.55 pk ## on this particular controller.
371 1.1 deraadt
372 1.55 pk sw0 at obio0 addr 0x0a000000 level 3
373 1.55 pk scsibus* at sw?
374 1.24 thorpej
375 1.75 pk ## PCMCIA SCSI controllers
376 1.80 abs #aic* at pcmcia?
377 1.80 abs #scsibus* at aic?
378 1.75 pk
379 1.75 pk
380 1.55 pk ## These entries find devices on all SCSI busses and assign
381 1.55 pk ## unit numbers dynamically.
382 1.55 pk sd* at scsibus? target ? lun ? # SCSI disks
383 1.55 pk st* at scsibus? target ? lun ? # SCSI tapes
384 1.55 pk cd* at scsibus? target ? lun ? # SCSI CD-ROMs
385 1.55 pk ch* at scsibus? target ? lun ? # SCSI changer devices
386 1.55 pk ss* at scsibus? target ? lun ? # SCSI scanners
387 1.118 mjacob ses* at scsibus? target ? lun ? # SCSI SES/SAF-TE
388 1.55 pk uk* at scsibus? target ? lun ? # unknown SCSI
389 1.23 pk
390 1.9 pk
391 1.55 pk ## Xylogics 753 or 7053 VME SMD disk controllers and disks, found
392 1.55 pk ## on sun4 systems.
393 1.88 drochner xdc0 at vme0 addr 0xee80 irq 3 vect 0x44
394 1.88 drochner xdc1 at vme0 addr 0xee90 irq 3 vect 0x45
395 1.88 drochner xdc2 at vme0 addr 0xeea0 irq 3 vect 0x46
396 1.88 drochner xdc3 at vme0 addr 0xeeb0 irq 3 vect 0x47
397 1.9 pk xd* at xdc? drive ?
398 1.16 chuck
399 1.55 pk ## Xylogics 451 or 451 VME SMD disk controllers and disks, found
400 1.55 pk ## on sun4 systems.
401 1.88 drochner xyc0 at vme0 addr 0xee40 irq 3 vect 0x48
402 1.88 drochner xyc1 at vme0 addr 0xee48 irq 3 vect 0x49
403 1.16 chuck xy* at xyc? drive ?
404 1.10 pk
405 1.24 thorpej
406 1.55 pk ## Floppy controller and drive found on SPARCstations.
407 1.55 pk
408 1.55 pk fdc0 at mainbus0 # sun4c controller
409 1.55 pk fdc0 at obio0 # sun4m controller
410 1.55 pk fd* at fdc0 # the drive itself
411 1.55 pk
412 1.75 pk ## PCMCIA IDE controllers
413 1.80 abs #wdc* at pcmcia?
414 1.80 abs #wd* at wdc?
415 1.75 pk
416 1.55 pk ## A disk-like interface to files. Can be used to create floppy, CD,
417 1.55 pk ## miniroot images, etc.
418 1.55 pk
419 1.55 pk pseudo-device vnd 4
420 1.55 pk
421 1.55 pk ## Concatenated and striped disks; with this, you can create a software-based
422 1.55 pk ## disk array similar to a "RAID 0" setup. See ccd(4).
423 1.55 pk
424 1.55 pk pseudo-device ccd 4
425 1.71 oster
426 1.71 oster ## RAIDframe disk driver: software RAID driver. See raid(4).
427 1.71 oster
428 1.129 oster pseudo-device raid 8
429 1.129 oster options RAID_AUTOCONFIG # auto-configuration of RAID components
430 1.129 oster # Options to enable various other RAIDframe RAID types.
431 1.129 oster # options RF_INCLUDE_EVENODD=1
432 1.129 oster # options RF_INCLUDE_RAID5_RS=1
433 1.129 oster # options RF_INCLUDE_PARITYLOGGING=1
434 1.129 oster # options RF_INCLUDE_CHAINDECLUSTER=1
435 1.129 oster # options RF_INCLUDE_INTERDECLUSTER=1
436 1.129 oster # options RF_INCLUDE_PARITY_DECLUSTERING=1
437 1.129 oster # options RF_INCLUDE_PARITY_DECLUSTERING_DS=1
438 1.129 oster
439 1.55 pk
440 1.55 pk ## Memory disk device, used on boot floppies with compressed
441 1.55 pk ## kernel-plus-root-disk images.
442 1.55 pk
443 1.55 pk #pseudo-device md 1
444 1.55 pk
445 1.55 pk
446 1.55 pk #### Network interfaces
447 1.55 pk
448 1.55 pk ## LANCE Ethernet - an AMD 7990 LANCE behind specialized DMA glue
449 1.55 pk ## Three flavors of additional SBus ethernets are available. One attaches
450 1.55 pk ## directly like the sun4c on-board, one uses the ledma device like the
451 1.55 pk ## sun4m on-board, and one uses the lebuffer device.
452 1.55 pk
453 1.56 pk le0 at obio0 addr 0xf9000000 level 6 # sun4/300
454 1.56 pk le0 at sbus0 slot ? offset ? # sun4c on-board
455 1.56 pk ledma0 at sbus0 slot ? offset ? # sun4m on-board
456 1.56 pk le0 at ledma0 # sun4m on-board
457 1.56 pk le* at sbus? slot ? offset ? # SBus
458 1.56 pk ledma* at sbus? slot ? offset ? # SBus
459 1.56 pk le* at ledma? # SBus
460 1.56 pk lebuffer0 at sbus? slot ? offset ? # SBus
461 1.56 pk le0 at lebuffer? # SBus
462 1.55 pk lebuffer* at sbus? slot ? offset ? # SBus
463 1.56 pk le* at lebuffer? # SBus
464 1.55 pk
465 1.55 pk
466 1.55 pk ## sun4/100 and sun4/200 Ethernet - an Intel 82586 on-board
467 1.55 pk ## or on a Multibus/VME card.
468 1.55 pk ie0 at obio0 addr 0xf6000000 level 6 # sun4/200 on-board
469 1.55 pk ie0 at obio0 addr 0x06000000 level 6 # sun4/100 on-board
470 1.108 pk ## VME: the first [addr,len] pair specifies the device registers;
471 1.108 pk ## the second pair specifies the on-board memory buffer
472 1.108 pk ie1 at vme0 addr 0xe88000,0xe00000 len -1,0x40000 irq 3 vect 0x75
473 1.108 pk ie2 at vme0 addr 0x31ff02,0x300000 len -1,0x40000 irq 3 vect 0x76
474 1.108 pk ie3 at vme0 addr 0x35ff02,0x300000 len -1,0x40000 irq 3 vect 0x77
475 1.108 pk ie4 at vme0 addr 0x2dff02,0x200000 len -1,0x40000 irq 3 vect 0x7c
476 1.55 pk
477 1.90 hubertf ## Quad Ethernet Controller with BigMac (be, 10/100MBd) and Mace Ethernet
478 1.90 hubertf ## (qe, 10MBd) attached.
479 1.90 hubertf qec* at sbus? slot ? offset ? # Quad Ethernet Controller
480 1.90 hubertf be* at qec? # BigMac Ethernet (10/100MBd)
481 1.90 hubertf qe* at qec? # Mace Ethernet (10MBd)
482 1.85 pk
483 1.98 pk ## Happy Meal Ethernet
484 1.98 pk hme* at sbus? slot ? offset ?
485 1.70 pk
486 1.70 pk # midway ATM
487 1.70 pk en0 at sbus? slot ? offset ?
488 1.75 pk
489 1.75 pk # PCMCIA ethernet devices
490 1.80 abs #ep* at pcmcia?
491 1.80 abs #mbe* at pcmcia?
492 1.80 abs #ne* at pcmcia?
493 1.80 abs #sm* at pcmcia?
494 1.75 pk
495 1.75 pk # MII/PHY support
496 1.81 pk exphy* at mii? phy ? # 3Com internal PHYs
497 1.131 wiz icsphy* at mii? phy ? # Integrated Circuit Systems ICS189x
498 1.81 pk inphy* at mii? phy ? # Intel 82555 PHYs
499 1.81 pk lxtphy* at mii? phy ? # Level One LXT-970 PHYs
500 1.81 pk nsphy* at mii? phy ? # NS83840 PHYs
501 1.81 pk qsphy* at mii? phy ? # Quality Semiconductor QS6612 PHYs
502 1.81 pk sqphy* at mii? phy ? # Seeq 80220/80221/80223 PHYs
503 1.81 pk tlphy* at mii? phy ? # ThunderLAN PHYs
504 1.81 pk ukphy* at mii? phy ? # generic unknown PHYs
505 1.70 pk
506 1.55 pk ## Loopback network interface; required
507 1.55 pk pseudo-device loop
508 1.55 pk
509 1.55 pk ## SLIP and CSLIP interfaces, for IP over a serial line.
510 1.55 pk pseudo-device sl 2
511 1.55 pk
512 1.55 pk ## PPP, the successor to SLIP. See pppd(8).
513 1.55 pk pseudo-device ppp 2
514 1.128 martin
515 1.128 martin ## PPP over Ethernet (RFC 2516)
516 1.128 martin pseudo-device pppoe
517 1.55 pk
518 1.55 pk ## Starmode Radio IP, a special hardware network device.
519 1.55 pk #pseudo-device strip 1
520 1.55 pk
521 1.55 pk ## Network "tunnel" device, allowing protocol stacks to run in the userland.
522 1.55 pk ## This is used by the third-party user-mode "ppp" program, and others.
523 1.55 pk pseudo-device tun 4
524 1.73 hwr
525 1.73 hwr ## Generic L3 over IP tunnel
526 1.73 hwr #pseudo-device gre 2 # generic L3 over IP tunnel
527 1.55 pk
528 1.55 pk ## Berkeley Packet Filter, required to run RARPD. A generic C-language
529 1.55 pk ## interface that allows selective examining of incoming packets.
530 1.55 pk pseudo-device bpfilter 8
531 1.55 pk
532 1.55 pk ## IP Filter, used in firewall and NAT applications. See ipnat(8) for
533 1.55 pk ## one example of the use of the IP Filter.
534 1.55 pk pseudo-device ipfilter
535 1.55 pk
536 1.94 itojun ## for IPv6
537 1.94 itojun pseudo-device gif 4 # IPv[46] over IPv[46] tunnel (RFC1933)
538 1.94 itojun #pseudo-device faith 1 # IPv[46] tcp relay translation i/f
539 1.104 itojun #pseudo-device stf 1 # 6to4 IPv6 over IPv4 encapsulation
540 1.120 hubertf
541 1.120 hubertf ## IEEE 802.1Q Virtual LAN encapsulation, see vlan(4).
542 1.120 hubertf pseudo-device vlan
543 1.122 atatat
544 1.122 atatat ## Simple inter-network traffic bridging
545 1.126 atatat pseudo-device bridge
546 1.55 pk
547 1.55 pk #### Audio and video devices
548 1.55 pk
549 1.55 pk ## /dev/audio support (`audioamd' plus `audio')
550 1.55 pk ##
551 1.55 pk audioamd0 at mainbus0 # sun4c
552 1.63 pk #audioamd0 at obio0 # sun4m
553 1.55 pk audioamd0 at sbus0 slot ? offset ? # sun4m
554 1.55 pk audio* at audioamd0
555 1.70 pk
556 1.70 pk audiocs0 at sbus0 slot ? offset ? # SUNW,CS4231
557 1.70 pk audio* at audiocs0
558 1.55 pk
559 1.55 pk
560 1.55 pk ## Sun "bwtwo" black and white framebuffer, found on sun4, sun4c, and sun4m
561 1.55 pk ## systems. If your sun4 system has a cgfour installed in the P4 slot,
562 1.55 pk ## the P4 entries for "bwtwo" will attach to the overlay plane of the
563 1.55 pk ## "cgfour".
564 1.1 deraadt
565 1.55 pk bwtwo0 at sbus0 slot ? offset ? # sun4c and sun4m
566 1.55 pk bwtwo* at sbus? slot ? offset ? #
567 1.55 pk bwtwo0 at obio0 addr 0xfd000000 level 4 # sun4/200
568 1.55 pk bwtwo0 at obio0 addr 0xfb300000 level 4 # sun4/300 in P4 slot
569 1.55 pk bwtwo0 at obio0 addr 0x0b300000 level 4 # sun4/100 in P4 slot
570 1.21 thorpej
571 1.55 pk ## Sun "cgtwo" VME color framebuffer
572 1.88 drochner cgtwo0 at vme0 addr 0x400000 irq ? vect 0xa8
573 1.21 thorpej
574 1.55 pk ## Sun "cgthree" Sbus color framebuffer
575 1.55 pk cgthree0 at sbus? slot ? offset ?
576 1.55 pk cgthree* at sbus? slot ? offset ?
577 1.55 pk #cgthree0 at obio? slot ? offset ? # sun4m
578 1.55 pk
579 1.55 pk ## Sun "cgfour" color framebuffer with overlay plane. See above comment
580 1.55 pk ## regarding overlay plane.
581 1.55 pk cgfour0 at obio0 addr 0xfb300000 level 4 # sun4/300 P4
582 1.55 pk cgfour0 at obio0 addr 0x0b300000 level 4 # sun4/100 P4
583 1.55 pk
584 1.55 pk ## Sun "cgsix" accelerated color framebuffer.
585 1.55 pk cgsix0 at sbus? slot ? offset ?
586 1.55 pk cgsix* at sbus? slot ? offset ?
587 1.55 pk cgsix0 at obio0 addr 0xfb000000 level 4 # sun4/300 P4
588 1.55 pk cgsix0 at obio0 addr 0x0b000000 level 4 # sun4/100 P4
589 1.55 pk
590 1.55 pk ## Sun "cgeight" 24-bit framebuffer
591 1.55 pk cgeight0 at obio0 addr 0xfb300000 level 4 # sun4/300 P4
592 1.55 pk cgeight0 at obio0 addr 0x0b300000 level 4 # sun4/100 P4
593 1.55 pk
594 1.55 pk ## Sun "tcx" accelerated color framebuffer.
595 1.55 pk tcx0 at sbus? slot ? offset ?
596 1.55 pk tcx* at sbus? slot ? offset ?
597 1.33 abrown
598 1.33 abrown # Sun "cgfourteen" accelerated 24-bit framebuffer.
599 1.33 abrown cgfourteen0 at obio0 # sun4m
600 1.1 deraadt
601 1.106 matt # P9100-based display on Tadpole SPARCbook 3.
602 1.106 matt pnozz0 at sbus? slot ? offset ?
603 1.1 deraadt
604 1.55 pk #### Other device configuration
605 1.106 matt
606 1.106 matt # Tadpole microcontroller
607 1.106 matt tctrl0 at obio0
608 1.24 thorpej
609 1.55 pk ## Pseudo ttys, required for network logins and programs like screen.
610 1.24 thorpej
611 1.117 jdolecek pseudo-device pty # pseudo-terminals
612 1.55 pk
613 1.55 pk ## Random device, used to implement /dev/random (a source of random noise),
614 1.55 pk ## and generate randomness for some kernel formulae.
615 1.55 pk
616 1.84 mrg pseudo-device rnd
617 1.91 phil
618 1.91 phil # a pseudo device needed for Coda # also needs CODA (above)
619 1.91 phil pseudo-device vcoda 4 # coda minicache <-> venus comm.
620