GENERIC revision 1.236
1# $NetBSD: GENERIC,v 1.236 2013/02/07 16:19:15 macallan Exp $
2#
3# GENERIC machine description file
4# 
5# This machine description file is used to generate the default NetBSD
6# kernel.  The generic kernel does not include all options, subsystems
7# and device drivers, but should be useful for most applications.
8#
9# The machine description file can be customised for your specific
10# machine to reduce the kernel size and improve its performance.
11#
12# For further information on compiling NetBSD kernels, see the config(8)
13# man page.
14#
15# For further information on hardware support for this architecture, see
16# the intro(4) man page.  For further information about kernel options
17# for this architecture, see the options(4) man page.  For an explanation
18# of each device driver in this file see the section 4 man page for the
19# device.
20
21include 	"arch/sparc/conf/std.sparc"
22
23options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
24
25#ident 		"GENERIC-$Revision: 1.236 $"
26
27maxusers	32
28
29## System kernel configuration.  See options(4) for more detail.
30
31
32# Options for variants of the Sun SPARC architecure.
33# We currently support three architecture types; at least one is required.
34options 	SUN4		# sun4/100, sun4/200, sun4/300
35options 	SUN4C		# sun4c - SS1, 1+, 2, ELC, SLC, IPC, IPX, etc.
36options 	SUN4M		# sun4m - SS10, SS20, Classic, etc.
37options 	SUN4D		# sun4d - SS1000, SC2000
38
39options 	SUN4_MMU3L	# sun4/400 3-level MMU
40
41## System options specific to the sparc machine type
42
43# Blink the power LED on some machines to indicate the system load.
44#options 	BLINK
45
46## Use a faster console than the PROM's slow drawing routines.  Not needed
47## for headless (no framebuffer) machines.
48## These is obsolete for wscons kernels
49#options 	RASTERCONSOLE		# fast rasterop console
50#options 	RASTERCONSOLE_FGCOL=WSCOL_BLACK
51#options 	RASTERCONSOLE_BGCOL=WSCOL_WHITE
52
53# wscons stuff
54#options 	WSEMUL_SUN
55options 	WSEMUL_VT100
56options 	WSDISPLAY_COMPAT_RAWKBD
57options 	WSDISPLAY_CUSTOM_OUTPUT
58options 	WS_DEFAULT_FG=WSCOL_BLACK
59options 	WS_DEFAULT_BG=WSCOL_LIGHT_WHITE
60options 	WS_KERNEL_FG=WSCOL_GREEN
61options 	WS_KERNEL_BG=WSCOL_LIGHT_WHITE
62options 	WSDISPLAY_COMPAT_PCVT
63options 	WSDISPLAY_COMPAT_SYSCONS
64options 	WSDISPLAY_COMPAT_USL		# wsconscfg VT handling
65
66options 	WSDISPLAY_SCROLLSUPPORT
67
68# generic options vlid for both wscons and RASTERCONSOLE
69options 	FONT_GALLANT12x22	# the console font
70options 	FONT_BOLD8x16		# a somewhat smaller font
71
72#### System options that are the same for all ports
73
74## Root device configuration: change the ?'s if you are going to use a
75## nonstandard root partition (other than where the kernel is booted from)
76## and/or nonstandard root type (not ffs or nfs).  Normally this can be
77## automagically determined at boot time.
78
79config		netbsd	root on ? type ?
80
81## System call tracing (see ktrace(1)).
82options 	KTRACE
83
84## Collect statistics on kernel malloc's and free's.  This does have a
85## significant performance hit on slower machines, so it is intended for
86## diagnostic use only.
87#options 	KMEMSTATS
88
89## System V compatible IPC subsystem.  (msgctl(2), semctl(2), and shmctl(2))
90options 	SYSVMSG		# System V message queues
91options 	SYSVSEM		# System V semaphores
92options 	SYSVSHM		# System V shared memory
93
94options 	MODULAR		# new style module(7) framework
95
96options 	USERCONF	# userconf(4) support
97#options 	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
98options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
99
100# Enable experimental buffer queue strategy for better responsiveness under 
101# high disk I/O load. Use it with caution - it's not proven to be stable yet.
102#options 	BUFQ_READPRIO
103#options 	BUFQ_PRIOCSCAN
104
105## NFS boot options; tries DHCP/BOOTP then BOOTPARAM
106options 	NFS_BOOT_BOOTPARAM
107#options 	NFS_BOOT_BOOTP
108options 	NFS_BOOT_DHCP
109
110#### Debugging options
111
112## The DDB in-kernel debugger runs at panic (unless DDB_ONPANIC=0), or at
113## serial console break or keyboard reset, where the PROM would normally
114## intercept.  DDB_HISTORY_SIZE adds up/down arrow command history.
115options 	DDB			# kernel dynamic debugger
116options 	DDB_HISTORY_SIZE=100	# enable history editing in DDB
117#options 	DDB_ONPANIC=1		# see also sysctl(8): `ddb.onpanic'
118
119## You may also use gdb, on another computer connected to this machine over
120## a serial port.  Both KGDB_DEV and KGDB_DEVRATE should be specified;
121## KGDB_DEV is a dev_t encoded device number of the serial port to use, where
122## the minor device number encodes the PROM enumeration of the serial ports,
123## i.e.:
124## 0xc00 = ttya, 0xc01 = ttyb, 0xc02 = ttyc, 0xc03 = ttyd.
125## (Note: ttyc and ttyd are available only on some sun4 models)
126#options 	KGDB			# support for kernel gdb
127#options 	KGDB_DEV=0xc01		# kgdb device number (this is `ttyb')
128#options 	KGDB_DEVRATE=38400	# baud rate
129
130
131## Compile the kernel with debugging symbols (`netbsd.gdb' is the debug file),
132## such that gdb(1) can be used on a kernel coredump.
133
134#makeoptions	DEBUG="-g"
135
136
137## Adds code to the kernel that does internal consistency checks, and will
138## cause the kernel to panic if corruption of internal data structures
139## is detected.
140#options 	DIAGNOSTIC	# extra kernel sanity checking
141
142## Enable (possibly expensive) debugging code that may also display messages
143## on the system console
144#options 	DEBUG
145#options 	LOCKDEBUG
146#options 	SYSCALL_DEBUG
147
148## Make SCSI error messages more verbose when explaining their meanings.
149options 	SCSIVERBOSE
150
151options 	MIIVERBOSE	# verbose PHY autoconfig messages
152
153## `INSECURE' turns off the kernel security level (securelevel = 0 always).
154## This allows writing to /dev/mem, loading kernel modules while multi-user,
155## and other insecurities good only for development work.  Do not use this
156## option on a production machine.
157#options 	INSECURE
158
159## `FDSCRIPTS' allows non-readable but executable scripts by providing a
160## pre-opened opaque file to the script interpreter.  `SETUIDSCRIPTS',
161## which implies FDSCRIPTS, allows scripts to be set-user-id using the same
162## opaque file mechanism.  Perl calls this "secure setuid scripts."
163
164#options 	FDSCRIPTS
165#options 	SETUIDSCRIPTS
166
167## Options for compatibility with previous releases foreign system binaries.
168## In the cases of COMPAT_SUNOS and COMPAT_SVR4, you may need to set up
169## additional user-level utilities or system configuration files. See
170## compat_sunos(8) and compat_svr4(8).
171
172options 	COMPAT_43	# 4.3BSD system interfaces
173options 	COMPAT_10	# NetBSD 1.0 binary compatibility
174options 	COMPAT_11	# NetBSD 1.1 binary compatibility
175options 	COMPAT_12	# NetBSD 1.2 binary compatibility
176options 	COMPAT_13	# NetBSD 1.3 binary compatibility
177options 	COMPAT_14	# NetBSD 1.4 binary compatibility
178options 	COMPAT_15	# NetBSD 1.5 binary compatibility
179options 	COMPAT_16	# NetBSD 1.6 binary compatibility
180options 	COMPAT_20	# NetBSD 2.0 binary compatibility
181options 	COMPAT_30	# NetBSD 3.0 binary compatibility
182options 	COMPAT_40	# NetBSD 4.0 binary compatibility
183options 	COMPAT_50	# NetBSD 5.0 binary compatibility
184options 	COMPAT_60	# NetBSD 6.0 compatibility.
185options 	COMPAT_SUNOS	# SunOS 4.x binary compatibility
186options 	COMPAT_SVR4	# SunOS 5.x binary compatibility
187options 	COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
188
189## File systems.  You probably need at least one of FFS or NFS.
190file-system	FFS		# Berkeley Fast Filesystem
191file-system	NFS		# Sun NFS-compatible filesystem client
192file-system	KERNFS		# kernel data-structure filesystem
193file-system	NULLFS		# NULL layered filesystem
194file-system 	OVERLAY		# overlay file system
195file-system	MFS		# memory-based filesystem
196file-system	FDESC		# user file descriptor filesystem
197file-system	UMAPFS		# uid/gid remapping filesystem
198file-system	LFS		# Log-based filesystem (still experimental)
199file-system	PUFFS		# Userspace file systems (e.g. ntfs-3g & sshfs)
200file-system	PROCFS		# /proc
201file-system	CD9660		# ISO 9660 + Rock Ridge file system
202file-system	UNION		# union file system
203file-system	MSDOSFS		# MS-DOS FAT filesystem(s).
204file-system	CODA		# Coda File System; also needs vcoda (below)
205file-system	PTYFS		# /dev/pts/N support
206file-system	TMPFS		# Efficient memory file-system
207#file-system	UDF		# experimental - OSTA UDF CD/DVD file-system
208
209## File system options.
210options 	NFSSERVER	# Sun NFS-compatible filesystem server
211options 	QUOTA		# FFS quotas
212#options 	FFS_EI		# FFS Endian Independent support
213options 	WAPBL		# File system journaling support
214#options 	UFS_DIRHASH	# UFS Large Directory Hashing - Experimental
215#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
216
217## Network protocol support.  In most environments, INET is required.
218options 	INET		# IP (Internet Protocol) v4
219options 	INET6		# IPV6
220#options 	IPSEC		# IP security
221#options 	IPSEC_ESP	# IP security (encryption part; define w/IPSEC)
222#options 	IPSEC_NAT_T	# IPsec NAT traversal (NAT-T)
223#options 	IPSEC_DEBUG	# debug for IP security
224#options 	GATEWAY		# packet forwarding ("router switch")
225#options 	MROUTING	# packet forwarding of multicast packets
226#options 	PIM		# Protocol Independent Multicast
227#options 	DIRECTED_BROADCAST	# allow broadcasts through routers
228#options 	ISO,TPIP	# OSI networking
229#options 	EON		# OSI tunneling over IP
230#options 	NETATALK	# AppleTalk (over Ethernet) protocol
231options 	NTP		# Network Time Protocol in-kernel support
232#options 	PPS_SYNC	# Add serial line synchronization for NTP
233options 	PFIL_HOOKS	# Add pfil(9) packet filter hooks
234options 	IPFILTER_LOG	# Add ipmon(8) logging for ipfilter device
235options 	IPFILTER_LOOKUP	# ippool(8) support
236options 	IPFILTER_COMPAT # Compat for IP-Filter
237#options 	IPFILTER_DEFAULT_BLOCK	# block all packets by default
238options 	PPP_BSDCOMP	# Add BSD compression to ppp device
239options 	PPP_DEFLATE	# Add deflate (libz) compression to ppp device
240options 	PPP_FILTER	# Add active filters for ppp (via bpf)
241
242#options 	ALTQ		# Manipulate network interfaces' output queues
243#options 	ALTQ_BLUE	# Stochastic Fair Blue
244#options 	ALTQ_CBQ	# Class-Based Queueing
245#options 	ALTQ_CDNR	# Diffserv Traffic Conditioner
246#options 	ALTQ_FIFOQ	# First-In First-Out Queue
247#options 	ALTQ_FLOWVALVE	# RED/flow-valve (red-penalty-box)
248#options 	ALTQ_HFSC	# Hierarchical Fair Service Curve
249#options 	ALTQ_LOCALQ	# Local queueing discipline
250#options 	ALTQ_PRIQ	# Priority Queueing
251#options 	ALTQ_RED	# Random Early Detection
252#options 	ALTQ_RIO	# RED with IN/OUT
253#options 	ALTQ_WFQ	# Weighted Fair Queueing
254
255
256
257#### Main bus and CPU .. all systems.
258mainbus0 at root
259cpu0	at mainbus0
260cpuunit0	at mainbus0			# sun4d
261cpuunit*	at mainbus0			# sun4d
262cpu0	at cpuunit0				# sun4d
263
264#### SX rendering engine found in SS20 and SS10SX
265sx0	at mainbus0
266
267#### Bus types found on SPARC systems.
268
269sbus0	at mainbus0				# sun4c
270obio0	at mainbus0				# sun4 and sun4m
271sparcvme0	at mainbus0			# sun4
272iommu0	at mainbus0				# sun4m
273sbus0	at iommu0				# sun4m
274sparcvme0	at iommu0			# sun4m
275vme0	at sparcvme0				# MI VME attachment
276bootbus0	at cpuunit0			# sun4d
277bootbus*	at cpuunit?			# sun4d
278
279## SBus expander box
280xbox*	at sbus? slot ? offset ?
281sbus*	at xbox?
282
283## SBus to PCMCIA bridge
284nell*	at sbus? slot ? offset ?		# PCMCIA bridge
285pcmcia*	at nell?
286tslot*	at sbus? slot ? offset ?		# PCMCIA bridge (tadpole 3gx)
287pcmcia*	at tslot?
288
289#### Standard system devices -- all required for a given architecture
290
291## Auxiliary system registers on sun4c and sun4m
292auxreg0	at mainbus0				# sun4c
293auxreg0	at obio0				# sun4m
294auxiotwo0 at obio0				# only on Tadpole SPARCbook.
295
296## Power status and control register on Sun4m systems
297power0	at obio0
298
299## Mostek clock found on 4/300, sun4c, sun4m and sun4d systems.
300## The Mostek clock NVRAM is the "eeprom" on sun4/300 systems.
301clock0	at mainbus0				# sun4c
302clock0	at obio0				# sun4m
303clock0	at obio0 addr 0xf2000000		# sun4/300
304clock0	at bootbus0				# sun4d
305
306## Intersil clock found on 4/100 and 4/200 systems.
307oclock0	at obio0 addr 0xf3000000		# sun4/200
308oclock0	at obio0 addr 0x03000000		# sun4/100
309
310## Memory error registers.
311memreg0	at mainbus0				# sun4c
312memreg0	at obio0				# sun4m
313memreg0	at obio0 addr 0xf4000000		# sun4/200 and sun4/300
314memreg0	at obio0 addr 0x04000000		# sun4/100
315
316## ECC memory control
317eccmemctl0 at mainbus0				# sun4m
318
319## Timer chip found on 4/300, sun4c, and sun4m systems.
320timer0	at mainbus0				# sun4c
321timer0	at obio0				# sun4m
322timer0	at obio0 addr 0xef000000		# sun4/300
323
324## EEPROM found on 4/100 and 4/200 systems.  Note that the 4/300
325## doesn't use this driver; the `EEPROM' is in the NVRAM on the
326## Mostek clock chip on 4/300 systems.
327eeprom0	at obio0 addr 0xf2000000		# sun4/200
328eeprom0	at obio0 addr 0x02000000		# sun4/100
329
330
331#### Serial port configuration
332
333## Zilog 8530 serial chips.  Each has two-channels.
334## zs0 is ttya and ttyb.  zs1 is the keyboard and mouse.
335zs0	at mainbus0					# sun4c
336zs0	at obio0					# sun4m
337zs0	at obio0 addr 0xf1000000 level 12		# sun4/200 and sun4/300
338zs0	at obio0 addr 0x01000000 level 12		# sun4/100
339zs0	at bootbus0					# sun4d
340zstty0	at zs0 channel 0				# ttya
341zstty1	at zs0 channel 1				# ttyb
342
343zs1	at mainbus0					# sun4c
344zs1	at obio0					# sun4m
345zs1	at obio0 addr 0xf0000000 level 12		# sun4/200 and sun4/300
346zs1	at obio0 addr 0x00000000 level 12		# sun4/100
347zs1	at bootbus0					# sun4d
348
349# old kbd and mouse attachments
350#kbd0	at zs1 channel 0				# keyboard
351#ms0	at zs1 channel 1				# mouse
352zstty*	at zs?
353
354# these are for wscons
355kbd0	at zstty?
356ms0	at zstty?
357wskbd*	at wskbddev?
358wsmouse* 	at wsmousedev?
359
360zs2	at obio0 addr 0xe0000000 level 12		# sun4/300
361zstty2	at zs2 channel 0				# ttyc
362zstty3	at zs2 channel 1				# ttyd
363
364zs*	at bootbus?					# sun4d
365zstty*	at zs?
366
367## NS16x50 serial chips and clones.  Present on the
368## Sun JavaStation-1 and Tadpole SPARCbook 3
369com*	at obio0					# sun4m
370
371# Parallel port.
372bpp*	at sbus? slot? offset ?
373
374## Magma Serial/Parallel driver
375magma*	at sbus? slot ? offset ?
376mtty*	at magma?
377mbpp*	at magma?
378
379## SUNW,spif Serial/Parallel driver
380spif*  at sbus? slot ? offset ?
381stty*  at spif?
382sbpp*  at spif?
383
384## PCMCIA serial interfaces
385#com*	at pcmcia?
386#pcmcom*	at pcmcia?
387#com*	at pcmcom?
388
389#### Disk controllers and disks
390
391#
392
393## The following flags may be set for the NCR53c94 based esp driver:
394##	bits 0-7:  disable disconnect/reselect for the corresponding target
395##	bits 8-15: disable synchronous negotiation for target [bit-8]
396
397## sun4/300, sun4c, sun4m on-board SCSI, and FSBE/S SBus SCSI cards.
398## Both `dma' and `esp' are needed in all cases.
399## Two kinds of additional SBus SCSI interfaces are available.  One uses
400## "esp at sbus" like the sun4c on-board; the other uses "esp at dma".
401
402## sun4/300 SCSI - an NCR53c94 or equivalent behind
403## an LSI Logic DMA controller
404
405dma0	at obio0 addr 0xfa001000 level 4		# sun4/300
406esp0	at obio0 addr 0xfa000000 level 4 flags 0x0000	# sun4/300
407
408dma0	at sbus0 slot ? offset ?			# sun4c/sun4m
409esp0	at sbus0 slot ? offset ? flags 0x0000		# sun4c
410esp0	at dma0 flags 0x0000				# sun4m
411
412# FSBE/S SCSI & SunSwift Sbus FAS366
413dma*	at sbus? slot ? offset ?			# SBus
414esp*	at sbus? slot ? offset ? flags 0x0000		# SBus
415esp*	at dma? flags 0x0000				# SBus
416
417scsibus* at esp?
418
419## Qlogic ISP SBus SCSI Card
420isp*	at sbus? slot ? offset ?
421scsibus* at isp?
422
423## NCR5380-based "Sun SCSI 3" VME SCSI controller.
424## This driver has several flags which may be enabled by OR'ing
425## the values and using the "flags" directive.
426## Valid flags are:
427##
428##	0x01		Use DMA (may be polled)
429##	0x02		Use DMA completion interrupts
430##	0x04		Allow disconnect/reselect
431##
432## E.g. the following would enable DMA, interrupts, and reselect:
433## si0	at vme0 addr 0x200000 irq 3 vect 0x40 flags 0x07
434##
435## By default, DMA is enabled in the driver.
436
437si0	at vme0 addr 0x200000 irq 2 vect 0x40
438scsibus* at si?
439
440## NCR5380-based "SCSI Weird" on-board SCSI interface found
441## on sun4/100 systems.  The flags are the same as the "si"
442## controller.  Note, while DMA is enabled by default, only
443## polled DMA works at this time, and reselects do not work
444## on this particular controller.
445
446sw0	at obio0 addr 0x0a000000 level 3
447scsibus* at sw?
448
449## PCMCIA SCSI controllers
450#aic*	at pcmcia?
451#spc*	at pcmcia?
452#scsibus* at aic?
453#scsibus* at spc?
454
455
456## These entries find devices on all SCSI busses and assign
457## unit numbers dynamically.
458sd*	at scsibus? target ? lun ?		# SCSI disks
459st*	at scsibus? target ? lun ?		# SCSI tapes
460cd*	at scsibus? target ? lun ?		# SCSI CD-ROMs
461ch*	at scsibus? target ? lun ?		# SCSI changer devices
462ss*	at scsibus? target ? lun ?		# SCSI scanners
463ses*	at scsibus? target ? lun ?		# SCSI SES/SAF-TE
464uk*	at scsibus? target ? lun ?		# unknown SCSI
465
466
467## Xylogics 753 or 7053 VME SMD disk controllers and disks, found
468## on sun4 systems.
469xdc0	at vme0 addr 0xee80 irq 3 vect 0x44
470xdc1	at vme0 addr 0xee90 irq 3 vect 0x45
471xdc2	at vme0 addr 0xeea0 irq 3 vect 0x46
472xdc3	at vme0 addr 0xeeb0 irq 3 vect 0x47
473xd*	at xdc? drive ?
474
475## Xylogics 451 or 451 VME SMD disk controllers and disks, found
476## on sun4 systems.
477xyc0	at vme0 addr 0xee40 irq 3 vect 0x48
478xyc1	at vme0 addr 0xee48 irq 3 vect 0x49
479xy*	at xyc? drive ?
480
481
482## Floppy controller and drive found on SPARCstations.
483
484fdc0	at mainbus0				# sun4c controller
485fdc0	at obio0				# sun4m controller
486fd*	at fdc0					# the drive itself
487
488## PCMCIA IDE controllers
489#wdc*	at pcmcia?
490#atabus* at ata?
491#wd*	at atabus? drive ? flags 0x0000
492
493## A disk-like interface to files.  Can be used to create floppy, CD,
494## miniroot images, etc.
495
496pseudo-device	vnd	
497#options 	VND_COMPRESSION		# compressed vnd(4)
498
499## Concatenated and striped disks; with this, you can create a software-based
500## disk array similar to a "RAID 0" setup.  See ccd(4).
501
502pseudo-device	ccd	4
503
504## Cryptographic disk devices;  See cgd(4)
505
506#pseudo-device	cgd	4
507
508## RAIDframe disk driver: software RAID driver.  See raid(4).
509
510pseudo-device	raid	8
511options 	RAID_AUTOCONFIG		# auto-configuration of RAID components
512# Options to enable various other RAIDframe RAID types.
513# options 	RF_INCLUDE_EVENODD=1
514# options 	RF_INCLUDE_RAID5_RS=1
515# options 	RF_INCLUDE_PARITYLOGGING=1
516# options 	RF_INCLUDE_CHAINDECLUSTER=1
517# options 	RF_INCLUDE_INTERDECLUSTER=1
518# options 	RF_INCLUDE_PARITY_DECLUSTERING=1
519# options 	RF_INCLUDE_PARITY_DECLUSTERING_DS=1
520
521
522## Memory disk device, used on boot floppies with compressed
523## kernel-plus-root-disk images.
524
525#pseudo-device	md	
526
527
528#### Network interfaces
529
530## LANCE Ethernet - an AMD 7990 LANCE behind specialized DMA glue
531## Three flavors of additional SBus ethernets are available.  One attaches
532## directly like the sun4c on-board, one uses the ledma device like the
533## sun4m on-board, and one uses the lebuffer device.
534
535le0		at obio0 addr 0xf9000000 level 6	# sun4/300
536le0		at sbus0 slot ? offset ?		# sun4c on-board
537ledma0		at sbus0 slot ? offset ?		# sun4m on-board
538le0		at ledma0				# sun4m on-board
539le*		at sbus? slot ? offset ?		# SBus
540ledma*		at sbus? slot ? offset ?		# SBus
541le*		at ledma?				# SBus
542lebuffer0	at sbus? slot ? offset ?		# SBus
543le0		at lebuffer?				# SBus
544lebuffer*	at sbus? slot ? offset ?		# SBus
545le*		at lebuffer?				# SBus
546
547
548## sun4/100 and sun4/200 Ethernet - an Intel 82586 on-board
549## or on a Multibus/VME card.
550ie0	at obio0 addr 0xf6000000 level 6		# sun4/200 on-board
551ie0	at obio0 addr 0x06000000 level 6		# sun4/100 on-board
552## VME: the first [addr,len] pair specifies the device registers;
553##	the second pair specifies the on-board memory buffer
554ie1	at vme0 addr 0xe88000,0xe00000 len -1,0x40000 irq 3 vect 0x75
555ie2	at vme0 addr 0x31ff02,0x300000 len -1,0x40000 irq 3 vect 0x76
556ie3	at vme0 addr 0x35ff02,0x300000 len -1,0x40000 irq 3 vect 0x77
557ie4	at vme0 addr 0x2dff02,0x200000 len -1,0x40000 irq 3 vect 0x7c
558
559## Quad Ethernet Controller with BigMac (be, 10/100MBd) and Mace Ethernet
560## (qe, 10MBd) attached.
561qec*	at sbus? slot ? offset ?		# Quad Ethernet Controller
562be*	at qec?					# BigMac Ethernet (10/100MBd)
563qe*	at qec?					# Mace Ethernet (10MBd)
564
565## Happy Meal Ethernet
566hme*	at sbus? slot ? offset ?
567
568# midway ATM
569en0	at sbus? slot ? offset ?
570
571# PCMCIA ethernet devices
572#ep*	at pcmcia?
573#mbe*	at pcmcia?
574#ne*	at pcmcia?
575#sm*	at pcmcia?
576
577## PCMCIA wavelan card
578#wi*	at pcmcia? function ?		# Lucent WaveLan IEEE (802.11)
579
580# MII/PHY support
581exphy*	at mii? phy ?			# 3Com internal PHYs
582icsphy*	at mii? phy ?			# Integrated Circuit Systems ICS189x
583inphy*	at mii? phy ?			# Intel 82555 PHYs
584lxtphy*	at mii? phy ?			# Level One LXT-970 PHYs
585nsphy*	at mii? phy ?			# NS83840 PHYs
586qsphy*	at mii? phy ?			# Quality Semiconductor QS6612 PHYs
587sqphy*	at mii? phy ?			# Seeq 80220/80221/80223 PHYs
588tlphy*	at mii? phy ?			# ThunderLAN PHYs
589ukphy*	at mii? phy ?			# generic unknown PHYs
590
591## Loopback network interface; required
592pseudo-device	loop
593
594## SLIP and CSLIP interfaces, for IP over a serial line.
595pseudo-device	sl		
596
597## PPP, the successor to SLIP.  See pppd(8).
598pseudo-device	ppp		
599
600## PPP over Ethernet (RFC 2516)
601pseudo-device	pppoe
602
603## Starmode Radio IP, a special hardware network device.
604#pseudo-device	strip		
605
606## Network "tunnel" device, allowing protocol stacks to run in the userland.
607## This is used by the third-party user-mode "ppp" program, and others.
608pseudo-device	tun		
609pseudo-device	tap			# virtual Ethernet
610
611## Generic L3 over IP tunnel
612#pseudo-device	gre			# generic L3 over IP tunnel
613
614## Berkeley Packet Filter, required to run RARPD.  A generic C-language
615## interface that allows selective examining of incoming packets.
616pseudo-device	bpfilter
617
618#pseudo-device	carp			# Common Address Redundancy Protocol
619
620## IP Filter, used in firewall and NAT applications.  See ipnat(8) for
621## one example of the use of the IP Filter.
622pseudo-device	ipfilter
623
624## for IPv6
625pseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC1933)
626#pseudo-device	faith			# IPv[46] tcp relay translation i/f
627pseudo-device	stf			# 6to4 IPv6 over IPv4 encapsulation
628
629## IEEE 802.1Q Virtual LAN encapsulation, see vlan(4).
630pseudo-device	vlan
631
632## Simple inter-network traffic bridging
633pseudo-device	bridge
634#options 	BRIDGE_IPF		# bridge uses IP/IPv6 pfil hooks too
635pseudo-device	agr			# IEEE 802.3ad link aggregation
636
637## accept filters
638pseudo-device   accf_data		# "dataready" accept filter
639pseudo-device   accf_http		# "httpready" accept filter
640
641#### Audio and video devices
642
643## /dev/audio support (`audioamd' plus `audio')
644##
645audioamd0	at mainbus0				# sun4c
646audioamd0	at obio0				# sun4m
647audioamd0	at sbus0 slot ? offset ?		# sun4m
648
649audiocs0	at sbus0 slot ? offset ?		# SUNW,CS4231
650
651#options 	DBRI_DEBUG	# noisy debug output from the dbri driver
652#options 	DBRI_BIG_BUFFER	# use bigger DMA buffers, for slow CPUs
653dbri*		at sbus? slot ? offset ?		# SUNW,DBRI[s3|e]
654
655audio*		at audiobus?
656
657## Sun "bwtwo" black and white framebuffer, found on sun4, sun4c, and sun4m
658## systems.  If your sun4 system has a cgfour installed in the P4 slot,
659## the P4 entries for "bwtwo" will attach to the overlay plane of the
660## "cgfour".
661
662bwtwo0		at sbus0 slot ? offset ?		# sun4c and sun4m
663bwtwo*		at sbus? slot ? offset ?		#
664bwtwo0		at obio0 addr 0xfd000000 level 4	# sun4/200
665bwtwo0		at obio0 addr 0xfb300000 level 4	# sun4/300 in P4 slot
666bwtwo0		at obio0 addr 0x0b300000 level 4	# sun4/100 in P4 slot
667
668## Sun "cgtwo" VME color framebuffer
669# XXX no wsdisplay support
670#cgtwo0		at vme0 addr 0x400000 irq ? vect 0xa8
671
672## Sun "cgthree" Sbus color framebuffer
673cgthree0	at sbus? slot ? offset ?
674cgthree*	at sbus? slot ? offset ?
675
676## Sun "cgfour" color framebuffer with overlay plane.  See above comment
677## regarding overlay plane.
678# XXX no wsdisplay support
679#cgfour0		at obio0 addr 0xfb300000 level 4	# sun4/300 P4
680#cgfour0		at obio0 addr 0x0b300000 level 4	# sun4/100 P4
681
682## Sun "cgsix" accelerated color framebuffer.
683cgsix0		at sbus? slot ? offset ?
684cgsix*		at sbus? slot ? offset ?
685cgsix0		at obio0 addr 0xfb000000 level 4	# sun4/300 P4
686cgsix0		at obio0 addr 0x0b000000 level 4	# sun4/100 P4
687
688## Sun "cgeight" 24-bit framebuffer
689# XXX no wsdisplay support
690#cgeight0 	at obio0 addr 0xfb300000 level 4	# sun4/300 P4
691#cgeight0	at obio0 addr 0x0b300000 level 4	# sun4/100 P4
692
693## Sun "tcx" accelerated color framebuffer.
694# there can be only one
695tcx0		at sbus? slot ? offset ?
696
697## Sun CG12 / Matrox SG3 accelerated 24bit framebuffer
698## runs monochrome only for now
699cgtwelve*	at sbus? slot ? offset ?
700
701# Sun "cgfourteen" accelerated 24-bit framebuffer.
702cgfourteen*	at obio0			# sun4m
703
704# P9100-based display on Tadpole SPARCbook 3.
705pnozz0		at sbus? slot ? offset ?
706# the SPARCbook 3 hardware docs say that accesses to P9100 registers need to be
707# 'latched in' but at least my 3GX works happily without
708# Enable it by default since we don't know which hardware really needs it.
709options PNOZZ_USE_LATCH
710
711# Sun ZX/Leo 24-bit framebuffer
712zx*		at sbus? slot ? offset ?
713
714# Fujitsu AG-10e accelerated graphics 8/24-bit board
715agten*	at sbus? slot ? offset ?
716
717# generic framebuffer console
718genfb*	at sbus? slot ? offset ?
719
720# make sure wsdisplay0 is the console
721wsdisplay0	at wsemuldisplaydev? console 1
722wsdisplay*	at wsemuldisplaydev?
723
724#### Other device configuration
725
726# Tadpole microcontroller
727tctrl0 at obio0
728
729# Aurora Personality Chip (APC) on SPARCstation-4/5
730# Not enabled by default as it may hang some systems
731#apc*		at sbus? slot ? offset ?
732
733## Pseudo ttys, required for network logins and programs like screen.
734
735pseudo-device	pty			# pseudo-terminals
736
737## Random device, used to implement /dev/random (a source of random noise),
738## and generate randomness for some kernel formulae.
739
740
741# a pseudo device needed for Coda	# also needs CODA (above)
742pseudo-device	vcoda		4	# coda minicache <-> venus comm.
743
744pseudo-device	clockctl		# user control of clock subsystem
745pseudo-device	ksyms			# /dev/ksyms
746#pseudo-device	pf			# PF packet filter
747#pseudo-device	pflog			# PF log if
748pseudo-device	fss			# file system snapshot device
749pseudo-device	wsmux			# mouse and keyboard multiplexor
750pseudo-device	wsfont
751pseudo-device	putter			# for puffs and pud
752
753#options 	FILEASSOC		# fileassoc(9)
754
755# Veriexec
756#
757# a pseudo device needed for veriexec
758#pseudo-device	veriexec		1
759#
760# Uncomment the fingerprint methods below that are desired. Note that
761# removing fingerprint methods will have almost no impact on the kernel
762# code size.
763#
764#options VERIFIED_EXEC_FP_RMD160
765#options VERIFIED_EXEC_FP_SHA256
766#options VERIFIED_EXEC_FP_SHA384
767#options VERIFIED_EXEC_FP_SHA512
768#options VERIFIED_EXEC_FP_SHA1
769#options VERIFIED_EXEC_FP_MD5
770
771#options PAX_MPROTECT=0			# PaX mprotect(2) restrictions
772					# (for static binaries only for now)
773