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