Home | History | Annotate | Line # | Download | only in conf
GENERIC revision 1.354
      1 #	$NetBSD: GENERIC,v 1.354 2000/06/16 10:31:03 hubertf Exp $
      2 #
      3 #	GENERIC -- everything that's currently supported
      4 #
      5 
      6 include "arch/i386/conf/std.i386"
      7 
      8 #ident 		"GENERIC-$Revision: 1.354 $"
      9 
     10 maxusers	32		# estimated number of users
     11 
     12 # CPU support.  At least one is REQUIRED.
     13 options 	I386_CPU
     14 options 	I486_CPU
     15 options 	I586_CPU
     16 options 	I686_CPU
     17 
     18 # CPU-related options.
     19 options 	MATH_EMULATE	# floating point emulation
     20 #options 	VM86		# virtual 8086 emulation
     21 options 	USER_LDT	# user-settable LDT; used by WINE
     22 # eliminate delay no-ops in I/O; recommended on all but very old machines
     23 #options 	DUMMY_NOPS
     24 
     25 # delay between "rebooting ..." message and hardware reset, in milliseconds
     26 #options 	CPURESET_DELAY=2000
     27 
     28 # This option allows you to force a serial console at the specified
     29 # I/O address.   see console(4) for details.
     30 #options 	"CONSDEVNAME=\"com\"",CONADDR=0x2f8,CONSPEED=57600
     31 #	you don't want the option below ON iff you are using the
     32 #	serial console option of the new boot strap code.
     33 #options 	CONS_OVERRIDE	# Always use above! independent of boot info
     34 
     35 # The following options override the memory sizes passed in from the boot
     36 # block.  Use them *only* if the boot block is unable to determine the correct
     37 # values.  Note that the BIOS may *correctly* report less than 640k of base
     38 # memory if the extended BIOS data area is located at the top of base memory
     39 # (as is the case on most recent systems).
     40 #options 	REALBASEMEM=639		# size of base memory (in KB)
     41 #options 	REALEXTMEM=15360	# size of extended memory (in KB)
     42 
     43 # Standard system options
     44 
     45 options 	UCONSOLE	# users can use TIOCCONS (for xconsole)
     46 options 	INSECURE	# disable kernel security levels
     47 
     48 options 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
     49 options 	NTP		# NTP phase/frequency locked loop
     50 
     51 options 	KTRACE		# system call tracing via ktrace(1)
     52 
     53 options 	SYSVMSG		# System V-like message queues
     54 options 	SYSVSEM		# System V-like semaphores
     55 options 	SYSVSHM		# System V-like memory sharing
     56 #options 	SHMMAXPGS=1024	# 1024 pages is the default
     57 
     58 options 	LKM		# loadable kernel modules
     59 
     60 # Diagnostic/debugging support options
     61 options 	DIAGNOSTIC	# cheap kernel consistency checks
     62 #options 	DEBUG		# expensive debugging checks/support
     63 #options 	KMEMSTATS	# kernel memory statistics (vmstat -m)
     64 options 	DDB		# in-kernel debugger
     65 #options 	DDB_HISTORY_SIZE=100	# enable history editing in DDB
     66 #options 	KGDB		# remote debugger
     67 #options 	"KGDB_DEVNAME=\"com\"",KGDBADDR=0x3f8,KGDBRATE=9600
     68 #makeoptions	DEBUG="-g"	# compile full symbol table
     69 
     70 # Compatibility options
     71 options 	COMPAT_NOMID	# compatibility with 386BSD, BSDI, NetBSD 0.8,
     72 options 	COMPAT_09	# NetBSD 0.9,
     73 options 	COMPAT_10	# NetBSD 1.0,
     74 options 	COMPAT_11	# NetBSD 1.1,
     75 options 	COMPAT_12	# NetBSD 1.2,
     76 options 	COMPAT_13	# NetBSD 1.3,
     77 options 	COMPAT_14	# NetBSD 1.4,
     78 options 	COMPAT_43	# and 4.3BSD
     79 options 	COMPAT_386BSD_MBRPART # recognize old partition ID
     80 
     81 options 	COMPAT_SVR4	# binary compatibility with SVR4
     82 options 	COMPAT_IBCS2	# binary compatibility with SCO and ISC
     83 options 	COMPAT_LINUX	# binary compatibility with Linux
     84 options 	COMPAT_FREEBSD	# binary compatibility with FreeBSD
     85 
     86 options 	COMPAT_AOUT	# binary compat for NetBSD a.out binaries
     87 
     88 # File systems
     89 file-system 	FFS		# UFS
     90 file-system 	EXT2FS		# second extended file system (linux)
     91 file-system 	LFS		# log-structured file system
     92 file-system 	MFS		# memory file system
     93 file-system 	NFS		# Network File System client
     94 file-system 	NTFS		# Windows/NT file system (experimental)
     95 file-system 	CD9660		# ISO 9660 + Rock Ridge file system
     96 file-system 	MSDOSFS		# MS-DOS file system
     97 file-system 	FDESC		# /dev/fd
     98 file-system 	KERNFS		# /kern
     99 file-system 	NULLFS		# loopback file system
    100 file-system 	OVERLAY		# overlay file system
    101 file-system 	PORTAL		# portal filesystem (still experimental)
    102 file-system 	PROCFS		# /proc
    103 file-system 	UMAPFS		# NULLFS + uid and gid remapping
    104 file-system 	UNION		# union file system
    105 file-system	CODA		# Coda File System; also needs vcoda (below)
    106 
    107 # File system options
    108 options 	QUOTA		# UFS quotas
    109 #options 	FFS_EI		# FFS Endian Independent support
    110 #options 	SOFTDEP         # FFS soft updates support.
    111 options 	NFSSERVER	# Network File System server
    112 #options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
    113 				# immutable) behave as system flags.
    114 
    115 # Networking options
    116 #options 	GATEWAY		# packet forwarding
    117 options 	INET		# IP + ICMP + TCP + UDP
    118 options 	INET6		# IPV6
    119 #options 	IPSEC		# IP security
    120 #options 	IPSEC_ESP	# IP security (encryption part; define w/IPSEC)
    121 #options 	IPSEC_DEBUG	# debug for IP security
    122 #options 	MROUTING	# IP multicast routing
    123 options 	NS		# XNS
    124 #options 	NSIP		# XNS tunneling over IP
    125 options 	ISO,TPIP	# OSI
    126 options 	EON		# OSI tunneling over IP
    127 options 	CCITT,LLC,HDLC	# X.25
    128 options 	NETATALK	# AppleTalk networking protocols
    129 options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
    130 options 	PPP_DEFLATE	# Deflate compression support for PPP
    131 options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
    132 options 	PFIL_HOOKS	# pfil(9) packet filter hooks
    133 options 	IPFILTER_LOG	# ipmon(8) log support
    134 
    135 # Compatibility with 4.2BSD implementation of TCP/IP.  Not recommended.
    136 #options 	TCP_COMPAT_42
    137 
    138 # These options enable verbose messages for several subsystems.
    139 # Warning, these may compile large string tables into the kernel!
    140 options 	EISAVERBOSE	# verbose EISA device autoconfig messages
    141 options 	MIIVERBOSE	# verbose PHY autoconfig messages
    142 options 	PCIVERBOSE	# verbose PCI device autoconfig messages
    143 #options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
    144 #options 	PCMCIAVERBOSE	# verbose PCMCIA configuration messages
    145 options 	SCSIVERBOSE	# human readable SCSI error messages
    146 options 	USBVERBOSE	# verbose USB device autoconfig messages
    147 #options 	PNPBIOSVERBOSE	# verbose PnP BIOS messages
    148 #options	PNPBIOSDEBUG	# more fullsome Pnp BIOS debugging messages
    149 options 	NFS_BOOT_DHCP,NFS_BOOT_BOOTPARAM
    150 
    151 #
    152 # wscons options
    153 #
    154 # builtin terminal emulations
    155 #options 	WSEMUL_SUN		# sun terminal emulation
    156 options 	WSEMUL_VT100		# VT100 / VT220 emulation
    157 # different kernel output - see dev/wscons/wsdisplayvar.h
    158 options 	WS_KERNEL_FG=WSCOL_GREEN
    159 #options 	WS_KERNEL_BG=WSCOL_BLACK
    160 # compatibility to other console drivers
    161 options 	WSDISPLAY_COMPAT_PCVT		# emulate some ioctls
    162 options 	WSDISPLAY_COMPAT_SYSCONS	# emulate some ioctls
    163 options 	WSDISPLAY_COMPAT_USL		# VT handling
    164 options 	WSDISPLAY_COMPAT_RAWKBD		# can get raw scancodes
    165 # see dev/pckbc/wskbdmap_mfii.c for implemented layouts
    166 #options 	PCKBD_LAYOUT="(KB_DE | KB_NODEAD)"
    167 # allocate a number of virtual screens at autoconfiguration time
    168 #options 	WSDISPLAY_DEFAULTSCREENS=4
    169 # use a large software cursor that doesn't blink
    170 options 	PCDISPLAY_SOFTCURSOR
    171 
    172 # Kernel root file system and dump configuration.
    173 config		netbsd	root on ? type ?
    174 #config		netbsd	root on sd0a type ffs
    175 #config		netbsd	root on ? type nfs
    176 
    177 #
    178 # Device configuration
    179 #
    180 
    181 mainbus0 at root
    182 
    183 #apm0	at mainbus0			# Advanced power management
    184 
    185 # Tuning for power management, see apm(4) for more details.
    186 #options 	APM_NO_IDLE		# Don't call BIOS CPU idle function
    187 #options 	APM_V10_ONLY		# Use only the APM 1.0 calls
    188 #options 	APM_NO_POWEROFF		# Don't power off on halt(8)
    189 #options 	APM_POWER_PRINT		# Print stats on the console
    190 #options 	APM_DISABLE_INTERRUPTS=0 # Don't disable interrupts
    191 
    192 
    193 # Basic Bus Support
    194 
    195 # Plug-and-Play BIOS and attached devices
    196 
    197 #pnpbios*	at mainbus?
    198 
    199 # mainboard audio chips
    200 #ess*		at pnpbios? index ?	# ESS AudioDrive
    201 #sb*		at pnpbios? index ?	# NeoMagic 256AV in sb mode
    202 #wss*		at pnpbios? index ?	# NeoMagic 256AV in wss mode
    203 #ym*		at pnpbios? index ?	# OPL3-SA3
    204 
    205 # com port
    206 # If enabled, consider changing "com0", "com1", and "com2" under "ISA Serial
    207 # Interfaces" to "com*", otherwise com2 will attach at pnpbios? and there
    208 # will be no com0.  A side effect is pcmcia (and other) com? previously
    209 # starting at com3 may attach as com1 or com2.
    210 #com*		at pnpbios? index ?	# serial ports
    211 
    212 # parallel port
    213 # The above "com*" comments apply, cf. "lpt0" under "ISA parallel
    214 # "printer interfaces".
    215 #lpt*		at pnpbios? index ?	# parallel ports
    216 
    217 #pckbc*		at pnpbios? index ?	# PC keyboard/mouse controller
    218 #fdc*		at pnpbios? index ?	# floppy controller
    219 
    220 # IDE controller on Toshiba Portege 3000 series (crippled PCI device)
    221 #pciide* at pnpbios? index ?
    222 
    223 # PCI bus support
    224 pci*	at mainbus? bus ?
    225 pci*	at pchb? bus ?
    226 pci*	at ppb? bus ?
    227 
    228 # Configure PCI using BIOS information
    229 #options 	PCIBIOS			# PCI BIOS support
    230 #options 	PCIBIOSVERBOSE		# PCI BIOS verbose info
    231 #options 	PCIBIOS_INTR_FIXUP	# fixup PCI interrupt routing
    232 #options 	PCIBIOS_IRQS_HINT="0x0a00" # PCI interrupts hint. IRQ 9 or 11
    233 #options 	PCIINTR_DEBUG		# super-verbose PCI interrupt fixup
    234 #options 	PCIBIOS_BUS_FIXUP	# fixup PCI bus numbering
    235 #options 	PCIBIOS_ADDR_FIXUP	# fixup PCI I/O addresses
    236 
    237 # PCI bridges
    238 pchb*	at pci? dev ? function ?	# PCI-Host bridges
    239 pceb*	at pci? dev ? function ?	# PCI-EISA bridges
    240 pcib*	at pci? dev ? function ?	# PCI-ISA bridges
    241 ppb*	at pci? dev ? function ?	# PCI-PCI bridges
    242 # XXX 'puc's aren't really bridges, but there's no better place for them here
    243 puc*	at pci? dev ? function ?	# PCI "universal" comm. cards
    244 
    245 # EISA bus support
    246 eisa*	at mainbus?
    247 eisa*	at pceb?
    248 
    249 # ISA bus support
    250 isa*	at mainbus?
    251 isa*	at pceb?
    252 isa*	at pcib?
    253 
    254 # PCMCIA bus support
    255 pcmcia*	at pcic? controller ? socket ?
    256 pcmcia*	at tcic? controller ? socket ?
    257 
    258 # ISA PCMCIA controllers
    259 pcic0	at isa? port 0x3e0 iomem 0xd0000 iosiz 0x10000
    260 pcic1	at isa? port 0x3e2 iomem 0xe0000 iosiz 0x4000
    261 tcic0	at isa? port 0x240 iomem 0xd0000 iosiz 0x10000
    262 
    263 # PCI PCMCIA controllers
    264 pcic0	at pci? dev? function ?
    265 
    266 # ISA Plug-and-Play bus support
    267 isapnp0	at isa?
    268 
    269 # ISA Plug-and-Play PCMCIA controllers
    270 pcic*	at isapnp?
    271 
    272 # CardBus bridge support
    273 #cbb*		at pci? dev ? function ?
    274 #cardslot*	at cbb?	
    275 
    276 # CardBus bus support
    277 #cardbus*	at cardslot?
    278 #pcmcia* 	at cardslot?
    279 
    280 # Coprocessor Support
    281 
    282 # Math Coprocessor support
    283 npx0	at isa? port 0xf0 irq 13	# x86 math coprocessor
    284 
    285 
    286 # Console Devices
    287 
    288 # ISA console
    289 #pc0	at isa? port 0x60 irq 1		# pccons generic PC console driver
    290 # Keyboard layout configuration for pccons
    291 #options 	FRENCH_KBD
    292 #options 	FINNISH_KBD
    293 #options 	GERMAN_KBD
    294 #options 	NORWEGIAN_KBD
    295 # pccons-specific options:
    296 #options 	XSERVER_DDB	# PF12 gets you into DDB when X is running
    297 #options 	XSERVER		# X server support
    298 
    299 
    300 # wscons
    301 pckbc0		at isa?			# pc keyboard controller
    302 pckbd*		at pckbc?		# PC keyboard
    303 # "opms" should not be enabled together with "pms" or "pmsi"
    304 pms*		at pckbc?		# PS/2 mouse for wsmouse
    305 pmsi*		at pckbc?		# PS/2 "Intelli"mouse for wsmouse
    306 #opms*		at pckbc?		# backwards compatible PS/2 mouse
    307 vga0		at isa?
    308 vga*		at pci? dev ? function ?
    309 pcdisplay0	at isa?			# CGA, MDA, EGA, HGA
    310 wsdisplay*	at vga? console ?
    311 wsdisplay*	at pcdisplay? console ?
    312 wskbd* 		at pckbd? console ?
    313 wsmouse*	at pms? mux 0
    314 wsmouse*	at pmsi? mux 0
    315 
    316 pcppi0		at isa?
    317 sysbeep0	at pcppi?
    318 
    319 # Serial Devices
    320 
    321 # PCI serial interfaces
    322 com*	at puc? port ?			# 16x50s on "universal" comm boards
    323 cy*	at pci? dev ? function ?	# Cyclades Cyclom-Y serial boards
    324 cz*	at pci? dev ? function ?	# Cyclades-Z multi-port serial boards
    325 
    326 # ISA Plug-and-Play serial interfaces
    327 com*	at isapnp?			# Modems and serial boards
    328 
    329 # PCMCIA serial interfaces
    330 com*	at pcmcia? function ?		# Modems and serial cards
    331 
    332 pcmcom*	at pcmcia? function ?		# PCMCIA multi-port serial cards
    333 com*	at pcmcom? slave ?		# ...and the slave devices
    334 
    335 # CardBus serial interfaces
    336 #com*	at cardbus? function ?		# Modems and serial cards
    337 
    338 # ISA serial interfaces
    339 #options 	COM_HAYESP		# adds Hayes ESP serial board support
    340 com0	at isa? port 0x3f8 irq 4	# Standard PC serial ports
    341 com1	at isa? port 0x2f8 irq 3
    342 com2	at isa? port 0x3e8 irq 5
    343 #com3	at isa? port 0x2e8 irq 9
    344 #ast0	at isa? port 0x1a0 irq 5	# AST 4-port serial cards
    345 #com*	at ast? slave ?
    346 #boca0	at isa? port 0x100 irq 5	# BOCA 8-port serial cards
    347 #boca0	at isa? port 0x100 irq 5	# BOCA 16-port serial cards (BB2016)
    348 #boca1	at isa? port 0x140 irq 5	# this line is also needed for BB2016
    349 #com*	at boca? slave ?
    350 #tcom0	at isa? port 0x100 irq 7	# TC-800 8-port serial cards
    351 #com*	at tcom? slave ?
    352 #rtfps0	at isa? port 0x1230 irq 10	# RT 4-port serial cards
    353 #com*	at rtfps? slave ?
    354 #cy0	at isa? iomem 0xd4000 irq 12	# Cyclades serial cards
    355 #addcom0 at isa? port 0x108 irq 5	# Addonics FlexPort 8S
    356 #com*	at addcom? slave ?
    357 
    358 # Parallel Printer Interfaces
    359 
    360 # PCI parallel printer interfaces
    361 lpt*	at puc? port ?			# || ports on "universal" comm boards
    362 
    363 # ISA parallel printer interfaces
    364 lpt0	at isa? port 0x378 irq 7	# standard PC parallel ports
    365 lpt1	at isa? port 0x278
    366 lpt2	at isa? port 0x3bc
    367 
    368 # LM7[89] and compatible hardware monitors
    369 #lm0	at isa?	port 0x290		# other common ports: 0x280, 0x310
    370 
    371 # VIA VT82C686A hardware monitor
    372 #viapm*	at pci? dev ? function ?
    373 #viaenv* at viapm?
    374 
    375 # SCSI Controllers and Devices
    376 
    377 # PCI SCSI controllers
    378 adv*	at pci? dev ? function ?	# AdvanSys 1200[A,B], 9xx[U,UA] SCSI
    379 adw*	at pci? dev ? function ?	# AdvanSys 9x0UW[D], 3940U[2,3]W SCSI
    380 ahc*	at pci? dev ? function ?	# Adaptec [23]94x, aic78x0 SCSI
    381 bha*	at pci? dev ? function ?	# BusLogic 9xx SCSI
    382 dpt*	at pci? dev ? function ?	# DPT SmartCache/SmartRAID
    383 isp*	at pci? dev ? function ?	# Qlogic ISP [12]0x0 SCSI/FibreChannel
    384 #ncr*	at pci? dev ? function ?	# NCR 53c8xx SCSI (old driver)
    385 siop*	at pci? dev ? function ?	# Symbios 53c8xx SCSI
    386 pcscp*	at pci? dev ? function ?	# AMD 53c974 PCscsi-PCI SCSI
    387 
    388 # EISA SCSI controllers
    389 ahb*	at eisa? slot ?			# Adaptec 174[02] SCSI
    390 ahc*	at eisa? slot ?			# Adaptec 274x, aic7770 SCSI
    391 bha*	at eisa? slot ?			# BusLogic 7xx SCSI
    392 dpt*	at eisa? slot ?			# DPT EATA SCSI
    393 uha*	at eisa? slot ?			# UltraStor 24f SCSI
    394 
    395 # PCMCIA SCSI controllers
    396 aic*	at pcmcia? function ?		# Adaptec APA-1460 SCSI
    397 esp*	at pcmcia? function ?		# Qlogic ESP406/FAS408 SCSI
    398 
    399 # ISA Plug-and-Play SCSI controllers
    400 aha*	at isapnp? 			# Adaptec AHA-154[02
    401 aic*	at isapnp?			# Adaptec AHA-1520B
    402 
    403 # ISA SCSI controllers
    404 adv0	at isa? port ? irq ? drq ?	# AdvanSys APB-514[02]
    405 aha0	at isa? port 0x330 irq ? drq ?	# Adaptec 154[02] SCSI
    406 aha1	at isa? port 0x334 irq ? drq ?
    407 ahc0	at isa? port ? irq ?		# Adaptec 284x SCSI
    408 aic0	at isa? port 0x340 irq 11	# Adaptec 152[02] SCSI
    409 bha0	at isa? port 0x330 irq ? drq ?	# BusLogic [457]4X SCSI
    410 bha1	at isa? port 0x334 irq ? drq ?
    411 # The "nca" and "dpt" probes might give false hits or hang your machine.
    412 #dpt0	at isa? port 0x170 irq ? drq ?	# DPT SmartCache/SmartRAID
    413 #nca0	at isa? port 0x360 irq 15	# Port-mapped NCR 53C80 contoller
    414 #nca1	at isa? iomem 0xd8000 irq 5	# Memory-mapped controller (T128, etc.)
    415 sea0	at isa? iomem 0xc8000 irq 5	# Seagate/Future Domain SCSI
    416 uha0	at isa? port 0x330 irq ? drq ?	# UltraStor [13]4f SCSI
    417 uha1	at isa? port 0x340 irq ? drq ?
    418 wds0	at isa? port 0x350 irq 15 drq 6	# WD7000 and TMC-7000 controllers
    419 wds1	at isa? port 0x358 irq 11 drq 5
    420 
    421 # CardBus SCSI cards
    422 #ahc*	at cardbus? dev ? function ?	# Adaptec ADP-1480
    423 
    424 # SCSI bus support
    425 scsibus* at adv?
    426 scsibus* at adw?
    427 scsibus* at aha?
    428 scsibus* at ahb?
    429 scsibus* at ahc?
    430 scsibus* at aic?
    431 scsibus* at bha?
    432 scsibus* at dpt?
    433 scsibus* at esp?
    434 scsibus* at isp?
    435 #scsibus* at nca?
    436 #scsibus* at ncr?
    437 scsibus* at pcscp?
    438 scsibus* at sea?
    439 scsibus* at siop?
    440 scsibus* at uha?
    441 scsibus* at wds?
    442 
    443 # SCSI devices
    444 sd*	at scsibus? target ? lun ?	# SCSI disk drives
    445 st*	at scsibus? target ? lun ?	# SCSI tape drives
    446 cd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives
    447 ch*	at scsibus? target ? lun ?	# SCSI autochangers
    448 ses*	at scsibus? target ? lun ?	# SCSI Enclosure Services devices
    449 ss*	at scsibus? target ? lun ?	# SCSI scanners
    450 uk*	at scsibus? target ? lun ?	# SCSI unknown
    451 
    452 # RAID controllers and devices
    453 cac*	at pci? dev ? function ?	# Compaq array controller
    454 ca*	at cac? unit ?			# Compaq array disk device
    455 
    456 # IDE and related devices
    457 # PCI IDE controllers - see pciide(4) for supported hardware.
    458 # The 0x0001 flag force the driver to use DMA, even if the driver doesn't know
    459 # how to set up DMA modes for this chip. This may work, or may cause
    460 # a machine hang with some controllers.
    461 pciide* at pci? dev ? function ? flags 0x0000
    462 
    463 # ISA Plug-and-Play IDE controllers
    464 wdc*	at isapnp? 
    465 
    466 # PCMCIA IDE controllers
    467 wdc*	at pcmcia? function ?
    468 
    469 # ISA ST506, ESDI, and IDE controllers
    470 # Use flags 0x01 if you want to try to use 32bits data I/O (the driver will
    471 # fall back to 16bits I/O if 32bits I/O are not functional).
    472 # Some controllers pass the initial 32bit test, but will fail later.
    473 wdc0	at isa? port 0x1f0 irq 14 flags 0x00
    474 wdc1	at isa? port 0x170 irq 15 flags 0x00
    475 
    476 # IDE drives
    477 # Flags are used only with controllers that support DMA operations
    478 # and mode settings (e.g. some pciide controllers)
    479 # The lowest order four bits (rightmost digit) of the flags define the PIO
    480 # mode to use, the next set of four bits the DMA mode and the third set the
    481 # UltraDMA mode. For each set of four bits, the 3 lower bits define the mode
    482 # to use, and the last bit must be 1 for this setting to be used.
    483 # For DMA and UDMA, 0xf (1111) means 'disable'.
    484 # 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'.
    485 # (0xc=1100, 0xa=1010, 0xf=1111)
    486 # 0x0000 means "use whatever the drive claims to support".
    487 wd*	at wdc? channel ? drive ? flags 0x0000
    488 wd*	at pciide? channel ? drive ? flags 0x0000
    489 
    490 # ATAPI bus support
    491 atapibus* at wdc? channel ?
    492 atapibus* at pciide? channel ?
    493 
    494 # ATAPI devices
    495 # flags have the same meaning as for IDE drives.
    496 cd*	at atapibus? drive ? flags 0x0000	# ATAPI CD-ROM drives
    497 sd*	at atapibus? drive ? flags 0x0000	# ATAPI disk drives
    498 uk*	at atapibus? drive ? flags 0x0000	# ATAPI unknown
    499 
    500 
    501 # Miscellaneous mass storage devices
    502 
    503 # ISA floppy
    504 fdc0	at isa? port 0x3f0 irq 6 drq 2	# standard PC floppy controllers
    505 #fdc1	at isa? port 0x370 irq ? drq ?
    506 fd*	at fdc? drive ?			# the drives themselves
    507 # some machines need you to do this instead of fd*
    508 #fd0	at fdc0 drive 0
    509 
    510 # ISA CD-ROM devices
    511 #mcd0	at isa? port 0x300 irq 10	# Mitsumi CD-ROM drives
    512 
    513 # ISA tape devices
    514 # note: the wt driver conflicts unpleasantly with SMC boards at the
    515 # same I/O address. The probe reprograms their EEPROMs. Don't
    516 # uncomment it unless you are actually using it.
    517 #wt0	at isa? port 0x308 irq 5 drq 1	# Archive and Wangtek QIC tape drives
    518 
    519 
    520 # Network Interfaces
    521 
    522 # PCI network interfaces
    523 de*	at pci? dev ? function ?	# DEC 21x4x-based Ethernet
    524 en*	at pci? dev ? function ?	# ENI/Adaptec ATM
    525 ep*	at pci? dev ? function ?	# 3Com 3c59x
    526 ex*	at pci? dev ? function ?	# 3Com 90x[B]
    527 epic*	at pci? dev ? function ?	# SMC EPIC/100 Ethernet
    528 esh*	at pci? dev ? function ?	# Essential HIPPI card
    529 fpa*	at pci? dev ? function ?	# DEC DEFPA FDDI
    530 fxp*	at pci? dev ? function ?	# Intel EtherExpress PRO 10+/100B
    531 le*	at pci? dev ? function ?	# PCnet-PCI Ethernet
    532 lmc*	at pci? dev ? function ?	# Lan Media Corp SSI/HSSI/DS3
    533 ne*	at pci? dev ? function ?	# NE2000-compatible Ethernet
    534 ntwoc*	at pci? dev ? function ?	# Riscom/N2 PCI Sync Serial
    535 rtk*	at pci? dev ? function ?	# Realtek 8129/8139
    536 sip*	at pci? dev ? function ?	# SiS 900 Ethernet
    537 ti*	at pci? dev ? function ?	# Alteon ACEnic gigabit Ethernet
    538 tl*	at pci? dev ? function ?	# ThunderLAN-based Ethernet
    539 tlp*	at pci? dev ? function ?	# DECchip 21x4x (and clones) Ethernet
    540 #options 	TLP_MATCH_21040
    541 #options 	TLP_MATCH_21041
    542 #options 	TLP_MATCH_21140
    543 #options 	TLP_MATCH_21142
    544 vr*	at pci? dev ? function ?	# VIA Rhine Fast Ethernet
    545 
    546 # EISA network interfaces
    547 ep*	at eisa? slot ?			# 3Com 3c579 Ethernet
    548 fea*	at eisa? slot ?			# DEC DEFEA FDDI
    549 tlp*	at eisa? slot ?			# DEC DE-425 Ethernet
    550 
    551 # ISA Plug-and-Play network interfaces
    552 ep*	at isapnp?			# 3Com 3c509 Ethernet
    553 ne*	at isapnp?			# NE2000-compatible Ethernet
    554 tr*	at isapnp?			# IBM/3COM TROPIC Token-Ring
    555 
    556 # PCMCIA network interfaces
    557 awi*	at pcmcia? function ?		# BayStack 650/660 (802.11FH/DS)
    558 cnw*	at pcmcia? function ?		# Xircom/Netwave AirSurfer
    559 ep*	at pcmcia? function ?		# 3Com 3c589 and 3c562 Ethernet
    560 mbe*	at pcmcia? function ?		# MB8696x based Ethernet
    561 ne*	at pcmcia? function ?		# NE2000-compatible Ethernet
    562 ray*	at pcmcia? function ?		# Raytheon Raylink (802.11)
    563 sm*	at pcmcia? function ?		# Megahertz Ethernet
    564 wi*	at pcmcia? function ?		# Lucent WaveLan IEEE (802.11)
    565 xi*	at pcmcia? function ?		# Xircom CreditCard Ethernet
    566 
    567 mhzc*	at pcmcia? function ?		# Megahertz Ethernet/Modem combo cards
    568 com*	at mhzc?
    569 sm*	at mhzc?
    570 
    571 # ISA network interfaces
    572 ate0	at isa? port 0x2a0 irq ?		# AT1700
    573 cs0	at isa? port 0x300 iomem ? irq ? drq ?	# CS8900 Ethernet
    574 ec0	at isa? port 0x250 iomem 0xd8000 irq 9	# 3Com 3c503 Ethernet
    575 eg0	at isa? port 0x280 irq 9		# 3C505 ethernet cards
    576 el0	at isa? port 0x300 irq 9		# 3C501 ethernet cards
    577 ep*	at isa? port ? irq ?			# 3C509 ethernet cards
    578 ef0	at isa? port 0x360 iomem 0xd0000 irq 7	# 3C507
    579 ai0	at isa? port 0x360 iomem 0xd0000 irq 7	# StarLAN
    580 fmv0	at isa? port 0x2a0 irq ?		# FMV-180 series
    581 ix0	at isa? port 0x300 irq 10		# EtherExpress/16
    582 iy0	at isa? port 0x360 irq ?		# EtherExpress PRO 10 ISA
    583 lc0	at isa? port 0x320 iomem ? irq ?	# DEC EtherWORKS III (LEMAC)
    584 #depca0	at isa? port 0x300 iomem 0xc8000 iosiz 0x8000 irq 5	# DEPCA
    585 #le*	at depca?
    586 nele0	at isa? port 0x320 irq 9 drq 7		# NE2100
    587 le*	at nele?
    588 #ntwoc0	at isa? port 0x300 irq 5 iomem 0xc8000 flags 1	# Riscom/N2 sync serial
    589 bicc0	at isa? port 0x320 irq 10 drq 7		# BICC IsoLan
    590 le*	at bicc?
    591 ne0	at isa? port 0x280 irq 9		# NE[12]000 ethernet cards
    592 ne1	at isa? port 0x300 irq 10
    593 sm0	at isa? port 0x300 irq 10		# SMC91C9x Ethernet
    594 tr0	at isa? port 0xa20 iomem 0xd8000 irq ?  # IBM TROPIC based Token-Ring
    595 tr1	at isa? port 0xa24 iomem 0xd0000 irq ?  # IBM TROPIC based Token-Ring
    596 tr*	at isa? port ? irq ?			# 3COM TROPIC based Token-Ring
    597 we0	at isa? port 0x280 iomem 0xd0000 irq 9	# WD/SMC Ethernet
    598 we1	at isa? port 0x300 iomem 0xcc000 irq 10
    599 
    600 # CardBus network cards
    601 #ex*	at cardbus? dev ? function ?	# 3Com 3C575TX
    602 #fxp*	at cardbus? dev ? function ?	# Intel i8255x
    603 #rtk*	at cardbus? dev ? function ?	# Realtek 8129/8139
    604 #tlp*	at cardbus? dev ? function ?	# DECchip 21143
    605 
    606 # MII/PHY support
    607 dmphy*	at mii? phy ?			# Davicom DM9101 PHYs
    608 exphy*	at mii? phy ?			# 3Com internal PHYs
    609 icsphy*	at mii? phy ?			# Integrated Circuit Systems ICS1890
    610 inphy*	at mii? phy ?			# Intel 82555 PHYs
    611 iophy*	at mii? phy ?			# Intel 82553 PHYs
    612 lxtphy*	at mii? phy ?			# Level One LXT-970 PHYs
    613 nsphy*	at mii? phy ?			# NS83840 PHYs
    614 nsphyter* at mii? phy ?			# NS83843 PHYs
    615 qsphy*	at mii? phy ?			# Quality Semiconductor QS6612 PHYs
    616 sqphy*	at mii? phy ?			# Seeq 80220/80221/80223 PHYs
    617 tlphy*	at mii? phy ?			# ThunderLAN PHYs
    618 tqphy*	at mii? phy ?			# TDK Semiconductor PHYs
    619 ukphy*	at mii? phy ?			# generic unknown PHYs
    620 
    621 # USB Controller and Devices
    622 
    623 # PCI USB controllers
    624 ohci*	at pci?	dev ? function ?	# Open Host Controller
    625 uhci*	at pci?	dev ? function ?	# Universal Host Controller (Intel)
    626 
    627 # CardBus USB controllers
    628 #ohci*	at cardbus? dev ? function ?	# Open Host Controller
    629 
    630 # USB bus support
    631 usb*	at ohci?
    632 usb*	at uhci?
    633 
    634 # USB Hubs
    635 uhub*	at usb?
    636 uhub*	at uhub? port ? configuration ? interface ?
    637 
    638 # USB Mice
    639 ums*	at uhub? port ? configuration ? interface ?
    640 wsmouse*	at ums? mux 0
    641 
    642 # USB Keyboards
    643 ukbd*	at uhub? port ? configuration ? interface ?
    644 wskbd*	at ukbd? console ? mux 1
    645 
    646 # USB Generic HID devices
    647 uhid*	at uhub? port ? configuration ? interface ?
    648 
    649 # USB Printer
    650 ulpt*	at uhub? port ? configuration ? interface ?
    651 
    652 # USB Modem
    653 umodem*	at uhub? port ? configuration ?
    654 ucom*	at umodem?
    655 
    656 # USB Mass Storage
    657 umass*	at uhub? port ? configuration ? interface ?
    658 atapibus* at umass? channel ?
    659 scsibus* at umass? channel ?
    660 
    661 # USB audio
    662 uaudio*	at uhub? port ? configuration ?
    663 
    664 # USB Ethernet adapters
    665 aue*	at uhub? port ?		# ADMtek AN986 Pegasus based adapters
    666 cue*	at uhub? port ?		# CATC USB-EL1201A based adapters
    667 kue*	at uhub? port ?		# Kawasaki LSI KL5KUSB101B based adapters
    668 
    669 # Prolofic PL2301/PL2302 host-to-host adapter
    670 upl*	at uhub? port ?
    671 
    672 # Serial adapters
    673 # FTDI FT8U100AX serial adapter
    674 #uftdi*	at uhub? port ?
    675 #ucom*	at uftdi? portno ?
    676 
    677 # Diamond Multimedia Rio 500
    678 urio*	at uhub? port ?
    679 
    680 # USB Handspring Visor
    681 uvisor*	at uhub? port ?
    682 ucom*	at uvisor?
    683 
    684 # USB Generic driver
    685 ugen*	at uhub? port ?
    686 
    687 # Audio Devices
    688 
    689 # PCI audio devices
    690 auvia*	at pci? dev ? function ?	# VIA VT82C686A integrated AC'97 Audio
    691 clcs*	at pci? dev ? function ?	# Cirrus Logic CS4280
    692 cmpci*	at pci? dev ? function ?	# C-Media CMI8338/8738
    693 eap*	at pci? dev ? function ?	# Ensoniq AudioPCI
    694 eso*	at pci? dev ? function ?	# ESS Solo-1 PCI AudioDrive
    695 fms*	at pci? dev ? function ?	# Forte Media FM801
    696 sv*	at pci? dev ? function ?	# S3 SonicVibes
    697 
    698 # ISA Plug-and-Play audio devices
    699 ess*	at isapnp?			# ESS Tech ES1887, ES1888, ES888 audio
    700 guspnp*	at isapnp?			# Gravis Ultra Sound PnP audio
    701 sb*	at isapnp?			# SoundBlaster-compatible audio
    702 wss*	at isapnp?			# Windows Sound System
    703 ym*	at isapnp?			# Yamaha OPL3-SA3 audio
    704 
    705 # ISA audio devices
    706 # the "aria" probe might give false hits
    707 #aria0	at isa? port 0x290 irq 10 		# Aria
    708 #ess0	at isa? port 0x220 irq 5 drq 1 drq2 5	# ESS 18XX
    709 gus0	at isa? port 0x220 irq 7 drq 1 drq2 6	# Gravis Ultra Sound
    710 pas0	at isa? port 0x220 irq 7 drq 1		# ProAudio Spectrum
    711 pss0	at isa? port 0x220 irq 7 drq 6  	# Personal Sound System
    712 sp0	at pss0 port 0x530 irq 10 drq 0		# 	sound port driver
    713 sb0	at isa? port 0x220 irq 5 drq 1 drq2 5	# SoundBlaster
    714 wss0	at isa? port 0x530 irq 10 drq 0	drq2 1	# Windows Sound System
    715 
    716 #cms0	at isa? port 0x220			# Creative Music System
    717 
    718 # OPL[23] FM synthesizers
    719 #opl0	at isa? port 0x388	# use only if not attached to sound card
    720 opl*	at eso?
    721 opl*	at ess?
    722 opl*	at fms?
    723 opl*	at sb?
    724 opl*	at sv?
    725 opl*	at wss?
    726 opl*	at ym?
    727 
    728 # Audio support
    729 #audio*	at aria?
    730 audio*	at auvia?
    731 audio*	at clcs?
    732 audio*	at cmpci?
    733 audio*	at eap?
    734 audio*	at eso?
    735 audio*	at ess?
    736 audio*	at fms?
    737 audio*	at gus?
    738 audio*	at guspnp?
    739 audio*	at pas?
    740 audio*	at sb?
    741 audio*	at sp?
    742 audio*	at sv?
    743 audio*	at uaudio?
    744 audio*	at wss?
    745 audio*	at ym?
    746 
    747 # MPU 401 UARTs
    748 #mpu*	at isa? port 0x330 irq 9        # MPU401 or compatible card
    749 mpu*	at eso?
    750 mpu*	at fms?
    751 mpu*	at sb?
    752 mpu*	at ym?
    753 
    754 # MIDI support
    755 #midi*	at cms?			# Creative Music System
    756 midi*	at eap?			# 137[01] MIDI port
    757 midi*	at mpu?			# MPU 401
    758 midi*	at opl?			# OPL FM synth
    759 midi*	at pcppi?		# MIDI interface to the PC speaker
    760 midi*	at sb?			# SB1 MIDI port
    761 
    762 # The spkr driver provides a simple tone interface to the built in speaker.
    763 #spkr0	at pcppi?		# PC speaker
    764 
    765 # TV cards
    766 
    767 # Brooktree 848/849/878/879 based TV cards
    768 bktr* at pci? dev ? function ?
    769 
    770 # Mice
    771 
    772 # ISA busmice
    773 lms0	at isa? port 0x23c irq 5	# Logitech bus mouse
    774 lms1	at isa? port 0x238 irq 5
    775 mms0	at isa? port 0x23c irq 5	# Microsoft InPort mouse
    776 mms1	at isa? port 0x238 irq 5
    777 wsmouse*	at lms? mux 0
    778 wsmouse*	at mms? mux 0
    779 # backwards compatible versions
    780 #olms0	at isa? port 0x23c irq 5	# Logitech bus mouse
    781 #olms1	at isa? port 0x238 irq 5
    782 #omms0	at isa? port 0x23c irq 5	# Microsoft InPort mouse
    783 #omms1	at isa? port 0x238 irq 5
    784 #opms0	at pc? irq 12		# PS/2 auxiliary port mouse
    785 
    786 
    787 # Joysticks
    788 
    789 # ISA Plug-and-Play joysticks
    790 joy*	at isapnp?			# Game ports (usually on audio cards)
    791 
    792 # PCI joysticks
    793 joy*	at pci?				# Game ports (usually on audio cards)
    794 
    795 # ISA joysticks. Probe is a little strange; add only if you have one.
    796 #joy0	at isa? port 0x201
    797 
    798 
    799 # Miscellaneous Devices
    800 
    801 # Planetconnect Satellite receiver driver.
    802 #satlink0 at isa? port 0x300 drq 1
    803 
    804 
    805 # Pull in optional local configuration
    806 include	"arch/i386/conf/GENERIC.local"
    807 
    808 
    809 # Pseudo-Devices
    810 
    811 # disk/mass storage pseudo-devices
    812 pseudo-device	ccd		4	# concatenated/striped disk devices
    813 #pseudo-device	raid		4	# RAIDframe disk driver
    814 #options 	RAID_AUTOCONFIG		# auto-configuration of RAID components
    815 pseudo-device	md		1	# memory disk device (ramdisk)
    816 pseudo-device	vnd		4	# disk-like interface to files
    817 
    818 # network pseudo-devices
    819 pseudo-device	bpfilter	8	# Berkeley packet filter
    820 pseudo-device	ipfilter		# IP filter (firewall) and NAT
    821 pseudo-device	loop			# network loopback
    822 pseudo-device	ppp		2	# Point-to-Point Protocol
    823 pseudo-device	sl		2	# Serial Line IP
    824 pseudo-device	strip		2	# Starmode Radio IP (Metricom)
    825 pseudo-device	tun		2	# network tunneling over tty
    826 pseudo-device	gre		2	# generic L3 over IP tunnel
    827 pseudo-device	ipip		2	# IP Encapsulation within IP (RFC 2003)
    828 pseudo-device	gif		4	# IPv[46] over IPv[46] tunnel (RFC1933)
    829 #pseudo-device	faith		1	# IPv[46] tcp relay translation i/f
    830 #pseudo-device	stf		1	# 6to4 IPv6 over IPv4 encapsulation
    831 
    832 # miscellaneous pseudo-devices
    833 pseudo-device	pty		64	# pseudo-terminals
    834 pseudo-device	tb		1	# tablet line discipline
    835 pseudo-device	sequencer	1	# MIDI sequencer
    836 # rnd works; RND_COM does not on port i386 yet.
    837 pseudo-device	rnd			# /dev/random and in-kernel generator
    838 #options 	RND_COM			# use "com" randomness as well (BROKEN)
    839 
    840 # a pseudo device needed for Coda	# also needs CODA (above)
    841 pseudo-device	vcoda		4	# coda minicache <-> venus comm.
    842 
    843 # mouse & keyboard multiplexor pseudo-devices
    844 pseudo-device	wsmux		2
    845