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