Home | History | Annotate | Line # | Download | only in conf
GENERIC revision 1.73
      1 # $NetBSD: GENERIC,v 1.73 2006/10/26 11:48:39 elad 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/sparc64/conf/std.sparc64"
     22 
     23 options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
     24 
     25 #ident 		"GENERIC-$Revision: 1.73 $"
     26 
     27 maxusers	64
     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 	SUN4U		# sun4u - UltraSPARC
     35 #options 	BLINK		# blink the system LED
     36 
     37 #### System options that are the same for all ports
     38 
     39 ## Root device configuration: change the ?'s if you are going to use a
     40 ## nonstandard root partition (other than where the kernel is booted from)
     41 ## and/or nonstandard root type (not ffs or nfs).  Normally this can be
     42 ## automagically determined at boot time.
     43 
     44 config		netbsd	root on ? type ?
     45 
     46 ## UVM options.
     47 #options 	UVM_PAGE_TRKOWN
     48 #options 	UVMHIST
     49 #options 	UVMHIST_PRINT	# Loud!
     50 
     51 ## System call tracing (see ktrace(1)).
     52 options 	KTRACE
     53 #options 	SYSTRACE		# system call vetting via systrace(1)
     54 
     55 ## Collect statistics on kernel malloc's and free's.  This does have a
     56 ## significant performance hit on slower machines, so it is intended for
     57 ## diagnostic use only.
     58 #options 	KMEMSTATS
     59 
     60 ## System V compatible IPC subsystem.  (msgctl(2), semctl(2), and shmctl(2))
     61 options 	SYSVMSG		# System V message queues
     62 options 	SYSVSEM		# System V semaphores
     63 options 	SYSVSHM		# System V shared memory
     64 #options 	SHMMAXPGS=1024	# 1024 pages is the default
     65 options 	P1003_1B_SEMAPHORE	# p1003.1b semaphore support 
     66 
     67 
     68 ## Loadable kernel module support; still under development.
     69 options 	LKM
     70 
     71 options 	USERCONF	# userconf(4) support
     72 #options 	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
     73 options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
     74 
     75 # Enable experimental buffer queue strategy for better responsiveness under 
     76 # high disk I/O load. Use it with caution - it's not proven to be stable yet.
     77 #options 	BUFQ_READPRIO
     78 #options 	BUFQ_PRIOCSCAN
     79 
     80 ## NFS boot options; tries DHCP/BOOTP then BOOTPARAM
     81 options 	NFS_BOOT_BOOTPARAM
     82 #options 	NFS_BOOT_BOOTP
     83 options 	NFS_BOOT_DHCP
     84 
     85 #### Debugging options
     86 
     87 ## The DDB in-kernel debugger runs at panic (unless DDB_ONPANIC=0), or at
     88 ## serial console break or keyboard reset, where the PROM would normally
     89 ## intercept.  DDB_HISTORY_SIZE adds up/down arrow command history.
     90 # we enable DDB in GENERIC for now.
     91 options 	DDB			# kernel dynamic debugger
     92 options 	DDB_HISTORY_SIZE=100	# enable history editing in DDB
     93 #options 	DDB_ONPANIC=1		# see also sysctl(8): `ddb.onpanic'
     94 
     95 ## You may also use gdb, on another computer connected to this machine over
     96 ## a serial port.
     97 # options 	KGDB
     98 # options 	KGDB_DEVNAME="\"sabtty1\""	# kgdb device name
     99 # options 	KGDB_DEVRATE=38400		# baud rate (defaults to 9600)
    100 
    101 
    102 ## Compile the kernel with debugging symbols (`netbsd.gdb' is the debug file),
    103 ## such that gdb(1) can be used on a kernel coredump.
    104 
    105 #makeoptions	DEBUG="-g"
    106 
    107 
    108 ## Adds code to the kernel that does internal consistency checks, and will
    109 ## cause the kernel to panic if corruption of internal data structures
    110 ## is detected.
    111 #options 	DIAGNOSTIC	# extra kernel sanity checking
    112 
    113 ## Enable (possibly expensive) debugging code that may also display messages
    114 ## on the system console
    115 #options 	DEBUG
    116 #options 	LOCKDEBUG
    117 #options 	SYSCALL_DEBUG
    118 
    119 ## Make SCSI error messages more verbose when explaining their meanings.
    120 options 	SCSIVERBOSE
    121 options 	PCIVERBOSE
    122 options 	MIIVERBOSE	# verbose PHY autoconfig messages
    123 #options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
    124 
    125 ## `INSECURE' turns off the kernel security level (securelevel = 0 always).
    126 ## This allows writing to /dev/mem, loading kernel modules while multi-user,
    127 ## and other insecurities good only for development work.  Do not use this
    128 ## option on a production machine.
    129 #options 	INSECURE
    130 
    131 ## `FDSCRIPTS' allows non-readable but executable scripts by providing a
    132 ## pre-opened opaque file to the script interpreter.  `SETUIDSCRIPTS',
    133 ## which implies FDSCRIPTS, allows scripts to be set-user-id using the same
    134 ## opaque file mechanism.  Perl calls this "secure setuid scripts."
    135 
    136 #options 	FDSCRIPTS
    137 #options 	SETUIDSCRIPTS
    138 
    139 ## Options for compatibility with previous releases foreign system binaries.
    140 ## In the cases of COMPAT_SUNOS and COMPAT_SVR4, you may need to set up
    141 ## additional user-level utilities or system configuration files. See
    142 ## compat_sunos(8) and compat_svr4(8).
    143 
    144 options 	COMPAT_43	# 4.3BSD system interfaces
    145 options 	COMPAT_09	# NetBSD 0.9 binary compatibility
    146 options 	COMPAT_10	# NetBSD 1.0 binary compatibility
    147 options 	COMPAT_11	# NetBSD 1.1 binary compatibility
    148 options 	COMPAT_12	# NetBSD 1.2 binary compatibility
    149 options 	COMPAT_13	# NetBSD 1.3 binary compatibility
    150 options 	COMPAT_14	# NetBSD 1.4 binary compatibility
    151 options 	COMPAT_15	# NetBSD 1.5 binary compatibility
    152 options 	COMPAT_16	# NetBSD 1.6 binary compatibility
    153 options 	COMPAT_20	# NetBSD 2.0 binary compatibility
    154 options 	COMPAT_30	# NetBSD 3.0 binary compatibility
    155 options 	COMPAT_SUNOS	# SunOS 4.x binary compatibility
    156 options 	COMPAT_SVR4	# SunOS 5.x binary compatibility
    157 options 	COMPAT_SVR4_32	# SunOS 5.x 32-bit binary compatibility -- 64-bit only
    158 options 	COMPAT_NETBSD32	# NetBSD/sparc binary compatibility -- 64-bit only
    159 options 	EXEC_AOUT	# execve(2) support for a.out binaries
    160 options 	EXEC_ELF32	# Exec module for SunOS 5.x binaries.
    161 
    162 #options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
    163 options		COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
    164 
    165 ## File systems.  You probably need at least one of FFS or NFS.
    166 file-system	FFS		# Berkeley Fast Filesystem
    167 file-system	NFS		# Sun NFS-compatible filesystem client
    168 file-system	KERNFS		# kernel data-structure filesystem
    169 file-system	NULLFS		# NULL layered filesystem
    170 file-system 	OVERLAY		# overlay file system
    171 file-system	MFS		# memory-based filesystem
    172 file-system	FDESC		# user file descriptor filesystem
    173 file-system	UMAPFS		# uid/gid remapping filesystem
    174 file-system	LFS		# Log-based filesystem (still experimental)
    175 file-system	PORTAL		# portal filesystem (still experimental)
    176 file-system	PROCFS		# /proc
    177 file-system	CD9660		# ISO 9660 + Rock Ridge file system
    178 file-system	UNION		# union file system
    179 file-system	MSDOSFS		# MS-DOS FAT filesystem(s).
    180 file-system	PTYFS		# /dev/pts/N support
    181 file-system	SMBFS		# experimental - CIFS; also needs nsmb (below)
    182 #file-system	TMPFS		# experimental - Efficient memory file-system
    183 #file-system	UDF		# experimental - OSTA UDF CD/DVD file-system
    184 
    185 ## File system options.
    186 options 	NFSSERVER	# Sun NFS-compatible filesystem server
    187 options 	QUOTA		# FFS quotas
    188 #options 	FFS_EI		# FFS Endian Independent support
    189 options 	SOFTDEP		# FFS soft updates support.
    190 #options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
    191 
    192 ## Network protocol support.  In most environments, INET is required.
    193 options 	INET		# IP (Internet Protocol) v4
    194 options 	INET6		# IPV6
    195 #options 	IPSEC		# IP security
    196 #options 	IPSEC_ESP	# IP security (encryption part; define w/IPSEC)
    197 #options 	IPSEC_NAT_T	# IPsec NAT traversal (NAT-T)
    198 #options 	IPSEC_DEBUG	# debug for IP security
    199 #options 	GATEWAY		# packet forwarding ("router switch")
    200 options 	MROUTING	# packet forwarding of multicast packets
    201 options 	PIM		# Protocol Independent Multicast
    202 #options 	DIRECTED_BROADCAST	# allow broadcasts through routers
    203 options 	ISO,TPIP	# OSI networking
    204 options 	EON		# OSI tunneling over IP
    205 options 	NETATALK	# AppleTalk (over Ethernet) protocol
    206 options 	NTP		# Network Time Protocol in-kernel support
    207 #options 	PPS_SYNC	# Add serial line synchronization for NTP
    208 options 	PFIL_HOOKS	# Add pfil(9) hooks, intended for custom LKMs.
    209 options 	IPFILTER_LOG	# Add ipmon(8) logging for ipfilter device
    210 options 	IPFILTER_LOOKUP	# ippool(8) support
    211 #options 	IPFILTER_DEFAULT_BLOCK	# block all packets by default
    212 options 	PPP_BSDCOMP	# Add BSD compression to ppp device
    213 options 	PPP_DEFLATE	# Add deflate (libz) compression to ppp device
    214 options 	PPP_FILTER	# Add active filters for ppp (via bpf)
    215 #options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
    216 
    217 #options 	ALTQ		# Manipulate network interfaces' output queues
    218 #options 	ALTQ_BLUE	# Stochastic Fair Blue
    219 #options 	ALTQ_CBQ	# Class-Based Queueing
    220 #options 	ALTQ_CDNR	# Diffserv Traffic Conditioner
    221 #options 	ALTQ_FIFOQ	# First-In First-Out Queue
    222 #options 	ALTQ_FLOWVALVE	# RED/flow-valve (red-penalty-box)
    223 #options 	ALTQ_HFSC	# Hierarchical Fair Service Curve
    224 #options 	ALTQ_LOCALQ	# Local queueing discipline
    225 #options 	ALTQ_PRIQ	# Priority Queueing
    226 #options 	ALTQ_RED	# Random Early Detection
    227 #options 	ALTQ_RIO	# RED with IN/OUT
    228 #options 	ALTQ_WFQ	# Weighted Fair Queueing
    229 
    230 
    231 #### Main bus and CPU .. all systems.
    232 mainbus0 at root
    233 cpu0	at mainbus0
    234 
    235 #### Bus types found on SPARC systems.
    236 
    237 sbus*	at mainbus0				# SBus-based systems
    238 psycho*	at mainbus0				# PCI-based systems
    239 pci*	at psycho?
    240 pci*	at ppb?
    241 ppb*	at pci?					# `APB' support.
    242 ebus*	at pci?					# ebus devices
    243 # XXX 'puc's aren't really bridges, but there's no better place for them here
    244 puc*	at pci? dev ? function ?		# PCI "universal" comm. cards
    245 
    246 #### Standard system devices -- all required for a given architecture
    247 
    248 ## PROM console driver -- if all else fails
    249 pcons0	at mainbus0				# PROM console
    250 
    251 ## Auxiliary system registers -- We use the OBP for power management
    252 auxio*	at ebus?				# auxio registers
    253 auxio*	at sbus? slot ? offset ?		# auxio registers
    254 
    255 # We also need:
    256 bpp*	at sbus? slot ? offset ?		# parallel port
    257 lpt*	at ebus?				# parallel port
    258 
    259 ## Mostek clock found on 4/300, sun4c, sun4m and sun4u systems.
    260 ## The Mostek clock NVRAM is the "eeprom" on sun4/300 systems.
    261 clock*	at sbus? slot ? offset ?
    262 clock*	at ebus?
    263 rtc*	at ebus?
    264 
    265 ## Timer chip found on 4/300, sun4c, sun4m and (some) sun4u systems.
    266 timer*	at mainbus0				# sun4c
    267 
    268 #### Serial port configuration
    269 
    270 ## Zilog 8530 serial chips.  Each has two-channels.
    271 ## zs0 is ttya and ttyb.  zs1 is the keyboard and mouse.
    272 zs*	at sbus? slot ? offset ?
    273 zstty*	at zs? channel ?			# ttya
    274 kbd0	at zstty?
    275 ms0	at zstty?
    276 
    277 ## PCI machines have serial ports:
    278 ##	Siemens SAB82532 controller: ttya and ttyb (`su'; sab)
    279 ##	Part of NS PC87332VLJ Super I/O controller: kbd/mouse (`se'; com)
    280 
    281 ## The SAB82532 controller has two serial ports
    282 sab*	at ebus?				# ttya/ttyb
    283 sabtty*	at sab? channel ?
    284 
    285 ## Part of a PC87332VLJ
    286 com*	at ebus?				# `com' driver for `su'
    287 kbd0	at com?					# keyboard
    288 ms0	at com?					# mouse
    289 
    290 ## Magma Serial/Parallel driver (not tested)
    291 #magma*	at sbus? slot ? offset ?
    292 #mtty*	at magma?
    293 #mbpp*	at magma?
    294 
    295 ## SUNW,spif Serial/Parallel driver (not tested)
    296 #spif*  at sbus? slot ? offset ?
    297 #stty*  at spif?
    298 #sbpp*  at spif?
    299 
    300 ## PCI serial interfaces
    301 com*	at puc? port ?			# 16x50s on "universal" comm boards
    302 cy*	at pci? dev ? function ?	# Cyclades Cyclom-Y serial boards
    303 cz*	at pci? dev ? function ?	# Cyclades-Z multi-port serial boards
    304 
    305 # PCI cryptographic devices
    306 hifn*	at pci? dev ? function ?	# Hifn 7755/7811/795x
    307 ubsec*	at pci? dev ? function ?	# Broadcom 5501/5601/580x/582x
    308 
    309 
    310 #### Disk controllers and disks
    311 
    312 ## The following flags may be set for the NCR53c94 based esp driver:
    313 ##	bits 0-7:  disable disconnect/reselect for the corresponding target
    314 ##	bits 8-15: disable synchronous negotiation for target [bit-8]
    315 ##	bits 16-23: disable tagged queuing for target [bit-16]
    316 
    317 ## sun4u on-board SCSI, and FSBE/S SBus SCSI cards, an NCR53c94 or
    318 ## equivalent behind an LSI Logic DMA controller
    319 
    320 dma*	at sbus? slot ? offset ?		# SBus
    321 esp*	at dma?					# SBus
    322 
    323 esp*	at sbus? slot ? offset ?
    324 isp*	at sbus? slot ? offset ?
    325 isp*	at pci? dev ? function ?	# Qlogic ISP [12]0x0 SCSI/FibreChannel
    326 siop*	at pci? 			# 53C8xx ("glm" compatible)
    327 esiop*	at pci? 			# 53C875 and newer ("glm" compatible)
    328 
    329 # PCI SCSI controllers
    330 # 	UT marks untested.
    331 adv*	at pci? dev ? function ?	# AdvanSys 1200[A,B], 9xx[U,UA] SCSI UT
    332 adw*	at pci? dev ? function ?	# AdvanSys 9x0UW[D], 3940U[2,3]W SCSI UT
    333 ahc*	at pci? dev ? function ?	# Adaptec [23]94x, aic78x0 SCSI
    334 bha*	at pci? dev ? function ?	# BusLogic 9xx SCSI UT
    335 dpt*	at pci? dev ? function ?	# DPT SmartCache/SmartRAID UT
    336 iha*	at pci? dev ? function ?	# Initio INIC-940/950 SCSI
    337 njs*	at pci? dev ? function ?	# Workbit NinjaSCSI-32
    338 pcscp*	at pci? dev ? function ?	# AMD 53c974 PCscsi-PCI SCSI
    339 trm*	at pci? dev ? function ?	# Tekram DC-395U/UW/F, DC-315/U SCSI
    340 
    341 scsibus* at scsi?
    342 
    343 ## These entries find devices on all SCSI busses and assign
    344 ## unit numbers dynamically.
    345 sd*	at scsibus? target ? lun ?		# SCSI disks
    346 st*	at scsibus? target ? lun ?		# SCSI tapes
    347 cd*	at scsibus? target ? lun ?		# SCSI CD-ROMs
    348 ch*	at scsibus? target ? lun ?		# SCSI changer devices
    349 ss*	at scsibus? target ? lun ?		# SCSI scanners
    350 ses*	at scsibus? target ? lun ?		# SCSI SES/SAF-TE devices
    351 uk*	at scsibus? target ? lun ?		# unknown SCSI
    352 
    353 # IDE and related devices
    354 # PCI IDE controllers - see pciide(4) for supported hardware.
    355 # The 0x0001 flag force the driver to use DMA, even if the driver doesn't know
    356 # how to set up DMA modes for this chip. This may work, or may cause
    357 # a machine hang with some controllers.
    358 pciide* at pci? dev ? function ? flags 0x0000	# GENERIC pciide driver
    359 acardide* at pci? dev ? function ?	# Acard IDE controllers
    360 aceride* at pci? dev ? function ?	# Acer Lab IDE controllers
    361 artsata* at pci? dev ? function ?	# Intel i31244 SATA controller
    362 cmdide* at pci? dev ? function ?	# CMD tech IDE controllers
    363 cypide* at pci? dev ? function ?	# Cypress IDE controllers
    364 hptide* at pci? dev ? function ?	# Triones/HighPoint IDE controllers
    365 optiide* at pci? dev ? function ?	# Opti IDE controllers
    366 pdcide* at pci? dev ? function ?	# Promise IDE controllers
    367 pdcsata* at pci? dev ? function ?	# Promise SATA150 controllers
    368 satalink* at pci? dev ? function ?	# SiI SATALink controllers
    369 siside* at pci? dev ? function ?	# SiS IDE controllers
    370 slide*  at pci? dev ? function ?	# Symphony Labs IDE controllers
    371 viaide* at pci? dev ? function ?	# VIA/AMD/Nvidia IDE controllers
    372 
    373 # ATA (IDE) bus support
    374 atabus* at ata?
    375 atapibus* at atapi?
    376 
    377 # IDE drives
    378 # Flags are used only with controllers that support DMA operations
    379 # and mode settings (e.g. some pciide controllers)
    380 # The lowest order four bits (rightmost digit) of the flags define the PIO
    381 # mode to use, the next set of four bits the DMA mode and the third set the
    382 # UltraDMA mode. For each set of four bits, the 3 lower bits define the mode
    383 # to use, and the last bit must be 1 for this setting to be used.
    384 # For DMA and UDMA, 0xf (1111) means 'disable'.
    385 # 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'.
    386 # (0xc=1100, 0xa=1010, 0xf=1111)
    387 # 0x0000 means "use whatever the drive claims to support".
    388 
    389 ## Disable UDMA 4 which causes data corruption on the Acer Labs
    390 ## chipset on Sun Blade 100 and Netra X1 machines.
    391 wd*     at atabus? drive ? flags 0x0000
    392 
    393 cd*	at atapibus? drive ? flags 0x0000	# ATAPI CD-ROM drives
    394 sd*	at atapibus? drive ? flags 0x0000	# ATAPI disk drives
    395 uk*	at atapibus? drive ? flags 0x0000	# ATAPI unknown
    396 
    397 # RAID controllers and devices (untested)
    398 cac*	at pci? dev ? function ?	# Compaq PCI array controllers
    399 mlx*	at pci? dev ? function ?	# Mylex DAC960 & DEC SWXCR family
    400 twe*	at pci? dev ? function ?	# 3ware Escalade RAID controllers
    401 
    402 ld*	at cac? unit ?			# logical disk devices
    403 ld*	at twe? unit ?
    404 ld*	at mlx? unit ?
    405 
    406 ## Floppy controller and drive found on SPARCstations.
    407 
    408 # need share with the sparc, and everyone else.  needs to use auxio.
    409 # actually, the ebus version has (will have) direct access to it's AUXIO
    410 # register space (it is mapped in to fdthree not auxio).
    411 fdc0	at sbus? slot ? offset ?		# SUNW,fdtwo
    412 #fdc0	at ebus?				# fdthree, EXPERIMENTAL
    413 fd*	at fdc0 	 			# the drive itself
    414 
    415 ## A disk-like interface to files.  Can be used to create floppy, CD,
    416 ## miniroot images, etc.
    417 
    418 pseudo-device	vnd	
    419 #options 	VND_COMPRESSION		# compressed vnd(4)
    420 
    421 ## Concatenated and striped disks; with this, you can create a software-based
    422 ## disk array similar to a "RAID 0" setup.  See ccd(4).
    423 
    424 pseudo-device	ccd	4
    425 
    426 ## Cryptographic disk devices.  See cgd(4).
    427 
    428 #pseudo-device	cgd	4
    429 
    430 ## RAIDframe disk driver: software RAID driver.  See raid(4).
    431 
    432 pseudo-device	raid	8
    433 options 	RAID_AUTOCONFIG		# auto-configuration of RAID components
    434 # Options to enable various other RAIDframe RAID types.
    435 # options 	RF_INCLUDE_EVENODD=1
    436 # options 	RF_INCLUDE_RAID5_RS=1
    437 # options 	RF_INCLUDE_PARITYLOGGING=1
    438 # options 	RF_INCLUDE_CHAINDECLUSTER=1
    439 # options 	RF_INCLUDE_INTERDECLUSTER=1
    440 # options 	RF_INCLUDE_PARITY_DECLUSTERING=1
    441 # options 	RF_INCLUDE_PARITY_DECLUSTERING_DS=1
    442 
    443 
    444 ## Memory disk device, used on boot floppies with compressed
    445 ## kernel-plus-root-disk images.
    446 
    447 pseudo-device	md	1
    448 
    449 
    450 #### Network interfaces
    451 
    452 ## LANCE Ethernet - an AMD 7990 LANCE behind specialized DMA glue
    453 ## Three flavors of additional SBus ethernets are available.  One attaches
    454 ## directly like the sun4c on-board, one uses the ledma device like the
    455 ## sun4m on-board, and one uses the lebuffer device.
    456 
    457 ledma0		at sbus? slot ? offset ?	# sun4m on-board
    458 le0		at ledma0			# sun4m on-board
    459 le*		at sbus? slot ? offset ?	# SBus
    460 ledma*		at sbus? slot ? offset ?	# SBus
    461 le*		at ledma?			# SBus
    462 lebuffer0	at sbus? slot ? offset ?	# SBus
    463 le0		at lebuffer?			# SBus
    464 lebuffer*	at sbus? slot ? offset ?	# SBus
    465 le*		at lebuffer?			# SBus
    466 
    467 ## Happy Meal Ethernet
    468 hme*		at sbus? slot ? offset ?
    469 hme*		at pci?	dev ? function ?	# network "hme" compatible
    470 
    471 ## qec/be, qec/hme
    472 qec*		at sbus? slot ? offset ?
    473 be*		at qec?
    474 qe*		at qec?
    475 
    476 # PCI network interfaces
    477 # 	UT marks untested.
    478 an*	at pci? dev ? function ?	# Aironet PC4500/PC4800 (802.11) UT
    479 ath*	at pci? dev ? function ?	# Atheros 5210/5211/5212 802.11 UT
    480 en*	at pci? dev ? function ?	# ENI/Adaptec ATM UT
    481 # XXX causes ICE
    482 #ep*	at pci? dev ? function ?	# 3Com 3c59x
    483 ex*	at pci? dev ? function ?	# 3Com 90x[B]
    484 epic*	at pci? dev ? function ?	# SMC EPIC/100 Ethernet
    485 esh*	at pci? dev ? function ?	# Essential HIPPI card UT
    486 fpa*	at pci? dev ? function ?	# DEC DEFPA FDDI UT
    487 fxp*	at pci? dev ? function ?	# Intel EtherExpress PRO 10+/100B
    488 gem*	at pci? dev ? function ?	# Apple GMAC and Sun ERI gigabit enet
    489 # XXX lacks bus_dmamap_sync()
    490 #le*	at pci? dev ? function ?	# PCnet-PCI Ethernet
    491 # XXX uses vtophys()
    492 #lmc*	at pci? dev ? function ?	# Lan Media Corp SSI/HSSI/DS3
    493 ne*	at pci? dev ? function ?	# NE2000-compatible Ethernet UT
    494 ntwoc*	at pci? dev ? function ?	# Riscom/N2 PCI Sync Serial UT
    495 # XXX cause uncorrectable DMA error
    496 #pcn*	at pci? dev ? function ?	# PCnet-PCI Ethernet
    497 ral*	at pci? dev ? function ?	# ralink wifi UT
    498 re*	at pci? dev ? function ?	# Realtek 8139C+/8169/8169S/8110S
    499 rtk*	at pci? dev ? function ?	# Realtek 8129/8139
    500 sip*	at pci? dev ? function ?	# SiS 900 Ethernet
    501 ti*	at pci? dev ? function ?	# Alteon ACEnic gigabit Ethernet UT
    502 tl*	at pci? dev ? function ?	# ThunderLAN-based Ethernet
    503 tlp*	at pci? dev ? function ?	# DECchip 21x4x and clones
    504 vr*	at pci? dev ? function ?	# VIA Rhine Fast Ethernet
    505 wi*	at pci? dev ? function ?	# Lucent/Intersil WaveLAN/IEEE
    506 wm*	at pci? dev ? function ?	# Intel 8254x gigabit
    507 
    508 # MII/PHY support
    509 # XXX: only nsphy and igphy "tested"
    510 acphy*	at mii? phy ?			# Altima AC101 and AMD Am79c874 PHYs
    511 dmphy*	at mii? phy ?			# Davicom DM9101 PHYs
    512 exphy*	at mii? phy ?			# 3Com internal PHYs
    513 icsphy*	at mii? phy ?			# Integrated Circuit Systems ICS189x
    514 ikphy*	at mii? phy ?			# Intel 82563 PHYs
    515 inphy*	at mii? phy ?			# Intel 82555 PHYs
    516 iophy*	at mii? phy ?			# Intel 82553 PHYs
    517 igphy*	at mii? phy ?			# Intel IGP01E1000
    518 lxtphy*	at mii? phy ?			# Level One LXT-970 PHYs
    519 makphy* at mii? phy ?			# Marvell Semiconductor 88E1000 PHYs
    520 nsphy*	at mii? phy ?			# NS83840 PHYs
    521 nsphyter* at mii? phy ?			# NS83843 PHYs
    522 qsphy*	at mii? phy ?			# Quality Semiconductor QS6612 PHYs
    523 sqphy*	at mii? phy ?			# Seeq 80220/80221/80223 PHYs
    524 tlphy*	at mii? phy ?			# ThunderLAN PHYs
    525 tqphy*	at mii? phy ?			# TDK Semiconductor PHYs
    526 ukphy*	at mii? phy ?			# generic unknown PHYs
    527 
    528 # PCI USB controllers
    529 ehci*	at pci? dev ? function ?	# Enhanced Host Controller
    530 ohci*	at pci? dev ? function ?	# Open Host Controller
    531 uhci*	at pci?	dev ? function ?	# Universal Host Controller (Intel)
    532 
    533 # USB bus support
    534 usb*	at ehci?
    535 usb*	at ohci?
    536 usb*	at uhci?
    537 #usb*	at slhci?
    538 
    539 # USB Hubs
    540 uhub*	at usb?
    541 uhub*	at uhub? port ? configuration ? interface ?
    542 
    543 # USB HID device
    544 uhidev*	at uhub? port ? configuration ? interface ?
    545 
    546 # USB Mice
    547 ums*	at uhidev? reportid ?
    548 wsmouse* at ums? mux 0
    549 
    550 # USB eGalax touch-panel
    551 uep*	at uhub? port ?
    552 wsmouse* at uep? mux 0
    553 
    554 # USB Keyboards
    555 ukbd*	at uhidev? reportid ?
    556 wskbd*	at ukbd? console ? mux 1
    557 
    558 # USB serial adapter
    559 ucycom*	at uhidev? reportid ?
    560 
    561 # USB Generic HID devices
    562 uhid*	at uhidev? reportid ?
    563 
    564 # USB Printer
    565 ulpt*	at uhub? port ? configuration ? interface ?
    566 
    567 # USB Modem
    568 umodem*	at uhub? port ? configuration ?
    569 ucom*	at umodem?
    570 
    571 # USB Mass Storage
    572 umass*	at uhub? port ? configuration ? interface ?
    573 wd*	at umass?
    574 
    575 # USB audio
    576 uaudio*	at uhub? port ? configuration ?
    577 
    578 # USB MIDI
    579 umidi* at uhub? port ? configuration ?
    580 
    581 # USB IrDA
    582 # USB-IrDA bridge spec
    583 uirda* at uhub? port ? configuration ? interface ?
    584 irframe* at uirda?
    585 
    586 # SigmaTel STIr4200 USB/IrDA Bridge
    587 ustir* at uhub? port ?
    588 irframe* at ustir?
    589 
    590 # USB Ethernet adapters
    591 aue*	at uhub? port ?		# ADMtek AN986 Pegasus based adapters
    592 axe*	at uhub? port ?		# ASIX AX88172 based adapters
    593 cdce*	at uhub? port ?		# CDC, Ethernet Networking Control Model
    594 cue*	at uhub? port ?		# CATC USB-EL1201A based adapters
    595 kue*	at uhub? port ?		# Kawasaki LSI KL5KUSB101B based adapters
    596 udav*	at uhub? port ?		# Davicom DM9601 based adapters
    597 url*	at uhub? port ?		# Realtek RTL8150L based adapters
    598 
    599 # USB 802.11 adapters
    600 atu*	at uhub? port ?		# Atmel AT76C50XX based adapters
    601 ral*	at uhub? port ?		# Ralink Technology RT25x0 802.11a/b/g
    602 
    603 # Prolific PL2301/PL2302 host-to-host adapter
    604 upl*	at uhub? port ?
    605 
    606 # Serial adapters
    607 ubsa*	at uhub? port ?		# Belkin serial adapter
    608 ucom*	at ubsa? portno ?
    609 
    610 uftdi*	at uhub? port ?		# FTDI FT8U100AX serial adapter
    611 ucom*	at uftdi? portno ?
    612 
    613 umct*	at uhub? port ?		# MCT USB-RS232 serial adapter
    614 ucom*	at umct? portno ?
    615 
    616 uplcom* at uhub? port ? 	# I/O DATA USB-RSAQ2 serial adapter
    617 ucom*	at uplcom? portno ?
    618 
    619 uvscom* at uhub? port ? 	# SUNTAC Slipper U VS-10U serial adapter
    620 ucom*	at uvscom? portno ?
    621 
    622 # Diamond Multimedia Rio 500
    623 urio*	at uhub? port ?
    624 
    625 # USB Handspring Visor
    626 uvisor*	at uhub? port ?
    627 ucom*	at uvisor?
    628 
    629 # Kyocera AIR-EDGE PHONE
    630 ukyopon* at uhub? port ?
    631 ucom*	at ukyopon? portno ?
    632 
    633 # USB scanners
    634 uscanner* at uhub? port ?
    635 
    636 # USB scanners that use SCSI emulation, e.g., HP5300
    637 usscanner* at uhub? port ?
    638 
    639 # Y@P firmware loader
    640 uyap* at uhub? port ?
    641 
    642 # D-Link DSB-R100 USB radio
    643 udsbr*	at uhub? port ?
    644 radio*	at udsbr?
    645 
    646 # USB Generic driver
    647 ugen*	at uhub? port ?
    648 
    649 ## Loopback network interface; required
    650 pseudo-device	loop
    651 
    652 ## SLIP and CSLIP interfaces, for IP over a serial line.
    653 pseudo-device	sl		
    654 
    655 ## PPP, the successor to SLIP.  See pppd(8).
    656 pseudo-device	ppp		
    657 
    658 ## PPP over Ethernet (RFC 2516)
    659 pseudo-device	pppoe
    660 
    661 ## Starmode Radio IP, a special hardware network device.
    662 pseudo-device	strip		
    663 
    664 ## Network "tunnel" device, allowing protocol stacks to run in the userland.
    665 ## This is used by the third-party user-mode "ppp" program, and others.
    666 pseudo-device	tun		
    667 pseudo-device	tap			# virtual Ethernet
    668 
    669 ## Generic L3 over IP tunnel
    670 #pseudo-device	gre			# generic L3 over IP tunnel
    671 
    672 ## Berkeley Packet Filter, required to run RARPD.  A generic C-language
    673 ## interface that allows selective examining of incoming packets.
    674 pseudo-device	bpfilter
    675 
    676 # Common Address Redundancy Protocol
    677 #pseudo-device	carp
    678 
    679 ## IEEE 802.1q encapsulation
    680 pseudo-device	vlan
    681 
    682 ## Simple inter-network traffic bridging
    683 pseudo-device	bridge
    684 #options 	BRIDGE_IPF		# bridge uses IP/IPv6 pfil hooks too
    685 
    686 ## IP Filter, used in firewall and NAT applications.  See ipnat(8) for
    687 ## one example of the use of the IP Filter.
    688 pseudo-device	ipfilter
    689 
    690 ## for IPv6
    691 pseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC1933)
    692 #pseudo-device	faith			# IPv[46] tcp relay translation i/f
    693 pseudo-device	stf			# 6to4 IPv6 over IPv4 encapsulation
    694 
    695 
    696 #### CardBus and PCMCIA devices
    697 
    698 # PCI CardBus bridge support
    699 #cbb*	at pci? dev ? function ?
    700 #cardslot* at cbb?
    701 
    702 # CardBus bus support
    703 #cardbus* at cardslot?
    704 #pcmcia* at cardslot?
    705 
    706 ## SBus to PCMCIA bridge
    707 #nell*	at sbus? slot ? offset ?		# PCMCIA bridge
    708 #pcmcia*	at nell?
    709 
    710 ## CardBus cards; UT marks untested.
    711 
    712 # CardBus serial interfaces
    713 #com*	at cardbus? function ?	# Modems and serial cards UT
    714 
    715 # CardBus SCSI controllers
    716 #adv*	at cardbus? function ?	# AdvanSys 1200[A,B], 9xx[U,UA] SCSI UT
    717 #ahc*	at cardbus? function ?	# Adaptec ADP-1480 UT
    718 #njs*	at cardbus? function ?	# Workbit NinjaSCSI-32
    719 
    720 # CardBus IDE controllers
    721 #njata*	at cardbus? function ? flags 0x01	# Workbit NinjaATA-32
    722 
    723 # CardBus network interfaces
    724 #ath*	at cardbus? function ?	# Atheros 5210/5211/5212 802.11
    725 #atw*	at cardbus? function ?	# ADMtek ADM8211 (802.11) UT
    726 #ex*	at cardbus? function ?	# 3Com 3C575TX
    727 #fxp*	at cardbus? function ?	# Intel i8255x UT
    728 #ral*	at cardbus? function ?	# Ralink Technology RT25x0 802.11a/b/g UT
    729 #rtk*	at cardbus? function ?	# Realtek 8129/8139 UT
    730 #tlp*	at cardbus? function ?	# DECchip 21143
    731 
    732 # CardBus USB controllers
    733 #ehci*	at cardbus? function ?	# Enhanced Host Controller
    734 #ohci*	at cardbus? function ?	# Open Host Controller
    735 
    736 ## PCMCIA cards; UT marks untested.
    737 
    738 # PCMCIA serial interfaces
    739 #com*	at pcmcia? function ?		# Modems and serial cards
    740 
    741 #pcmcom* at pcmcia? function ?		# PCMCIA multi-port serial cards UT
    742 #com*	at pcmcom? slave ?		# ...and the slave devices
    743 
    744 # PCMCIA SCSI controllers
    745 #aic*	at pcmcia? function ?		# Adaptec APA-1460 SCSI UT
    746 #esp*	at pcmcia? function ?		# Qlogic ESP406/FAS408 SCSI UT
    747 #spc*	at pcmcia? function ?		# Fujitsu MB87030/MB89352 SCSI
    748 
    749 # PCMCIA IDE controllers
    750 #wdc*	at pcmcia? function ?
    751 
    752 # PCMCIA network interfaces
    753 #an*	at pcmcia? function ?		# Aironet PC4500/PC4800 (802.11) UT
    754 #awi*	at pcmcia? function ?		# BayStack 650/660 (802.11FH/DS) UT
    755 #cnw*	at pcmcia? function ?		# Xircom/Netwave AirSurfer UT
    756 #cs*	at pcmcia? function ?		# CS89xx Ethernet UT
    757 #ep*	at pcmcia? function ?		# 3Com 3c589 and 3c562 Ethernet
    758 #mbe*	at pcmcia? function ?		# MB8696x based Ethernet UT
    759 #ne*	at pcmcia? function ?		# NE2000-compatible Ethernet
    760 #ray*	at pcmcia? function ?		# Raytheon Raylink (802.11) UT
    761 #sm*	at pcmcia? function ?		# Megahertz Ethernet UT
    762 # tr at pcmcia has problems with Cardbus bridges
    763 #tr*	at pcmcia? function ?		# TROPIC based Token-Ring UT
    764 #wi*	at pcmcia? function ?		# Lucent/Intersil WaveLan IEEE (802.11)
    765 #xirc*	at pcmcia? function ?		# Xircom CreditCard Ethernet UT
    766 #com*	at xirc?
    767 #xi*	at xirc?
    768 #mhzc*	at pcmcia? function ?		# Megahertz Ethernet/Modem combo cards
    769 #com*	at mhzc?
    770 #sm*	at mhzc?
    771 
    772 # PCMCIA audio devices
    773 #esl*	at pcmcia? function ?			# ESS 1688 AudioDrive UT
    774 
    775 #### Bluetooth Controller and Device support
    776 
    777 ## Bluetooth PCMCIA Controllers
    778 #bt3c* at pcmcia? function ?		# 3Com 3CRWB6096-A
    779 
    780 ## Bluetooth USB Controllers
    781 ubt* at uhub? port ? configuration ? interface ?
    782 
    783 ## Bluetooth Device Hub
    784 #bthub* at bt3c?
    785 bthub* at ubt?
    786 
    787 ## Bluetooth HID support
    788 bthidev* at bthub?
    789 
    790 ## Bluetooth Mouse
    791 btms* at bthidev? reportid ?
    792 wsmouse* at btms? mux 0
    793 
    794 ## Bluetooth Keyboard
    795 btkbd* at bthidev? reportid ?
    796 wskbd* at btkbd? console ? mux 1
    797 
    798 ## Bluetooth Audio support
    799 btsco* at bthub?
    800 
    801 #### Audio and video devices
    802 
    803 ## /dev/audio support (`audiocs' plus `audio')
    804 ##
    805 audiocs*	at sbus? slot ? offset ?	# SUNW,CS4231
    806 audiocs*	at ebus?			# SUNW,CS4231 in U5/U10
    807 autri*		at pci? dev ? function ?	# Blade 100 'sound'
    808 
    809 audio*		at audiobus?
    810 
    811 midi*		at midibus?
    812 
    813 
    814 ## Sun "bwtwo" black and white framebuffer, found on sun4, sun4c, and sun4m
    815 ## systems.  If your sun4 system has a cgfour installed in the P4 slot,
    816 ## the P4 entries for "bwtwo" will attach to the overlay plane of the
    817 ## "cgfour".
    818 
    819 #bwtwo0		at sbus? slot ? offset ?	# sun4c and sun4m
    820 #bwtwo*		at sbus? slot ? offset ?
    821 
    822 ## Sun "cgthree" Sbus color framebuffer
    823 #cgthree0	at sbus? slot ? offset ?
    824 #cgthree*	at sbus? slot ? offset ?
    825 
    826 ## Sun "cgsix" accelerated color framebuffer.
    827 cgsix*		at sbus? slot ? offset ?
    828 
    829 ## Sun FFB
    830 ffb*		at mainbus0
    831 
    832 # On board vga on U5/U10 etc.
    833 machfb*		at pci?
    834 
    835 # make sure the console display is always wsdisplay0
    836 wsdisplay0	at wsemuldisplaydev? console 1
    837 wsdisplay*	at wsemuldisplaydev?
    838 
    839 # wsmouse for sun ms
    840 wsmouse*        at ms0
    841 
    842 # wskbd for sun kbd
    843 wskbd0 at kbd0
    844 
    845 # various options for wscons - we try to look as much like a standard
    846 # sun console as possible
    847 options 	WSEMUL_SUN		# sun terminal emulation
    848 options 	WS_DEFAULT_FG=WSCOL_BLACK
    849 options 	WS_DEFAULT_BG=WSCOL_LIGHT_WHITE
    850 options 	WSDISPLAY_COMPAT_USL		# VT handling
    851 options 	WSDISPLAY_COMPAT_RAWKBD		# can get raw scancodes
    852 options 	WSDISPLAY_DEFAULTSCREENS=4
    853 options 	FONT_GALLANT12x22		# PROM font look-alike
    854 
    855 #### Other device configuration
    856 
    857 psm*		at ebus?		# Ultrabook IIi microcontroller
    858 
    859 ### Other pseudo-devices
    860 
    861 pseudo-device 	crypto			# /dev/crypto device
    862 pseudo-device	swcrypto		# software crypto implementation
    863 
    864 ## Pseudo ttys, required for network logins and programs like screen.
    865 
    866 pseudo-device	pty			# pseudo-ttys (for network, etc.)
    867 
    868 ## Random device, used to implement /dev/random (a source of random noise),
    869 ## and generate randomness for some kernel formulae.
    870 
    871 pseudo-device	rnd
    872 
    873 pseudo-device	wsmux			# mouse & keyboard multiplexor
    874 pseudo-device	wsfont
    875 pseudo-device	clockctl		# user control of clock subsystem
    876 pseudo-device	ksyms			# /dev/ksyms
    877 #pseudo-device	pf			# PF packet filter
    878 #pseudo-device	pflog			# PF log if
    879 pseudo-device	fss		4	# file system snapshot device
    880 
    881 options		FILEASSOC		# fileassoc(9) - required for Veriexec 
    882 #options	FILEASSOC_NHOOKS=4	# Default number of storage slots
    883 
    884 # Veriexec
    885 #
    886 # a pseudo device needed for veriexec
    887 pseudo-device	veriexec		1
    888 #
    889 # Uncomment the fingerprint methods below that are desired. Note that
    890 # removing fingerprint methods will have almost no impact on the kernel
    891 # code size.
    892 #
    893 options VERIFIED_EXEC_FP_RMD160
    894 options VERIFIED_EXEC_FP_SHA256
    895 options VERIFIED_EXEC_FP_SHA384
    896 options VERIFIED_EXEC_FP_SHA512
    897 options VERIFIED_EXEC_FP_SHA1
    898 options VERIFIED_EXEC_FP_MD5
    899 
    900 # a pseudo device needed for SMBFS
    901 pseudo-device   nsmb		# experimental - SMB requester
    902 
    903 options PAX_MPROTECT=0			# PaX mprotect(2) restrictions
    904