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