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