Home | History | Annotate | Line # | Download | only in conf
GENERIC revision 1.76
      1 # $NetBSD: GENERIC,v 1.76 2005/12/07 09:10:12 tsutsui 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/amd64/conf/std.amd64"
     22 
     23 options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
     24 
     25 #ident 		"GENERIC-$Revision: 1.76 $"
     26 
     27 maxusers	32		# estimated number of users
     28 
     29 # delay between "rebooting ..." message and hardware reset, in milliseconds
     30 #options 	CPURESET_DELAY=2000
     31 
     32 # This option allows you to force a serial console at the specified
     33 # I/O address.   see console(4) for details.
     34 #options 	CONSDEVNAME="\"com\"",CONADDR=0x2f8,CONSPEED=57600
     35 #	you don't want the option below ON iff you are using the
     36 #	serial console option of the new boot strap code.
     37 #options 	CONS_OVERRIDE	# Always use above! independent of boot info
     38 
     39 # The following options override the memory sizes passed in from the boot
     40 # block.  Use them *only* if the boot block is unable to determine the correct
     41 # values.  Note that the BIOS may *correctly* report less than 640k of base
     42 # memory if the extended BIOS data area is located at the top of base memory
     43 # (as is the case on most recent systems).
     44 #options 	REALBASEMEM=639		# size of base memory (in KB)
     45 #options 	REALEXTMEM=15360	# size of extended memory (in KB)
     46 
     47 # Standard system options
     48 
     49 options 	INSECURE	# disable kernel security levels - X needs this
     50 
     51 options 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
     52 options 	NTP		# NTP phase/frequency locked loop
     53 
     54 options 	KTRACE		# system call tracing via ktrace(1)
     55 options 	SYSTRACE	# system call vetting via systrace(1)
     56 
     57 options 	SYSVMSG		# System V-like message queues
     58 options 	SYSVSEM		# System V-like semaphores
     59 #options 	SEMMNI=10	# number of semaphore identifiers
     60 #options 	SEMMNS=60	# number of semaphores in system
     61 #options 	SEMUME=10	# max number of undo entries per process
     62 #options 	SEMMNU=30	# number of undo structures in system
     63 options 	SYSVSHM		# System V-like memory sharing
     64 #options 	SHMMAXPGS=2048	# 2048 pages is the default
     65 options 	P1003_1B_SEMAPHORE
     66 
     67 options 	LKM		# loadable kernel modules
     68 
     69 options 	USERCONF	# userconf(4) support
     70 #options 	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
     71 options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
     72 
     73 # Enable experimental buffer queue strategy for better responsiveness under 
     74 # high disk I/O load. Use it with caution - it's not proven to be stable yet.
     75 #options 	BUFQ_READPRIO
     76 #options 	BUFQ_PRIOCSCAN
     77 
     78 # Diagnostic/debugging support options
     79 #options 	DIAGNOSTIC	# expensive kernel consistency checks
     80 #options 	DEBUG		# expensive debugging checks/support
     81 #options 	KMEMSTATS	# kernel memory statistics (vmstat -m)
     82 
     83 #
     84 # Because gcc omits the frame pointer for any -O level, the line below
     85 # is needed to make backtraces in DDB work.
     86 #
     87 #makeoptions 	COPTS="-O2 -fno-omit-frame-pointer"
     88 #options 	DDB		# in-kernel debugger
     89 #options 	DDB_HISTORY_SIZE=512	# enable history editing in DDB
     90 #options 	KGDB		# remote debugger
     91 #options 	KGDB_DEVNAME="\"com\"",KGDB_DEVADDR=0x3f8,KGDB_DEVRATE=9600
     92 #makeoptions	DEBUG="-g"	# compile full symbol table
     93 
     94 # Compatibility options
     95 options 	COMPAT_15	# compatibility with NetBSD 1.5,
     96 options 	COMPAT_16	# NetBSD 1.6,
     97 options 	COMPAT_20	# NetBSD 2.0,
     98 options 	COMPAT_30	# NetBSD 3.0 compatibility.
     99 options 	COMPAT_43	# and 4.3BSD
    100 options 	COMPAT_386BSD_MBRPART # recognize old partition ID
    101 
    102 options 	COMPAT_NETBSD32
    103 options 	EXEC_ELF32
    104 options		COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
    105 
    106 # File systems
    107 file-system 	FFS		# UFS
    108 file-system 	EXT2FS		# second extended file system (linux)
    109 file-system 	LFS		# log-structured file system
    110 file-system 	MFS		# memory file system
    111 file-system 	NFS		# Network File System client
    112 file-system 	NTFS		# Windows/NT file system (experimental)
    113 file-system 	CD9660		# ISO 9660 + Rock Ridge file system
    114 file-system 	MSDOSFS		# MS-DOS file system
    115 file-system 	FDESC		# /dev/fd
    116 file-system 	KERNFS		# /kern
    117 file-system 	NULLFS		# loopback file system
    118 file-system 	OVERLAY		# overlay file system
    119 file-system 	PORTAL		# portal filesystem (still experimental)
    120 file-system 	PROCFS		# /proc
    121 file-system 	UMAPFS		# NULLFS + uid and gid remapping
    122 file-system 	UNION		# union file system
    123 file-system	CODA		# Coda File System; also needs vcoda (below)
    124 file-system	PTYFS		# /dev/pts/N support
    125 #file-system	TMPFS		# experimental - Efficient memory file-system
    126 
    127 # File system options
    128 options 	QUOTA		# UFS quotas
    129 #options 	FFS_EI		# FFS Endian Independent support
    130 options 	SOFTDEP		# FFS soft updates support.
    131 #options	UFS_DIRHASH	# UFS Large Directory Hashing - Experimental
    132 options 	NFSSERVER	# Network File System server
    133 #options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
    134 				# immutable) behave as system flags.
    135 #options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
    136 
    137 # Networking options
    138 #options 	GATEWAY		# packet forwarding
    139 options 	INET		# IP + ICMP + TCP + UDP
    140 options 	INET6		# IPV6
    141 #options 	IPSEC		# IP security
    142 #options 	IPSEC_ESP	# IP security (encryption part; define w/IPSEC)
    143 #options 	IPSEC_NAT_T	# IPsec NAT traversal (NAT-T)
    144 #options 	IPSEC_DEBUG	# debug for IP security
    145 #options 	MROUTING	# IP multicast routing
    146 #options 	PIM		# Protocol Independent Multicast
    147 options 	NS		# XNS
    148 #options 	NSIP		# XNS tunneling over IP
    149 options 	ISO,TPIP	# OSI
    150 #options 	EON		# OSI tunneling over IP
    151 options 	CCITT,LLC,HDLC	# X.25
    152 options 	NETATALK	# AppleTalk networking protocols
    153 options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
    154 options 	PPP_DEFLATE	# Deflate compression support for PPP
    155 options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
    156 options 	PFIL_HOOKS	# pfil(9) packet filter hooks
    157 options 	IPFILTER_LOG	# ipmon(8) log support
    158 #options 	IPFILTER_DEFAULT_BLOCK	# block all packets by default
    159 #options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
    160 
    161 #options 	ALTQ		# Manipulate network interfaces' output queues
    162 #options 	ALTQ_BLUE	# Stochastic Fair Blue
    163 #options 	ALTQ_CBQ	# Class-Based Queueing
    164 #options 	ALTQ_CDNR	# Diffserv Traffic Conditioner
    165 #options 	ALTQ_FIFOQ	# First-In First-Out Queue
    166 #options 	ALTQ_FLOWVALVE	# RED/flow-valve (red-penalty-box)
    167 #options 	ALTQ_HFSC	# Hierarchical Fair Service Curve
    168 #options 	ALTQ_LOCALQ	# Local queueing discipline
    169 #options 	ALTQ_PRIQ	# Priority Queueing
    170 #options 	ALTQ_RED	# Random Early Detection
    171 #options 	ALTQ_RIO	# RED with IN/OUT
    172 #options 	ALTQ_WFQ	# Weighted Fair Queueing
    173 
    174 # These options enable verbose messages for several subsystems.
    175 # Warning, these may compile large string tables into the kernel!
    176 options		ACPIVERBOSE	# verbose ACPI configuration messages
    177 options 	MIIVERBOSE	# verbose PHY autoconfig messages
    178 options 	PCIVERBOSE	# verbose PCI device autoconfig messages
    179 #options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
    180 #options 	PCMCIAVERBOSE	# verbose PCMCIA configuration messages
    181 options 	SCSIVERBOSE	# human readable SCSI error messages
    182 options 	USBVERBOSE	# verbose USB device autoconfig messages
    183 options 	I2OVERBOSE	# verbose I2O driver messages
    184 
    185 options 	NFS_BOOT_DHCP,NFS_BOOT_BOOTPARAM
    186 
    187 #
    188 # wscons options
    189 #
    190 # builtin terminal emulations
    191 #options 	WSEMUL_SUN		# sun terminal emulation
    192 options 	WSEMUL_VT100		# VT100 / VT220 emulation
    193 # different kernel output - see dev/wscons/wsdisplayvar.h
    194 options 	WS_KERNEL_FG=WSCOL_GREEN
    195 #options 	WS_KERNEL_BG=WSCOL_BLACK
    196 # compatibility to other console drivers
    197 options 	WSDISPLAY_COMPAT_PCVT		# emulate some ioctls
    198 options 	WSDISPLAY_COMPAT_SYSCONS	# emulate some ioctls
    199 options 	WSDISPLAY_COMPAT_USL		# VT handling
    200 options 	WSDISPLAY_COMPAT_RAWKBD		# can get raw scancodes
    201 # see dev/pckbc/wskbdmap_mfii.c for implemented layouts
    202 #options 	PCKBD_LAYOUT="(KB_DE | KB_NODEAD)"
    203 # allocate a number of virtual screens at autoconfiguration time
    204 #options 	WSDISPLAY_DEFAULTSCREENS=4
    205 # use a large software cursor that doesn't blink
    206 options 	PCDISPLAY_SOFTCURSOR
    207 # modify the screen type of the console; defaults to "80x25"
    208 #options 	VGA_CONSOLE_SCREENTYPE="\"80x24\""
    209 # work around a hardware bug that loaded fonts don't work; found on ATI cards
    210 #options 	VGA_CONSOLE_ATI_BROKEN_FONTSEL
    211 # the following enables some functions to get mouse console support.
    212 # if you want a really secure system, it may be better not to enable them,
    213 # see wsmoused(8), section SECURITY CONSIDERATIONS for more info.
    214 #options 	WSDISPLAY_CHARFUNCS		# mouse console support
    215 # console scrolling support.
    216 options 	WSDISPLAY_SCROLLSUPPORT
    217 # enable VGA raster mode capable of displaying multilingual text on console
    218 #options 	VGA_RASTERCONSOLE
    219 
    220 # Kernel root file system and dump configuration.
    221 config		netbsd	root on ? type ?
    222 #config		netbsd	root on sd0a type ffs
    223 #config		netbsd	root on ? type nfs
    224 
    225 #
    226 # Device configuration
    227 #
    228 
    229 mainbus0 at root
    230 
    231 #acpi0 		at mainbus0
    232 #options 	MPACPI			# configure CPUs and APICs using ACPI
    233 					# (acpi at mainbus must also be enabled)
    234 #options 	MPACPI_SCANPCI		# find PCI roots using MPACPI
    235 options 	MPBIOS			# configure CPUs and APICs using MPBIOS 
    236 options 	MPBIOS_SCANPCI		# MPBIOS configures PCI roots
    237 #options 	PCI_INTR_FIXUP		# PCI interrupt routing via ACPI
    238 #options 	ACPI_ACTIVATE_DEV	# If set, activate inactive devices
    239 #options	ACPICA_PEDANTIC		# force strict conformance to the Spec.
    240 #options	ACPI_DISABLE_ON_POWEROFF	# disable acpi on power off
    241 
    242 # ACPI devices
    243 #acpiacad* 	at acpi?		# ACPI AC Adapter
    244 #acpibat* 	at acpi?		# ACPI Battery
    245 #acpibut* 	at acpi?		# ACPI Button
    246 #acpiec* 	at acpi?		# ACPI Embedded Controller
    247 #acpilid* 	at acpi?		# ACPI Lid Switch
    248 #acpitz* 	at acpi?		# ACPI Thermal Zone
    249 
    250 # Mainboard devices
    251 #com* 		at acpi?		# Serial communications interface
    252 #fdc* 		at acpi?		# Floppy disk controller
    253 #joy*		at acpi?		# Joystick/Game port
    254 #lpt* 		at acpi?		# Parallel port
    255 #mpu*		at acpi?		# Roland MPU-401 MIDI UART
    256 #pckbc*  	at acpi?		# PC keyboard controller
    257 #attimer*	at acpi?		# AT Timer
    258 #pcppi*         at acpi?                # AT-style speaker sound
    259 #wss* 		at acpi?		# NeoMagic 256AV in wss mode
    260 
    261 cpu* 		at mainbus?
    262 ioapic* 	at mainbus? apid ?
    263 
    264 #apm0	at mainbus0			# Advanced power management
    265 
    266 # Tuning for power management, see apm(4) for more details.
    267 #options 	APM_NO_IDLE		# Don't call BIOS CPU idle function
    268 #options 	APM_V10_ONLY		# Use only the APM 1.0 calls
    269 #options 	APM_NO_POWEROFF		# Don't power off on halt(8)
    270 #options 	APM_POWER_PRINT		# Print stats on the console
    271 #options 	APM_DISABLE_INTERRUPTS=0 # Don't disable interrupts
    272 
    273 
    274 # Basic Bus Support
    275 
    276 # PCI bus support
    277 pci*	at mainbus? bus ?
    278 pci*	at pchb? bus ?
    279 pci*	at ppb? bus ?
    280 
    281 # PCI bridges
    282 pchb*	at pci? dev ? function ?	# PCI-Host bridges
    283 pcib*	at pci? dev ? function ?	# PCI-ISA bridges
    284 ppb*	at pci? dev ? function ?	# PCI-PCI bridges
    285 # XXX 'puc's aren't really bridges, but there's no better place for them here
    286 puc*	at pci? dev ? function ?	# PCI "universal" comm. cards
    287 
    288 aapic* 	at pci? dev ? function ?	# AMD 8131 IO apic
    289 
    290 #agp* 	at pchb?
    291 
    292 #
    293 
    294 # ISA bus support
    295 isa0	at mainbus?
    296 isa0	at pcib?
    297 
    298 # CardBus bridge support
    299 #cbb*		at pci? dev ? function ?
    300 #cardslot*	at cbb?
    301 
    302 # CardBus bus support
    303 #cardbus*	at cardslot?
    304 #pcmcia* 	at cardslot?
    305 
    306 # Coprocessor Support
    307 
    308 # Console Devices
    309 
    310 # wscons
    311 pckbc0		at isa?			# pc keyboard controller
    312 pckbd*		at pckbc?		# PC keyboard
    313 pms*		at pckbc?		# PS/2 mouse for wsmouse
    314 #options 	PMS_DISABLE_POWERHOOK	# Disable PS/2 reset on resume
    315 #options 	PMS_SYNAPTICS_TOUCHPAD	# Enable support for Synaptics Touchpads
    316 vga*		at pci? dev ? function ?
    317 wsdisplay*	at vga? console ?
    318 wskbd*		at pckbd? console ?
    319 wsmouse*	at pms? mux 0
    320 
    321 attimer0	at isa?
    322 pcppi0		at isa?
    323 sysbeep0	at pcppi?
    324 
    325 # Cryptographic Devices
    326 
    327 # PCI cryptographic devices
    328 hifn*	at pci? dev ? function ?	# Hifn 7755/7811/795x
    329 ubsec*	at pci? dev ? function ?	# Broadcom 5501/5601/580x/582x
    330 
    331 # Serial Devices
    332 
    333 # PCI serial interfaces
    334 com*	at puc? port ?			# 16x50s on "universal" comm boards
    335 cy*	at pci? dev ? function ?	# Cyclades Cyclom-Y serial boards
    336 cz*	at pci? dev ? function ?	# Cyclades-Z multi-port serial boards
    337 
    338 # PCMCIA serial interfaces
    339 #com*	at pcmcia? function ?		# Modems and serial cards
    340 
    341 #pcmcom*	at pcmcia? function ?		# PCMCIA multi-port serial cards
    342 #com*	at pcmcom? slave ?		# ...and the slave devices
    343 
    344 # CardBus serial interfaces
    345 #com*	at cardbus? function ?	# Modems and serial cards
    346 
    347 # ISA serial interfaces
    348 #options 	COM_HAYESP		# adds Hayes ESP serial board support
    349 com0	at isa? port 0x3f8 irq 4	# Standard PC serial ports
    350 com1	at isa? port 0x2f8 irq 3
    351 
    352 # Parallel Printer Interfaces
    353 
    354 # PCI parallel printer interfaces
    355 lpt*	at puc? port ?			# || ports on "universal" comm boards
    356 
    357 # ISA parallel printer interfaces
    358 lpt0	at isa? port 0x378 irq 7	# standard PC parallel ports
    359 lpt1	at isa? port 0x278
    360 
    361 # Hardware monitors
    362 
    363 # LM7[89] and compatible hardware monitors
    364 #lm0	at isa?	port 0x290		# other common ports: 0x280, 0x310
    365 
    366 # I2O devices
    367 iop*	at pci? dev ? function ?	# I/O processor
    368 iopsp*	at iop? tid ?			# SCSI/FC-AL ports
    369 ld*	at iop? tid ?			# block devices
    370 # XXX dpti.c wants a processor type that is not assigned for x86-64
    371 #dpti*	at iop? tid 0			# DPT/Adaptec control interface
    372 
    373 
    374 # SCSI Controllers and Devices
    375 
    376 # PCI SCSI controllers
    377 adv*	at pci? dev ? function ?	# AdvanSys 1200[A,B], 9xx[U,UA] SCSI
    378 adw*	at pci? dev ? function ?	# AdvanSys 9x0UW[D], 3940U[2,3]W SCSI
    379 ahc*	at pci? dev ? function ?	# Adaptec [23]94x, aic78x0 SCSI
    380 ahd*	at pci? dev ? function ?	# Adaptec aic790x SCSI
    381 bha*	at pci? dev ? function ?	# BusLogic 9xx SCSI
    382 dpt*	at pci? dev ? function ?	# DPT SmartCache/SmartRAID
    383 iha*	at pci? dev ? function ?	# Initio INIC-940/950 SCSI
    384 isp*	at pci? dev ? function ?	# Qlogic ISP [12]0x0 SCSI/FibreChannel
    385 mly*	at pci? dev ? function ?	# Mylex AcceleRAID and eXtremeRAID
    386 mpt*	at pci? dev ? function ?	# LSILogic 9x9 and 53c1030
    387 pcscp*	at pci? dev ? function ?	# AMD 53c974 PCscsi-PCI SCSI
    388 siop*	at pci? dev ? function ?	# Symbios 53c8xx SCSI
    389 esiop*	at pci? dev ? function ?	# Symbios 53c875 and newer SCSI
    390 #options 	SIOP_SYMLED		# drive the act. LED in software
    391 trm*	at pci? dev ? function ?	# Tekram DC-395U/UW/F, DC-315/U SCSI
    392 
    393 # PCMCIA SCSI controllers
    394 #aic*	at pcmcia? function ?		# Adaptec APA-1460 SCSI
    395 #esp*	at pcmcia? function ?		# Qlogic ESP406/FAS408 SCSI
    396 
    397 # CardBus SCSI cards
    398 #adv*	at cardbus? function ?	# AdvanSys 1200[A,B], 9xx[U,UA] SCSI
    399 #ahc*	at cardbus? function ?	# Adaptec ADP-1480
    400 
    401 # SCSI bus support
    402 scsibus* at scsi?
    403 
    404 # SCSI devices
    405 sd*	at scsibus? target ? lun ?	# SCSI disk drives
    406 st*	at scsibus? target ? lun ?	# SCSI tape drives
    407 cd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives
    408 ch*	at scsibus? target ? lun ?	# SCSI autochangers
    409 ses*	at scsibus? target ? lun ?	# SCSI Enclosure Services devices
    410 ss*	at scsibus? target ? lun ?	# SCSI scanners
    411 uk*	at scsibus? target ? lun ?	# SCSI unknown
    412 
    413 
    414 # RAID controllers and devices
    415 #aac*	at pci? dev ? function ?	# Broken -- 32bit assumptions.
    416 amr*	at pci? dev ? function ?	# AMI/LSI Logic MegaRAID
    417 cac*	at pci? dev ? function ?	# Compaq PCI array controllers
    418 icp*	at pci? dev ? function ?	# ICP-Vortex GDT & Intel RAID
    419 mlx*	at pci? dev ? function ?	# Mylex DAC960 & DEC SWXCR family
    420 twe*	at pci? dev ? function ?	# 3ware Escalade RAID controllers
    421 
    422 ld*	at amr? unit ?
    423 ld*	at cac? unit ?
    424 ld*	at icp? unit ?
    425 ld*	at twe? unit ?
    426 ld*	at mlx? unit ?
    427 
    428 icpsp*	at icp? unit ?			# SCSI pass-through
    429 
    430 # IDE and related devices
    431 # PCI IDE controllers - see pciide(4) for supported hardware.
    432 # The 0x0001 flag force the driver to use DMA, even if the driver doesn't know
    433 # how to set up DMA modes for this chip. This may work, or may cause
    434 # a machine hang with some controllers.
    435 pciide* at pci? dev ? function ? flags 0x0000	# GENERIC pciide driver
    436 acardide* at pci? dev ? function ?	# Acard IDE controllers
    437 aceride* at pci? dev ? function ?	# Acer Lab IDE controllers
    438 artsata* at pci? dev ? function ?	# Intel i31244 SATA controller
    439 cmdide* at pci? dev ? function ?	# CMD tech IDE controllers
    440 cypide* at pci? dev ? function ?	# Cypress IDE controllers
    441 hptide* at pci? dev ? function ?	# Triones/HighPoint IDE controllers
    442 ixpide* at pci? dev ? function ?	# ATI IXP IDE controllers
    443 optiide* at pci? dev ? function ?	# Opti IDE controllers
    444 piixide* at pci? dev ? function ?	# Intel IDE controllers
    445 pdcide* at pci? dev ? function ?	# Promise IDE controllers
    446 pdcsata* at pci? dev ? function ?	# Promise SATA150 controllers
    447 satalink* at pci? dev ? function ?	# SiI SATALink controllers
    448 siside* at pci? dev ? function ?	# SiS IDE controllers
    449 slide*  at pci? dev ? function ?	# Symphony Labs IDE controllers
    450 viaide* at pci? dev ? function ?	# VIA/AMD/Nvidia IDE controllers
    451 
    452 # PCMCIA IDE controllers
    453 #wdc*	at pcmcia? function ?
    454 
    455 # ISA ST506, ESDI, and IDE controllers
    456 # Use flags 0x01 if you want to try to use 32bits data I/O (the driver will
    457 # fall back to 16bits I/O if 32bits I/O are not functional).
    458 # Some controllers pass the initial 32bit test, but will fail later.
    459 wdc0	at isa? port 0x1f0 irq 14 flags 0x00
    460 wdc1	at isa? port 0x170 irq 15 flags 0x00
    461 
    462 # ATA (IDE) bus support
    463 atabus* at ata?
    464 
    465 # IDE drives
    466 # Flags are used only with controllers that support DMA operations
    467 # and mode settings (e.g. some pciide controllers)
    468 # The lowest order four bits (rightmost digit) of the flags define the PIO
    469 # mode to use, the next set of four bits the DMA mode and the third set the
    470 # UltraDMA mode. For each set of four bits, the 3 lower bits define the mode
    471 # to use, and the last bit must be 1 for this setting to be used.
    472 # For DMA and UDMA, 0xf (1111) means 'disable'.
    473 # 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'.
    474 # (0xc=1100, 0xa=1010, 0xf=1111)
    475 # 0x0000 means "use whatever the drive claims to support".
    476 wd*	at atabus? drive ? flags 0x0000
    477 
    478 # ATAPI bus support
    479 atapibus* at atapi?
    480 
    481 # ATA RAID configuration support, as found on some Promise controllers.  
    482 pseudo-device ataraid  
    483 ld*     at ataraid? vendtype ? unit ?
    484 
    485 # ATAPI devices
    486 # flags have the same meaning as for IDE drives.
    487 cd*	at atapibus? drive ? flags 0x0000	# ATAPI CD-ROM drives
    488 sd*	at atapibus? drive ? flags 0x0000	# ATAPI disk drives
    489 st*	at atapibus? drive ? flags 0x0000	# ATAPI tape drives
    490 uk*	at atapibus? drive ? flags 0x0000	# ATAPI unknown
    491 
    492 
    493 # Miscellaneous mass storage devices
    494 
    495 # ISA floppy
    496 fdc0	at isa? port 0x3f0 irq 6 drq 2	# standard PC floppy controllers
    497 #fdc1	at isa? port 0x370 irq ? drq ?
    498 fd*	at fdc? drive ?			# the drives themselves
    499 # some machines need you to do this instead of fd*
    500 #fd0	at fdc0 drive 0
    501 
    502 # Network Interfaces
    503 
    504 # PCI network interfaces
    505 an*	at pci? dev ? function ?	# Aironet PC4500/PC4800 (802.11)
    506 ath*	at pci? dev ? function ?	# Atheros 5210/5211/5212 802.11
    507 bce* 	at pci? dev ? function ?	# Broadcom 440x 10/100 Ethernet
    508 bge* 	at pci? dev ? function ?	# Broadcom 570x gigabit Ethernet
    509 dge*	at pci? dev ? function ?	# Intel 82597 10GbE LR
    510 en*	at pci? dev ? function ?	# ENI/Adaptec ATM
    511 ep*	at pci? dev ? function ?	# 3Com 3c59x
    512 epic*	at pci? dev ? function ?	# SMC EPIC/100 Ethernet
    513 esh*	at pci? dev ? function ?	# Essential HIPPI card
    514 ex*	at pci? dev ? function ?	# 3Com 90x[BC]
    515 fpa*	at pci? dev ? function ?	# DEC DEFPA FDDI
    516 fxp*	at pci? dev ? function ?	# Intel EtherExpress PRO 10+/100B
    517 gsip*	at pci? dev ? function ?	# NS83820 Gigabit Ethernet
    518 #hme*	at pci? dev ? function ?	# Sun Microelectronics STP2002-STQ
    519 le*	at pci? dev ? function ?	# PCnet-PCI Ethernet
    520 lmc*	at pci? dev ? function ?	# Lan Media Corp SSI/HSSI/DS3
    521 mtd*	at pci? dev ? function ?	# Myson MTD803 3-in-1 Ethernet
    522 ne*	at pci? dev ? function ?	# NE2000-compatible Ethernet
    523 ntwoc*	at pci? dev ? function ?	# Riscom/N2 PCI Sync Serial
    524 pcn*	at pci? dev ? function ?	# AMD PCnet-PCI Ethernet
    525 re*	at pci? dev ? function ?	# Realtek 8139C+/8169/8169S/8110S
    526 rtk*	at pci? dev ? function ?	# Realtek 8129/8139
    527 sf*	at pci? dev ? function ?	# Adaptec AIC-6915 Ethernet
    528 sip*	at pci? dev ? function ?	# SiS 900/DP83815 Ethernet
    529 skc* 	at pci? dev ? function ?	# SysKonnect SK9821 Gigabit Ethernet
    530 sk* 	at skc?				# SysKonnect SK9821 Gigabit Ethernet
    531 ste*	at pci? dev ? function ?	# Sundance ST-201 Ethernet
    532 stge*	at pci? dev ? function ?	# Sundance/Tamarack TC9021 Gigabit
    533 ti*	at pci? dev ? function ?	# Alteon ACEnic gigabit Ethernet
    534 tl*	at pci? dev ? function ?	# ThunderLAN-based Ethernet
    535 tlp*	at pci? dev ? function ?	# DECchip 21x4x and clones
    536 vge*	at pci? dev ? function ?	# VIATech VT612X Gigabit Ethernet
    537 vr*	at pci? dev ? function ?	# VIA Rhine Fast Ethernet
    538 wi*	at pci? dev ? function ?	# Intersil Prism Mini-PCI (802.11b)
    539 wm*	at pci? dev ? function ?	# Intel 82543/82544 gigabit
    540 xge*	at pci? dev ? function ?	# Neterion (S2io) Xframe-I 10GbE
    541 
    542 # PCMCIA network interfaces
    543 #an*	at pcmcia? function ?		# Aironet PC4500/PC4800 (802.11)
    544 #awi*	at pcmcia? function ?		# BayStack 650/660 (802.11FH/DS)
    545 #cnw*	at pcmcia? function ?		# Xircom/Netwave AirSurfer
    546 #ep*	at pcmcia? function ?		# 3Com 3c589 and 3c562 Ethernet
    547 #mbe*	at pcmcia? function ?		# MB8696x based Ethernet
    548 #ne*	at pcmcia? function ?		# NE2000-compatible Ethernet
    549 #ray*	at pcmcia? function ?		# Raytheon Raylink (802.11)
    550 #sm*	at pcmcia? function ?		# Megahertz Ethernet
    551 # tr at pcmcia has problems with Cardbus bridges
    552 #tr*	at pcmcia? function ?		# TROPIC based Token-Ring
    553 #wi*	at pcmcia? function ?		# Lucent/Intersil WaveLan IEEE (802.11)
    554 #xi*	at pcmcia? function ?		# Xircom CreditCard Ethernet
    555 
    556 #mhzc*	at pcmcia? function ?		# Megahertz Ethernet/Modem combo cards
    557 #com*	at mhzc?
    558 #sm*	at mhzc?
    559 
    560 # CardBus network cards
    561 #ath*	at cardbus? function ?	# Atheros 5210/5211/5212 802.11
    562 #ex*	at cardbus? function ?	# 3Com 3C575TX
    563 #fxp*	at cardbus? function ?	# Intel i8255x
    564 #rtk*	at cardbus? function ?	# Realtek 8129/8139
    565 #rtw*	at cardbus? function ?	# Realtek 8180L (802.11)
    566 #tlp*	at cardbus? function ?	# DECchip 21143
    567 
    568 # MII/PHY support
    569 acphy*	at mii? phy ?			# DAltima AC101 and AMD Am79c874 PHYs
    570 amhphy*	at mii? phy ?			# AMD 79c901 Ethernet PHYs
    571 bmtphy*	at mii? phy ?			# Broadcom BCM5201 and BCM5202 PHYs
    572 brgphy*	at mii? phy ?			# Broadcom BCM5400-family PHYs
    573 ciphy*	at mii? phy ?			# Cicada CS8201 Gig-E PHYs
    574 dmphy*	at mii? phy ?			# Davicom DM9101 PHYs
    575 exphy*	at mii? phy ?			# 3Com internal PHYs
    576 glxtphy* at mii? phy ?			# Level One LXT-1000 PHYs
    577 gphyter* at mii? phy ?			# NS83861 Gig-E PHY
    578 icsphy*	at mii? phy ?			# Integrated Circuit Systems ICS189x
    579 igphy* 	at mii? phy ?			# Intel IGP01E1000
    580 inphy*	at mii? phy ?			# Intel 82555 PHYs
    581 iophy*	at mii? phy ?			# Intel 82553 PHYs
    582 lxtphy*	at mii? phy ?			# Level One LXT-970 PHYs
    583 makphy*	at mii? phy ?			# Marvell Semiconductor 88E1000 PHYs
    584 nsphy*	at mii? phy ?			# NS83840 PHYs
    585 nsphyter* at mii? phy ?			# NS83843 PHYs
    586 pnaphy*	at mii? phy ?			# generic HomePNA PHYs
    587 qsphy*	at mii? phy ?			# Quality Semiconductor QS6612 PHYs
    588 sqphy*	at mii? phy ?			# Seeq 80220/80221/80223 PHYs
    589 tlphy*	at mii? phy ?			# ThunderLAN PHYs
    590 tqphy*	at mii? phy ?			# TDK Semiconductor PHYs
    591 ukphy*	at mii? phy ?			# generic unknown PHYs
    592 urlphy* at mii? phy ?			# Realtek RTL8150L internal PHYs
    593 
    594 
    595 # USB Controller and Devices
    596 
    597 # PCI USB controllers
    598 ehci*	at pci?	dev ? function ?	# Enhanced Host Controller
    599 ohci*	at pci?	dev ? function ?	# Open Host Controller
    600 uhci*	at pci?	dev ? function ?	# Universal Host Controller (Intel)
    601 
    602 # CardBus USB controllers
    603 #ehci*	at cardbus? function ?	# Enhanced Host Controller
    604 #ohci*	at cardbus? function ?	# Open Host Controller
    605 
    606 # ISA USB controllers
    607 #slhci0	at isa? port 0x300 irq 5	# ScanLogic SL811HS
    608 
    609 # USB bus support
    610 usb*	at ehci?
    611 usb*	at ohci?
    612 usb*	at uhci?
    613 #usb*	at slhci?
    614 
    615 # USB Hubs
    616 uhub*	at usb?
    617 uhub*	at uhub? port ? configuration ? interface ?
    618 
    619 # USB HID device
    620 uhidev*	at uhub? port ? configuration ? interface ?
    621 
    622 # USB Mice
    623 ums*	at uhidev? reportid ?
    624 wsmouse* at ums? mux 0
    625 
    626 # USB Keyboards
    627 ukbd*	at uhidev? reportid ?
    628 wskbd*	at ukbd? console ? mux 1
    629 
    630 # USB serial adpater
    631 ucycom*	at uhidev? reportid ?
    632 
    633 # USB Generic HID devices
    634 uhid*	at uhidev? reportid ?
    635 
    636 # USB Printer
    637 ulpt*	at uhub? port ? configuration ? interface ?
    638 
    639 # USB Modem
    640 umodem*	at uhub? port ? configuration ?
    641 ucom*	at umodem?
    642 
    643 # USB Mass Storage
    644 umass*	at uhub? port ? configuration ? interface ?
    645 #wd* at umass?
    646 
    647 # USB audio
    648 uaudio*	at uhub? port ? configuration ?
    649 
    650 # USB MIDI
    651 umidi* at uhub? port ? configuration ?
    652 
    653 # USB IrDA
    654 # USB-IrDA bridge spec
    655 uirda* at uhub? port ? configuration ? interface ?
    656 irframe* at uirda?
    657 
    658 # SigmaTel STIr4200 USB/IrDA Bridge
    659 ustir* at uhub? port ?
    660 irframe* at ustir?
    661 
    662 # USB Ethernet adapters
    663 aue*	at uhub? port ?		# ADMtek AN986 Pegasus based adapters
    664 axe*	at uhub? port ?		# ASIX AX88172 based adapters
    665 cue*	at uhub? port ?		# CATC USB-EL1201A based adapters
    666 kue*	at uhub? port ?		# Kawasaki LSI KL5KUSB101B based adapters
    667 url*	at uhub? port ?		# Realtek RTL8150L based adapters
    668 udav*	at uhub? port ?		# Davicom DM9601 based adapters
    669 
    670 # Prolific PL2301/PL2302 host-to-host adapter
    671 upl*	at uhub? port ?
    672 
    673 # Serial adapters
    674 ubsa*	at uhub? port ?		# Belkin serial adapter
    675 ucom*	at ubsa? portno ?
    676 
    677 uftdi*	at uhub? port ?		# FTDI FT8U100AX serial adapter
    678 ucom*	at uftdi? portno ?
    679 
    680 umct*	at uhub? port ?		# MCT USB-RS232 serial adapter
    681 ucom*	at umct? portno ?
    682 
    683 uplcom*	at uhub? port ?		# I/O DATA USB-RSAQ2 serial adapter
    684 ucom*	at uplcom? portno ?
    685 
    686 uvscom*	at uhub? port ?		# SUNTAC Slipper U VS-10U serial adapter
    687 ucom*	at uvscom? portno ?
    688 
    689 # Diamond Multimedia Rio 500
    690 urio*	at uhub? port ?
    691 
    692 # USB Handspring Visor
    693 uvisor*	at uhub? port ?
    694 ucom*	at uvisor?
    695 
    696 # Kyocera AIR-EDGE PHONE
    697 ukyopon* at uhub? port ?
    698 ucom*	at ukyopon? portno ?
    699 
    700 # USB scanners
    701 uscanner* at uhub? port ?
    702 
    703 # USB scanners that use SCSI emulation, e.g., HP5300
    704 usscanner* at uhub? port ?
    705 
    706 # Y@P firmware loader
    707 uyap* at uhub? port ?
    708 
    709 # D-Link DSB-R100 USB radio
    710 udsbr*	at uhub? port ?
    711 radio*	at udsbr?
    712 
    713 # USB Generic driver
    714 ugen*	at uhub? port ?
    715 
    716 
    717 # IrDA and Consumer Ir devices
    718 
    719 # Toshiba Oboe
    720 #oboe* 	at pci? dev ? function ?	# broken -- vtophys
    721 #irframe* at oboe?
    722 
    723 # PCI IEEE1394 controllers
    724 fwohci*	at pci? dev ? function ?	# IEEE1394 Open Host Controller
    725  
    726 # CardBus IEEE1394 controllers 
    727 #fwohci*	at cardbus? function ?	# IEEE1394 Open Host Controller
    728 
    729 ieee1394if* at fwohci?
    730 fwip*	at ieee1394if?			# IP over IEEE1394
    731 sbp*	at ieee1394if? euihi ? euilo ?
    732 
    733 # Audio Devices
    734 
    735 # PCI audio devices
    736 auich*	at pci? dev ? function ?	# Intel/AMD/nVidia AC'97 Audio
    737 auixp*	at pci? dev ? function ?	# ATI IXP AC'97 Audio
    738 autri*	at pci? dev ? function ?	# Trident 4DWAVE based AC'97 Audio
    739 auvia*	at pci? dev ? function ?	# VIA AC'97 audio
    740 azalia*	at pci? dev ? function ?	# High Definition Audio
    741 clcs*	at pci? dev ? function ?	# Cirrus Logic CS4280
    742 clct*	at pci? dev ? function ?	# Cirrus Logic CS4281
    743 cmpci*	at pci? dev ? function ?	# C-Media CMI8338/8738
    744 eap*	at pci? dev ? function ?	# Ensoniq AudioPCI
    745 emuxki*	at pci? dev ? function ?	# Creative SBLive! and PCI512
    746 esa*	at pci? dev ? function ?	# ESS Allegro-1 / Maestro-3 PCI Audio
    747 esm*	at pci? dev ? function ?	# ESS Maestro-1/2/2e PCI Audio Accelerator
    748 eso*	at pci? dev ? function ?	# ESS Solo-1 PCI AudioDrive
    749 fms*	at pci? dev ? function ?	# Forte Media FM801
    750 neo*	at pci? dev ? function ?	# NeoMagic 256 AC'97 Audio
    751 sv*	at pci? dev ? function ?	# S3 SonicVibes
    752 yds*	at pci? dev ? function ?	# Yamaha DS-1 PCI Audio
    753 
    754 # PCMCIA audio devices
    755 #esl*	at pcmcia? function ?			# ESS 1688 AudioDrive
    756 
    757 # OPL[23] FM synthesizers
    758 #opl0	at isa? port 0x388	# use only if not attached to sound card
    759 opl*	at cmpci? flags 1
    760 #opl*	at esl?
    761 opl*	at eso?
    762 opl*	at fms?
    763 opl*	at sv?
    764 
    765 # Audio support
    766 audio*	at audiobus?
    767 
    768 # MPU 401 UARTs
    769 #mpu*	at isa? port 0x330 irq 9	# MPU401 or compatible card
    770 mpu*	at cmpci?
    771 mpu*	at eso?
    772 mpu*	at yds?
    773 
    774 # MIDI support
    775 midi*	at midibus?
    776 midi*	at pcppi?		# MIDI interface to the PC speaker
    777 
    778 # The spkr driver provides a simple tone interface to the built in speaker.
    779 #spkr0	at pcppi?		# PC speaker
    780 
    781 
    782 # FM-Radio devices
    783 # PCI radio devices
    784 #gtp*	at pci? dev ? function ? # Guillemot Maxi Radio FM 2000 Radio Card
    785 
    786 # Radio support
    787 #radio*	at gtp?
    788 
    789 
    790 # TV cards
    791 
    792 # Brooktree 848/849/878/879 based TV cards
    793 bktr* at pci? dev ? function ?
    794 radio* at bktr?
    795 
    796 
    797 # Mice
    798 
    799 # Middle Digital, Inc. PCI-Weasel serial console board control
    800 # devices (watchdog timer, etc.)
    801 weasel* at pci?
    802 
    803 # Pull in optional local configuration
    804 include	"arch/amd64/conf/GENERIC.local"
    805 
    806 # Pseudo-Devices
    807 
    808 pseudo-device 	crypto			# /dev/crypto device
    809 pseudo-device	swcrypto		# software crypto implementation
    810 
    811 # disk/mass storage pseudo-devices
    812 pseudo-device	ccd		4	# concatenated/striped disk devices
    813 #pseudo-device	cgd		4	# cryptographic disk devices
    814 pseudo-device	raid		8	# RAIDframe disk driver
    815 options 	RAID_AUTOCONFIG		# auto-configuration of RAID components
    816 #Options to enable various other RAIDframe RAID types.
    817 #options 	RF_INCLUDE_EVENODD=1
    818 #options 	RF_INCLUDE_RAID5_RS=1
    819 #options 	RF_INCLUDE_PARITYLOGGING=1
    820 #options 	RF_INCLUDE_CHAINDECLUSTER=1
    821 #options 	RF_INCLUDE_INTERDECLUSTER=1
    822 #options 	RF_INCLUDE_PARITY_DECLUSTERING=1
    823 #options 	RF_INCLUDE_PARITY_DECLUSTERING_DS=1
    824 pseudo-device	fss		4	# file system snapshot device
    825 
    826 pseudo-device	md		1	# memory disk device (ramdisk)
    827 pseudo-device	vnd		4	# disk-like interface to files
    828 #options 	VND_COMPRESSION		# compressed vnd(4)
    829 
    830 # network pseudo-devices
    831 pseudo-device	bpfilter	8	# Berkeley packet filter
    832 pseudo-device	ipfilter		# IP filter (firewall) and NAT
    833 pseudo-device	loop			# network loopback
    834 pseudo-device	ppp		2	# Point-to-Point Protocol
    835 pseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
    836 pseudo-device	sl		2	# Serial Line IP
    837 pseudo-device	strip		2	# Starmode Radio IP (Metricom)
    838 pseudo-device	irframetty		# IrDA frame line discipline
    839 pseudo-device	tun		2	# network tunneling over tty
    840 pseudo-device	tap			# virtual Ethernet
    841 pseudo-device	gre		2	# generic L3 over IP tunnel
    842 pseudo-device	gif		4	# IPv[46] over IPv[46] tunnel (RFC1933)
    843 #pseudo-device	faith		1	# IPv[46] tcp relay translation i/f
    844 #pseudo-device	stf		1	# 6to4 IPv6 over IPv4 encapsulation
    845 pseudo-device	vlan			# IEEE 802.1q encapsulation
    846 pseudo-device	bridge			# simple inter-network bridging
    847 #options	BRIDGE_IPF		# bridge uses IP/IPv6 pfil hooks too
    848 
    849 # miscellaneous pseudo-devices
    850 pseudo-device	pty			# pseudo-terminals
    851 pseudo-device	tb		1	# tablet line discipline
    852 pseudo-device	sequencer	1	# MIDI sequencer
    853 # rnd works; RND_COM does not on port i386 yet.
    854 pseudo-device	rnd			# /dev/random and in-kernel generator
    855 #options 	RND_COM			# use "com" randomness as well (BROKEN)
    856 pseudo-device	clockctl		# user control of clock subsystem
    857 pseudo-device	ksyms			# /dev/ksyms
    858 #pseudo-device	pf			# PF packet filter
    859 #pseudo-device	pflog			# PF log if
    860 
    861 # a pseudo device needed for Coda	# also needs CODA (above)
    862 pseudo-device	vcoda		4	# coda minicache <-> venus comm.
    863 
    864 # wscons pseudo-devices
    865 pseudo-device	wsmux			# mouse & keyboard multiplexor
    866 pseudo-device	wsfont
    867