Home | History | Annotate | Line # | Download | only in conf
INSTALL revision 1.220.2.10
      1 #	$NetBSD: INSTALL,v 1.220.2.10 2005/02/15 21:32:41 skrll Exp $
      2 #
      3 #	INSTALL - Installation kernel.
      4 #
      5 #	This kernel should be derived from GENERIC with some features
      6 #	commented out.
      7 #
      8 #	This kernel does NOT support X, mice, audio devices, non-NetBSD
      9 #	emulation.
     10 #
     11 
     12 include "arch/i386/conf/std.i386"
     13 
     14 #options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
     15 
     16 makeoptions	COPTS="-Os"		# Optimise for space. Implies -O2
     17 
     18 # Enable the hooks used for initializing the root memory-disk.
     19 options 	MEMORY_DISK_HOOKS
     20 options 	MEMORY_DISK_IS_ROOT	# force root on memory disk
     21 options 	MEMORY_DISK_SERVER=0	# no userspace memory disk support
     22 options 	MEMORY_DISK_ROOT_SIZE=10000	# size of memory disk, in blocks
     23 
     24 maxusers	32		# estimated number of users
     25 
     26 # CPU support.  At least one is REQUIRED.
     27 options 	I386_CPU
     28 options 	I486_CPU
     29 options 	I586_CPU
     30 options 	I686_CPU
     31 
     32 # CPU-related options.
     33 options 	MATH_EMULATE	# floating point emulation
     34 #options 	VM86		# virtual 8086 emulation
     35 #options 	USER_LDT	# user-settable LDT; used by WINE
     36 
     37 # This option allows you to force a serial console at the specified
     38 # I/O address.
     39 #options 	CONSDEVNAME="\"com\"",CONADDR=0x3f8,CONSPEED=9600
     40 
     41 # The following options override the memory sizes passed in from the boot
     42 # block.  Use them *only* if the boot block is unable to determine the correct
     43 # values.  Note that the BIOS may *correctly* report less than 640k of base
     44 # memory if the extended BIOS data area is located at the top of base memory
     45 # (as is the case on most recent systems).
     46 #options 	REALBASEMEM=...	# size of base memory
     47 #options 	REALEXTMEM=...	# size of extended memory
     48 
     49 # Avoid irq 5 and 7, the most likely cause of problems on modern laptops.
     50 options 		PCIC_ISA_INTR_ALLOC_MASK=0xff5f
     51 
     52 # Standard system options
     53 
     54 options 	INSECURE	# disable kernel security levels
     55 
     56 options 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
     57 #options 	NTP		# NTP phase/frequency locked loop
     58 
     59 #options 	KTRACE		# system call tracing via ktrace(1)
     60 
     61 #options 	SYSVMSG		# System V-like message queues
     62 #options 	SYSVSEM		# System V-like semaphores
     63 #options 	SYSVSHM		# System V-like memory sharing
     64 #options 	SHMMAXPGS=2048	# 2048 pages is the default
     65 
     66 #options 	LKM		# loadable kernel modules
     67 
     68 options 	USERCONF	# userconf(4) support
     69 options 	PIPE_SOCKETPAIR		# smaller, but slower pipe(2)
     70 #options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
     71 options 	MALLOC_NOINLINE		# Not inlining MALLOC saves memory
     72 
     73 # Diagnostic/debugging support options
     74 #options 	DIAGNOSTIC	# expensive kernel consistency checks
     75 #options 	DEBUG		# expensive debugging checks/support
     76 #options 	KMEMSTATS	# kernel memory statistics (vmstat -m)
     77 options 	DDB		# in-kernel debugger
     78 #options 	DDB_ONPANIC=1	# see also sysctl(8): `ddb.onpanic'
     79 options 	DDB_HISTORY_SIZE=512	# enable history editing in DDB
     80 #options 	KGDB		# remote debugger
     81 #options 	KGDB_DEVNAME="\"com\"",KGDB_DEVADDR=0x3f8,KGDB_DEVRATE=9600
     82 #makeoptions	DEBUG="-g"	# compile full symbol table
     83 
     84 # Compatibility options
     85 #options 	COMPAT_NOMID	# NetBSD 0.8, 386BSD, and BSDI
     86 #options 	COMPAT_09	# NetBSD 0.9
     87 options 	COMPAT_10	# NetBSD 1.0
     88 options 	COMPAT_11	# NetBSD 1.1
     89 options 	COMPAT_12	# NetBSD 1.2, 386BSD, and BSDI
     90 options 	COMPAT_13	# NetBSD 1.3, 386BSD, and BSDI
     91 options 	COMPAT_14	# NetBSD 1.4
     92 options 	COMPAT_15	# NetBSD 1.5
     93 options 	COMPAT_16	# NetBSD 1.6
     94 #options 	COMPAT_43	# 4.3BSD, 386BSD, and BSDI
     95 options 	COMPAT_386BSD_MBRPART # recognize old partition ID
     96 #options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
     97 
     98 #options 	COMPAT_SVR4	# binary compatibility with SVR4
     99 #options 	COMPAT_IBCS2	# binary compatibility with SCO and ISC
    100 #options 	COMPAT_LINUX	# binary compatibility with Linux
    101 #options 	COMPAT_FREEBSD	# binary compatibility with FreeBSD
    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 Filesystem
    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 	PORTAL		# portal filesystem (still experimental)
    117 #file-system 	PROCFS		# /proc
    118 #file-system 	UMAPFS		# NULLFS + uid and gid remapping
    119 #file-system 	UNION		# union file system
    120 
    121 # Filesystem options
    122 #options 	QUOTA		# UFS quotas
    123 #options 	NFSSERVER	# Network File System server
    124 #options 	NFS_V2_ONLY	# Exclude NFS3 and NQNFS code to save space
    125 options 	VNODE_OP_NOINLINE	# Not inlining vnode op calls saves mem
    126 #options 	FFS_SNAPSHOT	# ffs snapshots
    127 #options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
    128 				# immutable) behave as system flags.
    129 
    130 # Networking options
    131 #options 	GATEWAY		# packet forwarding
    132 options 	INET		# IP + ICMP + TCP + UDP
    133 options 	INET6		# IPv6
    134 #options 	MROUTING	# IP multicast routing
    135 #options 	PIM		# Protocol Independent Multicast
    136 #options 	NS		# XNS
    137 #options 	NSIP		# XNS tunneling over IP
    138 #options 	ISO,TPIP	# OSI
    139 #options 	EON		# OSI tunneling over IP
    140 #options 	CCITT,LLC,HDLC	# X.25
    141 #options 	NETATALK	# AppleTalk networking protocols
    142 #options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
    143 #options 	PPP_DEFLATE	# Deflate compression support for PPP
    144 #options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
    145 #options 	PFIL_HOOKS	# pfil(9) packet filter hooks
    146 #options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
    147 
    148 # These options enable verbose messages for several subsystems.
    149 # Warning, these may compile large string tables into the kernel!
    150 #options 	EISAVERBOSE	# verbose EISA device autoconfig messages
    151 #options 	MIIVERBOSE	# verbose PHY autoconfig messages
    152 #options 	PCIVERBOSE	# verbose PCI device autoconfig messages
    153 #options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
    154 #options 	PCMCIAVERBOSE	# verbose PCMCIA configuration messages
    155 #options 	SCSIVERBOSE	# human readable SCSI error messages
    156 #options 	I2OVERBOSE	# verbose I2O driver messages
    157 
    158 #
    159 # wscons options
    160 #
    161 # builtin terminal emulations 
    162 #options 	WSEMUL_SUN		# sun terminal emulation
    163 options 	WSEMUL_VT100		# VT100 / VT220 emulation
    164 # customization of console and kernel output - see dev/wscons/wsdisplayvar.h
    165 #options 	WSDISPLAY_CUSTOM_OUTPUT	# color customization from wsconsctl(8)
    166 #options 	WS_DEFAULT_FG=WSCOL_WHITE
    167 #options 	WS_DEFAULT_BG=WSCOL_BLACK
    168 #options 	WS_DEFAULT_COLATTR="(0)"
    169 #options 	WS_DEFAULT_MONOATTR="(0)"
    170 #options 	WS_KERNEL_FG=WSCOL_GREEN
    171 #options 	WS_KERNEL_BG=WSCOL_BLACK
    172 #options 	WS_KERNEL_COLATTR=""
    173 #options 	WS_KERNEL_MONOATTR=""
    174 # customization of console border color
    175 #options 	WSDISPLAY_CUSTOM_BORDER	# border customization from wsconsctl(8)
    176 #options 	WSDISPLAY_BORDER_COLOR=WSCOL_BLUE	# default color
    177 # compatibility to other console drivers
    178 #options 	WSDISPLAY_COMPAT_PCVT           # emulate some ioctls
    179 #options 	WSDISPLAY_COMPAT_SYSCONS        # emulate some ioctls
    180 #options 	WSDISPLAY_COMPAT_USL            # VT handling
    181 #options 	WSDISPLAY_COMPAT_RAWKBD         # can get raw scancodes
    182 # see dev/pckbc/wskbdmap_mfii.c for implemented layouts
    183 #options 	PCKBD_LAYOUT="(KB_DE | KB_NODEAD)"
    184 # allocate a number of virtual screens at autoconfiguration time
    185 #options 	WSDISPLAY_DEFAULTSCREENS=4
    186 # use a large software cursor that doesn't blink
    187 options 	PCDISPLAY_SOFTCURSOR
    188 # modify the screen type of the console; defaults to "80x25"
    189 #options 	VGA_CONSOLE_SCREENTYPE="\"80x24\""
    190 
    191 # Kernel root file system and dump configuration.
    192 config		netbsd	root on ? type ?
    193 #config		netbsd	root on sd0a type ffs
    194 #config		netbsd	root on ? type nfs
    195 
    196 #
    197 # Device configuration
    198 #
    199 
    200 mainbus0 at root
    201 
    202 cpu* at mainbus?
    203 
    204 #apm0	at mainbus0			# Advanced power management
    205 
    206 
    207 # Basic Bus Support
    208 
    209 # PCI bus support
    210 pci*	at mainbus? bus ?
    211 pci*	at pchb? bus ?
    212 pci*	at ppb? bus ?
    213 
    214 # PCI bridges
    215 pchb*	at pci? dev ? function ?	# PCI-Host bridges
    216 pceb*	at pci? dev ? function ?	# PCI-EISA bridges
    217 pcib*	at pci? dev ? function ?	# PCI-ISA bridges
    218 ppb*	at pci? dev ? function ?	# PCI-PCI bridges
    219 # XXX 'puc's aren't really bridges, but there's no better place for them here
    220 puc*	at pci? dev ? function ?	# PCI "universal" comm. cards
    221 
    222 # EISA bus support
    223 eisa0	at mainbus?
    224 eisa0	at pceb?
    225 
    226 # ISA bus support
    227 isa0	at mainbus?
    228 isa0	at pceb?
    229 isa0	at pcib?
    230 
    231 # PCMCIA bus support
    232 pcmcia*	at pcic? controller ? socket ?
    233 pcmcia*	at tcic? controller ? socket ?
    234 
    235 # ISA PCMCIA controllers
    236 pcic0 	at isa? port 0x3e0 iomem 0xd0000 iosiz 0x10000
    237 pcic1 	at isa? port 0x3e2 iomem 0xe0000 iosiz 0x4000
    238 pcic2	at isa? port 0x3e4 iomem 0xe0000 iosiz 0x4000
    239 tcic0 	at isa? port 0x240 iomem 0xd0000 iosiz 0x10000
    240 
    241 # PCI PCMCIA controllers
    242 pcic0	at pci? dev? function ?
    243 
    244 # ISA Plug-and-Play bus support
    245 isapnp0	at isa?
    246 
    247 # ISA Plug-and-Play PCMCIA controllers
    248 pcic*	at isapnp?
    249 
    250 # Coprocessor Support
    251 
    252 # Math Coprocessor support
    253 npx0	at isa? port 0xf0 irq 13	# x86 math coprocessor
    254 
    255 
    256 # Console Devices
    257 
    258 # ISA console
    259 #pc0	at isa? port 0x60 irq 1		# pccons generic PC console driver
    260 
    261 # Keyboard layout configuration for pccons
    262 #options 	FRENCH_KBD
    263 #options 	FINNISH_KBD
    264 #options 	GERMAN_KBD
    265 #options 	NORWEGIAN_KBD
    266 
    267 # wscons
    268 pckbc0		at isa?			# pc keyboard controller
    269 pckbd*		at pckbc?		# PC keyboard
    270 #pms*		at pckbc?		# PS/2 mouse for wsmouse
    271 vga0		at isa?
    272 vga*		at pci? dev ? function ?
    273 pcdisplay0	at isa?			# CGA, MDA, EGA, HGA
    274 wsdisplay*	at vga? console ?
    275 wsdisplay*	at pcdisplay? console ?
    276 wskbd*		at pckbd? console ?
    277 #wsmouse*	at pms? mux 0
    278 
    279 pcppi0		at isa?
    280 sysbeep0	at pcppi?
    281 
    282 # Serial Devices
    283 
    284 # PCI serial interfaces
    285 com*	at puc? port ?			# 16x50s on "universal" comm boards
    286 #cy*	at pci? dev ? function ?	# Cyclades Cyclom-Y serial boards
    287 
    288 # ISA Plug-and-Play serial interfaces
    289 com*	at isapnp?			# Modems and serial boards
    290 
    291 # PCMCIA serial interfaces
    292 com*	at pcmcia? function ?		# Modems and serial cards
    293 
    294 pcmcom*	at pcmcia? function ?		# PCMCIA multi-port serial cards
    295 com*	at pcmcom? slave ?		# ...and the slave devices
    296 
    297 # ISA serial interfaces
    298 #options 	COM_HAYESP		# adds Hayes ESP serial board support
    299 com0	at isa? port 0x3f8 irq 4	# Standard PC serial ports
    300 com1	at isa? port 0x2f8 irq 3
    301 com2	at isa? port 0x3e8 irq 5
    302 #com3	at isa? port 0x2e8 irq 9
    303 #ast0	at isa? port 0x1a0 irq 5	# AST 4-port serial cards
    304 #com*	at ast? slave ?
    305 #boca0	at isa? port 0x100 irq 5	# BOCA 8-port serial cards
    306 #com*	at boca? slave ?
    307 #tcom0	at isa? port 0x100 irq 7	# TC-800 8-port serial cards
    308 #com*	at tcom? slave ?
    309 #rtfps0	at isa? port 0x1230 irq 10	# RT 4-port serial cards
    310 #com*	at rtfps? slave ?
    311 #cy0	at isa? iomem 0xd4000 irq 12	# Cyclades serial cards
    312 
    313 
    314 # Parallel Printer Interfaces
    315 
    316 # PCI parallel printer interfaces
    317 #lpt*	at puc? port ?			# || ports on "universal" comm boards
    318 
    319 # ISA parallel printer interfaces
    320 #lpt0	at isa? port 0x378 irq 7	# standard PC parallel ports
    321 #lpt1	at isa? port 0x278
    322 #lpt2	at isa? port 0x3bc
    323 
    324 # I2O devices
    325 iop*	at pci? dev ? function ?	# I/O processor
    326 iopsp*	at iop? tid ?			# SCSI/FC-AL ports
    327 ld*	at iop? tid ?			# Block devices
    328 #dpti*	at iop? tid 0			# DPT/Adaptec control interface
    329 
    330 # SCSI Controllers and Devices
    331 
    332 # PCI SCSI controllers
    333 adv*	at pci? dev ? function ?	# AdvanSys 1200[A,B], 9xx[U,UA] SCSI
    334 adw*	at pci? dev ? function ?	# AdvanSys 9x0UW[D], 3940U[2,3]W SCSI
    335 ahc*	at pci? dev ? function ?	# Adaptec [23]94x, aic78x0 SCSI
    336 ahd*	at pci? dev ? function ?	# Adaptec 29320, 39320 (aic790x) SCSI
    337 bha*	at pci? dev ? function ?	# BusLogic 9xx SCSI
    338 dpt*	at pci? dev ? function ?	# DPT SmartCache/SmartRAID
    339 iha*	at pci? dev ? function ?	# Initio INIC-940/950 SCSI
    340 isp*	at pci? dev ? function ?	# Qlogic ISP [12]0x0 SCSI/FibreChannel
    341 mly*	at pci? dev ? function ?	# Mylex AcceleRAID and eXtremeRAID
    342 mpt*	at pci? dev ? function ?	# LSI Fusion SCSI/FC
    343 pcscp*	at pci? dev ? function ?	# AMD 53c974 PCscsi-PCI SCSI
    344 siop*	at pci? dev ? function ?	# NCR 53c8xx SCSI (new driver)
    345 trm*	at pci? dev ? function ?	# Tekram DC-395U/UW/F, DC-315/U SCSI
    346 
    347 # EISA SCSI controllers
    348 ahb*	at eisa? slot ?			# Adaptec 174[02] SCSI
    349 ahc*	at eisa? slot ?			# Adaptec 274x, aic7770 SCSI
    350 bha*	at eisa? slot ?			# BusLogic 7xx SCSI
    351 dpt*	at eisa? slot ?			# DPT SmartCache/SmartRAID
    352 uha*	at eisa? slot ?			# UltraStor 24f SCSI
    353 
    354 # PCMCIA SCSI controllers
    355 aic*	at pcmcia? function ?		# Adaptec APA-1460 SCSI
    356 
    357 # ISA Plug-and-Play SCSI controllers
    358 aha*	at isapnp? 			# Adaptec AHA-154[02
    359 aic*	at isapnp?			# Adaptec AHA-1520B
    360 
    361 # ISA SCSI controllers
    362 adv0	at isa? port ? irq ? drq ?	# AdvanSys APB-514[02]
    363 aha0	at isa? port 0x330 irq ? drq ?	# Adaptec 154[02] SCSI
    364 aha1	at isa? port 0x334 irq ? drq ?
    365 ahc0	at isa? port ? irq ?		# Adaptec 284x SCSI
    366 aic0	at isa? port 0x340 irq 11	# Adaptec 152[02] SCSI
    367 bha0	at isa? port 0x330 irq ? drq ?	# BusLogic [457]4X SCSI
    368 bha1	at isa? port 0x334 irq ? drq ?
    369 # The "nca" and "dpt" probes might give false hits or hang your machine.
    370 #dpt0	at isa? port 0x170 irq ? drq ?	# DPT SmartCache/SmartRAID
    371 #nca0	at isa? port 0x360 irq 15	# Port-mapped NCR 53C80 controller
    372 #nca1	at isa? iomem 0xd8000 irq 5	# Memory-mapped controller (T128, etc.)
    373 sea0	at isa? iomem 0xc8000 irq 5	# Seagate/Future Domain SCSI
    374 uha0	at isa? port 0x330 irq ? drq ?	# UltraStor [13]4f SCSI
    375 uha1	at isa? port 0x340 irq ? drq ?
    376 wds0	at isa? port 0x350 irq 15 drq 6	# WD7000 and TMC-7000 controllers
    377 wds1	at isa? port 0x358 irq 11 drq 5
    378 
    379 # SCSI bus support
    380 scsibus* at scsi?
    381 
    382 # SCSI devices
    383 sd*	at scsibus? target ? lun ?	# SCSI disk drives
    384 st*	at scsibus? target ? lun ?	# SCSI tape drives
    385 cd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives
    386 #ch*	at scsibus? target ? lun ?	# SCSI autochangers
    387 #ss*	at scsibus? target ? lun ?	# SCSI scanners
    388 #uk*	at scsibus? target ? lun ?	# SCSI unknown
    389 
    390 
    391 # RAID controllers and devices
    392 aac*	at pci? dev ? function ?	# Adaptec AAC family
    393 amr*	at pci? dev ? function ?	# AMI/LSI Logic MegaRAID
    394 cac*	at eisa? slot ?			# Compaq EISA array controllers
    395 cac*	at pci? dev ? function ?	# Compaq PCI array controllers
    396 icp*	at pci? dev ? function ?	# ICP-Vortex GDT & Intel RAID
    397 mlx*	at pci? dev ? function ?	# Mylex DAC960 & DEC SWXCR family
    398 mlx*	at eisa? slot ?			# Mylex DAC960 & DEC SWXCR family
    399 twe*	at pci? dev ? function ?	# 3ware Escalade RAID controllers
    400 
    401 ld*	at aac? unit ?			# logical disk devices
    402 ld*	at amr? unit ?
    403 ld*	at cac? unit ?
    404 ld*	at icp? unit ?
    405 ld*	at twe? unit ?
    406 ld*	at mlx? unit ?
    407 
    408 icpsp*	at icp? unit ?			# SCSI pass-through
    409 
    410 # IDE and related devices
    411 # PCI IDE controllers - see pciide(4) for supported hardware.
    412 # The 0x0001 flag force the driver to use DMA, even if the driver doesn't know
    413 # how to set up DMA modes for this chip. This may work, or may cause
    414 # a machine hang with some controllers.
    415 pciide* 	at pci? dev ? function ? flags 0x0000	# GENERIC pciide driver
    416 acardide*	at pci? dev ? function ?	# Acard IDE controllers
    417 aceride* 	at pci? dev ? function ?	# Acer Lab IDE controllers
    418 artsata*	at pci? dev ? function ?	# Intel i31244 SATA controller
    419 cmdide* 	at pci? dev ? function ?	# CMD tech IDE controllers
    420 cypide* 	at pci? dev ? function ?	# Cypress IDE controllers
    421 geodeide* 	at pci? dev ? function ?	# AMD Geode IDE controllers
    422 hptide* 	at pci? dev ? function ?	# Triones/HighPoint IDE controllers
    423 iteide* 	at pci? dev ? function ?	# IT Express IDE controllers
    424 ixpide*		at pci? dev ? function ?	# ATI IXP IDE controllers
    425 optiide* 	at pci? dev ? function ?	# Opti IDE controllers
    426 piixide* 	at pci? dev ? function ?	# Intel IDE controllers
    427 pdcide* 	at pci? dev ? function ?	# Promise IDE controllers
    428 pdcsata*	at pci? dev ? function ?	# Promise SATA150 controllers
    429 rccide* 	at pci? dev ? function ?	# ServerWorks IDE controllers
    430 satalink*	at pci? dev ? function ?	# SiI SATALink controllers
    431 siside* 	at pci? dev ? function ?	# SiS IDE controllers
    432 slide* 		at pci? dev ? function ?	# Symphony Labs IDE controllers
    433 viaide* 	at pci? dev ? function ?	# VIA/AMD/Nvidia IDE controllers
    434 stpcide*	at pci? dev ? function ?	# STMicro STPC IDE controllers
    435 
    436 # ISA Plug-and-Play IDE controllers
    437 wdc*	at isapnp?
    438 
    439 # PCMCIA IDE controllers
    440 wdc*	at pcmcia? function ?
    441 
    442 # ISA ST506, ESDI, and IDE controllers
    443 # Use flags 0x01 if you want to try to use 32bits data I/O (the driver will
    444 # fall back to 16bits I/O if 32bits I/O are not functional).
    445 # Some controllers pass the initial 32bit test, but will fail later.
    446 wdc0	at isa? port 0x1f0 irq 14 flags 0x00
    447 wdc1	at isa? port 0x170 irq 15 flags 0x00
    448 
    449 # ATA (IDE) bus support
    450 atabus* at ata?
    451 
    452 # IDE drives
    453 # Flags are used only with controllers that support DMA operations
    454 # and mode settings (e.g. some pciide controllers)
    455 # The lowest order four bits (rightmost digit) of the flags define the PIO
    456 # mode to use, the next set of four bits the DMA mode and the third set the
    457 # UltraDMA mode. For each set of four bits, the 3 lower bits define the mode
    458 # to use, and the last bit must be 1 for this setting to be used.
    459 # For DMA and UDMA, 0xf (1111) means 'disable'.
    460 # 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'.
    461 # (0xc=1100, 0xa=1010, 0xf=1111)
    462 # 0x0000 means "use whatever the drive claims to support".
    463 wd*	at atabus? drive ? flags 0x0000
    464 
    465 # ATA RAID configuration support, as found on some Promise controllers.
    466 pseudo-device	ataraid
    467 ld*	at ataraid? vendtype ? unit ?
    468 
    469 # ATAPI bus support
    470 atapibus* at atapi?
    471 
    472 # ATAPI devices
    473 # flags have the same meaning as for IDE drives.
    474 cd*	at atapibus? drive ? flags 0x0000	# ATAPI CD-ROM drives
    475 sd*	at atapibus? drive ? flags 0x0000	# ATAPI disk drives
    476 st*	at atapibus? drive ? flags 0x0000	# ATAPI tape drives
    477 #uk*	at atapibus? drive ? flags 0x0000	# ATAPI unknown
    478 
    479 
    480 # Miscellaneous mass storage devices
    481 
    482 # ISA floppy
    483 fdc0	at isa? port 0x3f0 irq 6 drq 2	# standard PC floppy controllers
    484 #fdc1	at isa? port 0x370 irq ? drq ?
    485 fd*	at fdc? drive ?			# the drives themselves
    486 # some machines need you to do this instead of fd*
    487 #fd0	at fdc0 drive 0
    488 
    489 # ISA CD-ROM devices
    490 #mcd0	at isa? port 0x300 irq 10	# Mitsumi CD-ROM drives
    491 
    492 # ISA tape devices
    493 # note: the wt driver conflicts unpleasantly with ed devices at the
    494 # same I/O address. The probe reprograms their EEPROMs. Don't
    495 # uncomment it unless you are actually using it.
    496 #wt0	at isa? port 0x308 irq 5 drq 1	# Archive and Wangtek QIC tape drives
    497 
    498 
    499 # Network Interfaces
    500 
    501 # PCI network interfaces
    502 an*	at pci? dev ? function ?	# Aironet PC4500/PC4800 (802.11)
    503 ath*	at pci? dev ? function ?	# Atheros 5210/5211/5212 802.11
    504 atw*	at pci? dev ? function ?	# ADMtek ADM8211 (802.11)
    505 bce* 	at pci? dev ? function ?	# Broadcom 4401 10/100 Ethernet
    506 bge* 	at pci? dev ? function ?	# Broadcom 570x Gigabit Ethernet
    507 #en*	at pci? dev ? function ?	# ENI/Adaptec ATM
    508 ep*	at pci? dev ? function ?	# 3Com 3c59x
    509 ex*	at pci? dev ? function ?	# 3Com 90x[BC]
    510 epic*	at pci? dev ? function ?	# SMC EPIC/100 Ethernet
    511 #esh*	at pci? dev ? function ?	# Essential HIPPI card
    512 fpa*	at pci? dev ? function ?	# DEC DEFPA FDDI
    513 fxp*	at pci? dev ? function ?	# Intel EtherExpress PRO 10+/100B
    514 gsip*	at pci? dev ? function ?	# NS83820 Gigabit Ethernet
    515 #hme*	at pci? dev ? function ?	# Sun Microelectronics STP2002-STQ
    516 le*	at pci? dev ? function ?	# PCnet-PCI Ethernet
    517 #lmc*	at pci? dev ? function ?	# Lan Media Corp SSI/HSSI/DS3
    518 mtd*	at pci? dev ? function ?	# Myson MTD803 3-in-1 Ethernet
    519 ne*	at pci? dev ? function ?	# NE2000-compatible Ethernet
    520 #ntwoc*	at pci? dev ? function ?	# Riscom/N2 PCI Sync Serial
    521 pcn*	at pci? dev ? function ?	# AMD PCnet-PCI Ethernet
    522 re*	at pci? dev ? function ?	# Realtek 8139C+/8169/8169S/8110S
    523 rtk*	at pci? dev ? function ?	# Realtek 8129/8139
    524 sf*	at pci? dev ? function ?	# Adaptec AIC-6915 Ethernet
    525 sip*	at pci? dev ? function ?	# SiS 900/DP83815 Ethernet
    526 skc*	at pci? dev ? function ?	# SysKonnect SK9821 Gigabit Ethernet
    527 sk*	at skc?				# SysKonnect SK9821 Gigabit Ethernet
    528 ste*	at pci? dev ? function ?	# Sundance ST-201 Ethernet
    529 stge*	at pci? dev ? function ?	# Sundance/Tamarack TC9021 Gigabit
    530 ti*	at pci? dev ? function ?	# Alteon ACEnic gigabit Ethernet
    531 tl*	at pci? dev ? function ?	# ThunderLAN-based Ethernet
    532 tlp*	at pci? dev ? function ?	# DECchip 21x4x and clones
    533 vr*	at pci? dev ? function ?	# VIA Rhine Fast Ethernet
    534 wi*	at pci? dev ? function ?	# Intersil Prism Mini-PCI (802.11b)
    535 wm*	at pci? dev ? function ?	# Intel 8254x gigabit
    536 
    537 # EISA network interfaces
    538 ep*	at eisa? slot ?			# 3Com 3c579 Ethernet
    539 fea*	at eisa? slot ?			# DEC DEFEA FDDI
    540 tlp*	at eisa? slot ?			# DEC DE-425 Ethernet
    541 
    542 # ISA Plug-and-Play network interfaces
    543 an*	at isapnp?			# # Aironet 802.11
    544 ep*	at isapnp?			# 3Com 3c509 Ethernet
    545 fmv*	at isapnp?			# Fujitsu FMV-183
    546 le*	at isapnp?			# AMD PCnet-ISA Ethernet
    547 ne*	at isapnp?			# NE2000-compatible Ethernet
    548 tr*	at isapnp?			# IBM/3COM TROPIC Token-Ring
    549 
    550 # PCMCIA network interfaces
    551 an*	at pcmcia? function ?		# Aironet PC4500/PC4800 (802.11)
    552 awi*	at pcmcia? function ?		# BayStack 650 (802.11FH)
    553 cnw*	at pcmcia? function ?		# Xircom/Netwave AirSurfer
    554 cs*	at pcmcia? function ?		# CS89xx Ethernet
    555 ep*	at pcmcia? function ?		# 3Com 3c589 and 3c562 Ethernet
    556 mbe*	at pcmcia? function ?		# MB8696x based Ethernet
    557 ne*	at pcmcia? function ?		# NE2000-compatible Ethernet
    558 ray* 	at pcmcia? function ?		# Raytheon Raylink (802.11)
    559 sm*	at pcmcia? function ?		# Megahertz Ethernet
    560 wi*	at pcmcia? function ?		# Lucent/Intersil WaveLan IEEE (802.11)
    561 xirc*	at pcmcia? function ?		# Xircom CreditCard Ethernet
    562 com*	at xirc?
    563 xi*	at xirc?
    564 mhzc*	at pcmcia? function ?		# Megahertz Ethernet/Modem combo cards
    565 com*	at mhzc?
    566 sm*	at mhzc?
    567 
    568 # ISA network interfaces
    569 ate0	at isa? port 0x2a0 irq ?		# AT1700
    570 cs0	at isa? port 0x300 iomem ? irq ? drq ?	# CS8900 Ethernet
    571 ec0	at isa? port 0x250 iomem 0xd8000 irq 9	# 3Com 3c503 Ethernet
    572 eg0	at isa? port 0x280 irq 9		# 3C505 ethernet cards
    573 el0	at isa? port 0x300 irq 9		# 3C501 ethernet cards
    574 ep*	at isa? port ? irq ?			# 3C509 ethernet cards
    575 ef0	at isa? port 0x360 iomem 0xd0000 irq 7	# 3C507
    576 ai0	at isa? port 0x360 iomem 0xd0000 irq 7	# StarLAN
    577 fmv0	at isa? port 0x2a0 irq ?		# FMV-181/182
    578 ix0	at isa? port 0x300 irq 10		# EtherExpress/16
    579 iy0	at isa? port 0x360 irq ?		# EtherExpress PRO 10 ISA
    580 lc0	at isa? port 0x320 iomem ? irq ?	# DEC EtherWORKS III (LEMAC)
    581 depca0	at isa? port 0x300 iomem 0xc8000 iosiz 0x8000 irq 5	# DEPCA
    582 le*	at depca?
    583 nele0	at isa? port 0x320 irq 9 drq 7		# NE2100
    584 le*	at nele?
    585 bicc0	at isa? port 0x320 irq 10 drq 7		# BICC IsoLan
    586 le*	at bicc?
    587 ne0	at isa? port 0x280 irq 9		# NE[12]000 ethernet cards
    588 ne1	at isa? port 0x300 irq 10
    589 sm0	at isa? port 0x300 irq 10		# SMC91C9x Ethernet
    590 tr0	at isa? port 0xa20 iomem 0xd8000 irq ?	# IBM TROPIC based Token-Ring
    591 tr1	at isa? port 0xa24 iomem 0xd0000 irq ?	# IBM TROPIC based Token-Ring
    592 tr*	at isa? port ? irq ?			# 3COM TROPIC based Token-Ring
    593 we0	at isa? port 0x280 iomem 0xd0000 irq 9	# WD/SMC Ethernet
    594 we1	at isa? port 0x300 iomem 0xcc000 irq 10
    595 
    596 # MII/PHY support
    597 acphy*	at mii? phy ?			# DAltima AC101 and AMD Am79c874 PHYs
    598 amhphy* at mii? phy ?			# AMD 79c901 Ethernet PHYs
    599 bmtphy* at mii? phy ?			# Broadcom BCM5201 and BCM5202 PHYs
    600 brgphy* at mii? phy ?			# Broadcom BCM5400-family PHYs
    601 dmphy*	at mii? phy ?			# Davicom DM9101 PHYs
    602 exphy*	at mii? phy ?			# 3Com internal PHYs
    603 glxtphy* at mii? phy ?			# Level One LXT-1000 PHYs
    604 gphyter* at mii? phy ?			# NS83861 Gig-E PHY
    605 icsphy*	at mii? phy ?			# Integrated Circuit Systems ICS189x
    606 igphy*	at mii? phy ?			# Intel IGP01E1000
    607 inphy*	at mii? phy ?			# Intel 82555 PHYs
    608 iophy*	at mii? phy ?			# Intel 82553 PHYs
    609 lxtphy*	at mii? phy ?			# Level One LXT-970 PHYs
    610 makphy*	at mii? phy ?			# Marvell Semiconductor 88E1000 PHYs
    611 nsphy*	at mii? phy ?			# NS83840 PHYs
    612 nsphyter* at mii? phy ?			# NS83843 PHYs
    613 pnaphy* at mii? phy ?			# generic HomePNA PHYs
    614 qsphy*	at mii? phy ?			# Quality Semiconductor QS6612 PHYs
    615 sqphy*	at mii? phy ?			# Seeq 80220/80221/80223 PHYs
    616 tlphy*	at mii? phy ?			# ThunderLAN PHYs
    617 tqphy*	at mii? phy ?			# TDK Semiconductor PHYs
    618 urlphy*	at mii? phy ?			# Realtek RTL8150L internal PHYs
    619 ukphy*	at mii? phy ?			# generic unknown PHYs
    620 
    621 # USB Controller and Devices
    622 
    623 # PCI USB controllers
    624 ehci*	at pci?	dev ? function ?	# Enhanced Host Controller
    625 uhci*	at pci?				# Universal Host Controller (Intel)
    626 ohci*	at pci?				# Open Host Controller
    627 
    628 # USB bus support
    629 usb*	at ehci?
    630 usb*	at uhci?
    631 usb*	at ohci?
    632 
    633 # USB Hubs
    634 uhub*	at usb?
    635 uhub*	at uhub? port ? configuration ? interface ?
    636 
    637 # USB HID device
    638 uhidev*	at uhub? port ? configuration ? interface ?
    639 
    640 # USB Mice
    641 #ums*	at uhidev? reportid ?
    642 #wsmouse*	at ums?
    643 
    644 # USB Keyboards
    645 ukbd*	at uhidev? reportid ?
    646 wskbd*	at ukbd? console ?
    647 
    648 # USB Generic HID devices
    649 #uhid*	at uhidev? reportid ?
    650 
    651 # USB Printer
    652 #ulpt*	at uhub? port ? configuration ? interface ?
    653 
    654 # USB Mass Storage
    655 umass*	at uhub? port ? configuration ? interface ?
    656 
    657 # Y@P firmware loader
    658 #uyap* at uhub? port ?
    659 
    660 # USB Generic driver
    661 #ugen*	at uhub? port ? configuration ? interface ?
    662 
    663 # USB Ethernet adapters
    664 aue* 	at uhub? port ?		# ADMtek AN986 Pegasus based adapters
    665 axe*	at uhub? port ?		# ASIX AX88172 based adapters
    666 cue* 	at uhub? port ?		# CATC USB-EL1201A based adapters
    667 kue* 	at uhub? port ?		# Kawasaki LSI KL5KUSB101B based adapters
    668 url*	at uhub? port ?		# Realtek RTL8150L based adapters
    669 
    670 # Audio Devices
    671 
    672 # PCI audio devices
    673 #eap*	at pci? dev ? function ?	# Ensoniq AudioPCI
    674 #eso*	at pci? dev ? function ?	# ESS Solo-1 PCI AudioDrive
    675 #sv*	at pci? dev ? function ?	# S3 SonicVibes
    676 
    677 # ISA Plug-and-Play audio devices
    678 #guspnp*	at isapnp?			# Gravis Ultra Sound PnP audio
    679 #sb*	at isapnp?			# SoundBlaster-compatible audio
    680 
    681 # ISA audio devices
    682 # the "aria" probe might give false hits
    683 #aria0	at isa? port 0x290 irq 10 		# Aria
    684 #gus0	at isa? port 0x220 irq 7 drq 1 drq2 6	# Gravis Ultra Sound
    685 #pas0	at isa? port 0x220 irq 7 drq 1		# ProAudio Spectrum
    686 #pss0	at isa? port 0x220 irq 7 drq 6		# Personal Sound System
    687 #sp0	at pss0 port 0x530 irq 10 drq 0		# 	sound port driver
    688 #sb0	at isa? port 0x220 irq 7 drq 1 drq2 5	# SoundBlaster
    689 #wss0	at isa? port 0x530 irq 10 drq 0	drq2 1	# Windows Sound System
    690 
    691 # OPL[23] FM synthesizers
    692 #opl0	at isa? port 0x388	# use only if not attached to sound card
    693 #opl*	at eso?
    694 #opl*	at ess?
    695 #opl*	at sb?
    696 #opl*	at sv?
    697 
    698 # Audio support
    699 #audio*	at audiobus?
    700 
    701 # MIDI support
    702 #midi*	at midibus?
    703 #midi*	at pcppi?		# MIDI interface to the PC speaker
    704 
    705 # The spkr driver provides a simple tone interface to the built in speaker.
    706 #spkr0	at pcppi?		# PC speaker
    707 
    708 
    709 # Mice
    710 
    711 # ISA busmice
    712 #lms0	at isa? port 0x23c irq 5	# Logitech bus mouse
    713 #lms1	at isa? port 0x238 irq 5
    714 #mms0	at isa? port 0x23c irq 5	# Microsoft InPort mouse
    715 #mms1	at isa? port 0x238 irq 5
    716 #wsmouse*	at lms?
    717 #wsmouse*	at mms?
    718 
    719 # Joysticks
    720 
    721 # ISA Plug-and-Play joysticks
    722 #joy*	at isapnp?			# Game ports (usually on audio cards)
    723 
    724 # ISA joysticks. Probe is a little strange; add only if you have one.
    725 #joy0	at isa? port 0x201
    726 
    727 
    728 # Miscellaneous Devices
    729 
    730 # Planetconnect Satellite receiver driver.
    731 #satlink0 at isa? port 0x300 drq 1
    732 
    733 
    734 # Pull in optional local configuration
    735 include	"arch/i386/conf/GENERIC.local"
    736 
    737 
    738 # Pseudo-Devices
    739 
    740 # disk/mass storage pseudo-devices
    741 #pseudo-device	ccd		4	# concatenated/striped disk devices
    742 pseudo-device	raid		8	# RAIDframe disk driver
    743 options 	RAID_AUTOCONFIG		# auto-configuration of RAID components
    744 #pseudo-device	fss		4	# file system snapshot device
    745 pseudo-device	md		1	# memory disk device (ramdisk)
    746 #pseudo-device	vnd		4	# disk-like interface to files
    747 
    748 # network pseudo-devices
    749 pseudo-device	bpfilter	8	# Berkeley packet filter
    750 #pseudo-device	ipfilter		# IP filter (firewall) and NAT
    751 pseudo-device	loop			# network loopback
    752 pseudo-device	ppp		2	# Point-to-Point Protocol
    753 pseudo-device	sl		2	# Serial Line IP
    754 #pseudo-device	strip		2	# Starmode Radio IP (Metricom)
    755 #pseudo-device	tun		2	# network tunneling over tty
    756 #pseudo-device	gre		2	# generic L3 over IP tunnel
    757 
    758 # miscellaneous pseudo-devices
    759 pseudo-device	pty		2	# pseudo-terminals (Sysinst needs two)
    760 #pseudo-device	tb		1	# tablet line discipline
    761 #pseudo-device	sequencer	1	# MIDI sequencer
    762 # rnd works; RND_COM does not on port i386 yet.
    763 pseudo-device	rnd			# /dev/random and in-kernel generator
    764 #options 	RND_COM			# use "com" randomness as well (BROKEN)
    765 
    766 # a pseudo device needed for Coda	# also needs CODA (above)
    767 #pseudo-device	vcoda		4	# coda minicache <-> venus comm.
    768 
    769 # wscons pseudo-devices
    770 pseudo-device	wsmux			# mouse & keyboard multiplexor
    771 #pseudo-device	wsfont
    772 
    773