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