GENERIC revision 1.268
11.268Saugustss#	$NetBSD: GENERIC,v 1.268 1999/11/01 23:27:56 augustss Exp $
21.1Smycroft#
31.1Smycroft#	GENERIC -- everything that's currently supported
41.1Smycroft#
51.1Smycroft
61.61Sfvdlinclude "arch/i386/conf/std.i386"
71.14Scgd
81.110Sthorpejmaxusers	32		# estimated number of users
91.150Sthorpej
101.110Sthorpej# CPU support.  At least one is REQUIRED.
111.110Sthorpejoptions 	I386_CPU
121.82Smellonoptions 	I486_CPU
131.82Smellonoptions 	I586_CPU
141.154Senamioptions 	I686_CPU
151.110Sthorpej
161.110Sthorpej# CPU-related options.
171.82Smellonoptions 	MATH_EMULATE	# floating point emulation
181.102Smycroft#options 	VM86		# virtual 8086 emulation
191.102Smycroftoptions 	USER_LDT	# user-settable LDT; used by WINE
201.112Sperry# eliminate delay no-ops in I/O; recommended on all but very old machines
211.112Sperry#options 	DUMMY_NOPS
221.191Sbouyer
231.197Slukem# delay between "rebooting ..." message and hardware reset, in milliseconds
241.191Sbouyer#options 	CPURESET_DELAY=2000
251.110Sthorpej
261.110Sthorpej# Misc. i386-specific options
271.110Sthorpejoptions 	XSERVER		# X server support in console drivers
281.177Smycroft#options 	XSERVER_DDB	# PF12 gets you into DDB when X is running
291.110Sthorpej
301.110Sthorpej# This option allows you to force a serial console at the specified
311.121Sdrochner# I/O address.   see console(4) for details.
321.175Srvb#options 	"CONSDEVNAME=\"com\"",CONADDR=0x2f8,CONSPEED=57600
331.175Srvb#	you don't want the option below ON iff you are using the
341.184Sdrochner#	serial console option of the new boot strap code.
351.175Srvb#options	CONS_OVERRIDE	# Always use above! independent of boot info
361.32Sthorpej
371.101Smycroft# The following options override the memory sizes passed in from the boot
381.101Smycroft# block.  Use them *only* if the boot block is unable to determine the correct
391.111Sperry# values.  Note that the BIOS may *correctly* report less than 640k of base
401.101Smycroft# memory if the extended BIOS data area is located at the top of base memory
411.101Smycroft# (as is the case on most recent systems).
421.185Smycroft#options 	REALBASEMEM=639		# size of base memory (in KB)
431.185Smycroft#options 	REALEXTMEM=15360	# size of extended memory (in KB)
441.1Smycroft
451.110Sthorpej# Standard system options
461.110Sthorpej
471.110Sthorpejoptions 	UCONSOLE	# users can use TIOCCONS (for xconsole)
481.110Sthorpejoptions 	INSECURE	# disable kernel security levels
491.1Smycroft
501.82Smellonoptions 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
511.216Scjsoptions 	NTP		# NTP phase/frequency locked loop
521.1Smycroft
531.98Smikeloptions 	KTRACE		# system call tracing via ktrace(1)
541.1Smycroft
551.82Smellonoptions 	SYSVMSG		# System V-like message queues
561.82Smellonoptions 	SYSVSEM		# System V-like semaphores
571.82Smellonoptions 	SYSVSHM		# System V-like memory sharing
581.82Smellon#options 	SHMMAXPGS=1024	# 1024 pages is the default
591.82Smellon
601.110Sthorpejoptions 	LKM		# loadable kernel modules
611.110Sthorpej
621.110Sthorpej# Diagnostic/debugging support options
631.110Sthorpejoptions 	DIAGNOSTIC	# cheap kernel consistency checks
641.110Sthorpej#options 	DEBUG		# expensive debugging checks/support
651.127Stv#options 	KMEMSTATS	# kernel memory statistics (vmstat -m)
661.110Sthorpejoptions 	DDB		# in-kernel debugger
671.122Slukem#options 	DDB_HISTORY_SIZE=100	# enable history editing in DDB
681.110Sthorpej#options 	KGDB		# remote debugger
691.110Sthorpej#options 	"KGDB_DEVNAME=\"com\"",KGDBADDR=0x3f8,KGDBRATE=9600
701.110Sthorpej#makeoptions	DEBUG="-g"	# compile full symbol table
711.110Sthorpej
721.116Smikel# Compatibility options
731.82Smellonoptions 	COMPAT_NOMID	# compatibility with 386BSD, BSDI, NetBSD 0.8,
741.82Smellonoptions 	COMPAT_09	# NetBSD 0.9,
751.82Smellonoptions 	COMPAT_10	# NetBSD 1.0,
761.82Smellonoptions 	COMPAT_11	# NetBSD 1.1,
771.55Smycroftoptions 	COMPAT_12	# NetBSD 1.2,
781.125Skleinkoptions 	COMPAT_13	# NetBSD 1.3,
791.245Saugustssoptions 	COMPAT_14	# NetBSD 1.4,
801.82Smellonoptions 	COMPAT_43	# and 4.3BSD
811.139Smycroftoptions 	COMPAT_386BSD_MBRPART # recognize old partition ID
821.1Smycroft
831.82Smellonoptions 	COMPAT_SVR4	# binary compatibility with SVR4
841.82Smellonoptions 	COMPAT_IBCS2	# binary compatibility with SCO and ISC
851.82Smellonoptions 	COMPAT_LINUX	# binary compatibility with Linux
861.82Smellonoptions 	COMPAT_FREEBSD	# binary compatibility with FreeBSD
871.240Sfvdl
881.240Sfvdloptions 	COMPAT_AOUT	# binary compat for NetBSD a.out binaries
891.1Smycroft
901.110Sthorpej# File systems
911.71Sthorpejfile-system 	FFS		# UFS
921.80Sperryfile-system 	EXT2FS		# second extended file system (linux)
931.71Sthorpejfile-system 	LFS		# log-structured file system
941.71Sthorpejfile-system 	MFS		# memory file system
951.71Sthorpejfile-system 	NFS		# Network File System client
961.251Sjdolecekfile-system 	NTFS		# Windows/NT file system (experimental)
971.71Sthorpejfile-system 	CD9660		# ISO 9660 + Rock Ridge file system
981.71Sthorpejfile-system 	MSDOSFS		# MS-DOS file system
991.71Sthorpejfile-system 	FDESC		# /dev/fd
1001.71Sthorpejfile-system 	KERNFS		# /kern
1011.71Sthorpejfile-system 	NULLFS		# loopback file system
1021.71Sthorpejfile-system 	PORTAL		# portal filesystem (still experimental)
1031.71Sthorpejfile-system 	PROCFS		# /proc
1041.71Sthorpejfile-system 	UMAPFS		# NULLFS + uid and gid remapping
1051.71Sthorpejfile-system 	UNION		# union file system
1061.187Srvbfile-system	CODA		# Coda File System; also needs vcoda (below)
1071.71Sthorpej
1081.110Sthorpej# File system options
1091.82Smellonoptions 	QUOTA		# UFS quotas
1101.261Sitohy#options 	FFS_EI		# FFS Endian Independent support
1111.82Smellonoptions 	NFSSERVER	# Network File System server
1121.81Sveego#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
1131.80Sperry				# immutable) behave as system flags.
1141.116Smikel
1151.110Sthorpej# Networking options
1161.82Smellon#options 	GATEWAY		# packet forwarding
1171.82Smellonoptions 	INET		# IP + ICMP + TCP + UDP
1181.82Smellon#options 	MROUTING	# IP multicast routing
1191.82Smellonoptions 	NS		# XNS
1201.82Smellon#options 	NSIP		# XNS tunneling over IP
1211.82Smellonoptions 	ISO,TPIP	# OSI
1221.82Smellonoptions 	EON		# OSI tunneling over IP
1231.82Smellonoptions 	CCITT,LLC,HDLC	# X.25
1241.110Sthorpejoptions 	NETATALK	# AppleTalk networking protocols
1251.242Schristosoptions 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
1261.242Schristosoptions 	PPP_DEFLATE	# Deflate compression support for PPP
1271.242Schristosoptions 	PPP_FILTER	# Active filter support for PPP (requires bpf)
1281.242Schristosoptions 	PFIL_HOOKS	# pfil(9) packet filter hooks
1291.242Schristosoptions 	IPFILTER_LOG	# ipmon(8) log support
1301.1Smycroft
1311.116Smikel# Compatibility with 4.2BSD implementation of TCP/IP.  Not recommended.
1321.110Sthorpej#options 	TCP_COMPAT_42
1331.1Smycroft
1341.112Sperry# These options enable verbose messages for several subsystems.
1351.112Sperry# Warning, these may compile large string tables into the kernel!
1361.112Sperryoptions 	EISAVERBOSE	# verbose EISA device autoconfig messages
1371.112Sperryoptions 	PCIVERBOSE	# verbose PCI device autoconfig messages
1381.110Sthorpej#options 	PCMCIAVERBOSE	# verbose PCMCIA configuration messages
1391.112Sperryoptions 	SCSIVERBOSE	# human readable SCSI error messages
1401.162Saugustssoptions 	USBVERBOSE	# verbose USB device autoconfig messages
1411.128Sdrochner
1421.128Sdrochneroptions 	NFS_BOOT_BOOTP,NFS_BOOT_BOOTPARAM
1431.110Sthorpej
1441.221Sdrochner#
1451.217Sdrochner# wscons options
1461.221Sdrochner#
1471.221Sdrochner# builtin terminal emulations
1481.217Sdrochner#options 	WSEMUL_SUN		# sun terminal emulation
1491.217Sdrochneroptions 	WSEMUL_VT100		# VT100 / VT220 emulation
1501.217Sdrochner# different kernel output - see dev/wscons/wsdisplayvar.h
1511.217Sdrochneroptions 	WS_KERNEL_FG=WSCOL_GREEN
1521.230Sdrochner#options 	WS_KERNEL_BG=WSCOL_BLACK
1531.221Sdrochner# compatibility to other console drivers
1541.217Sdrochneroptions 	WSDISPLAY_COMPAT_PCVT		# emulate some ioctls
1551.217Sdrochneroptions 	WSDISPLAY_COMPAT_SYSCONS	# emulate some ioctls
1561.217Sdrochneroptions 	WSDISPLAY_COMPAT_USL		# VT handling
1571.218Scjsoptions 	WSDISPLAY_COMPAT_RAWKBD		# can get raw scancodes
1581.217Sdrochner# see dev/pckbc/wskbdmap_mfii.c for implemented layouts
1591.217Sdrochner#options 	PCKBD_LAYOUT="(KB_DE | KB_NODEAD)"
1601.221Sdrochner# allocate a number of virtual screens at autoconfiguration time
1611.221Sdrochner#options 	WSDISPLAY_DEFAULTSCREENS=4
1621.258Sad# use a large software cursor that doesn't blink
1631.265Sitojunoptions 	PCDISPLAY_SOFTCURSOR
1641.217Sdrochner
1651.110Sthorpej# Kernel root file system and dump configuration.
1661.110Sthorpejconfig		netbsd	root on ? type ?
1671.110Sthorpej#config		netbsd	root on sd0a type ffs
1681.110Sthorpej#config		netbsd	root on ? type nfs
1691.110Sthorpej
1701.110Sthorpej#
1711.110Sthorpej# Device configuration
1721.110Sthorpej#
1731.63Sthorpej
1741.31Scgdmainbus0 at root
1751.31Scgd
1761.110Sthorpej#apm0	at mainbus0			# Advanced power management
1771.1Smycroft
1781.112Sperry
1791.112Sperry# Basic Bus Support
1801.112Sperry
1811.110Sthorpej# PCI bus support
1821.110Sthorpejpci*	at mainbus? bus ?
1831.110Sthorpejpci*	at pchb? bus ?
1841.30Scgdpci*	at ppb? bus ?
1851.110Sthorpej
1861.112Sperry# PCI bridges
1871.63Sthorpejpchb*	at pci? dev ? function ?	# PCI-Host bridges
1881.135Sthorpejpceb*	at pci? dev ? function ?	# PCI-EISA bridges
1891.63Sthorpejpcib*	at pci? dev ? function ?	# PCI-ISA bridges
1901.110Sthorpejppb*	at pci? dev ? function ?	# PCI-PCI bridges
1911.160Scgd# XXX 'puc's aren't really bridges, but there's no better place for them here
1921.160Scgdpuc*	at pci? dev ? function ?	# PCI "universal" comm. cards
1931.110Sthorpej
1941.110Sthorpej# EISA bus support
1951.110Sthorpejeisa*	at mainbus?
1961.135Sthorpejeisa*	at pceb?
1971.110Sthorpej
1981.110Sthorpej# ISA bus support
1991.110Sthorpejisa*	at mainbus?
2001.135Sthorpejisa*	at pceb?
2011.110Sthorpejisa*	at pcib?
2021.63Sthorpej
2031.112Sperry# PCMCIA bus support
2041.112Sperrypcmcia*	at pcic? controller ? socket ?
2051.223Sbadpcmcia*	at tcic? controller ? socket ?
2061.112Sperry
2071.112Sperry# ISA PCMCIA controllers
2081.112Sperrypcic0	at isa? port 0x3e0 iomem 0xd0000 iosiz 0x4000
2091.112Sperrypcic1	at isa? port 0x3e2 iomem 0xd4000 iosiz 0x4000
2101.223Sbadtcic0	at isa? port 0x240 iomem 0xd0000 iosiz 0x4000
2111.211Snathanw
2121.211Snathanw# PCI PCMCIA controllers
2131.211Snathanwpcic0	at pci? dev? function ?
2141.112Sperry
2151.112Sperry# ISA Plug-and-Play bus support
2161.112Sperryisapnp0	at isa?
2171.112Sperry
2181.156Ssommerfe# ISA Plug-and-Play PCMCIA controllers
2191.156Ssommerfepcic*	at isapnp?
2201.112Sperry
2211.112Sperry# Coprocessor Support
2221.112Sperry
2231.112Sperry# Math Coprocessor support
2241.112Sperrynpx0	at isa? port 0xf0 irq 13	# x86 math coprocessor
2251.112Sperry
2261.112Sperry
2271.112Sperry# Console Devices
2281.112Sperry
2291.112Sperry# ISA console.  You can only configure one of these!
2301.217Sdrochner#pc0	at isa? port 0x60 irq 1		# pccons generic PC console driver
2311.112Sperry#vt0	at isa? port 0x60 irq 1		# PCVT console driver
2321.165Sbouyer
2331.165Sbouyer# Keyboard layout configuration for pccons
2341.167Sbouyer#options 	FRENCH_KBD
2351.166Sbouyer#options 	FINNISH_KBD
2361.167Sbouyer#options 	GERMAN_KBD
2371.168Sperry#options 	NORWEGIAN_KBD
2381.110Sthorpej
2391.217Sdrochner# wscons
2401.238Stronpckbc0		at isa?			# pc keyboard controller
2411.238Stronpckbd*		at pckbc?		# PC keyboard
2421.217Sdrochner# "opms" should not be enabled together with "pms" or "pmsi"
2431.243Stronpms*		at pckbc?		# PS/2 mouse for wsmouse
2441.253Saugustsspmsi*		at pckbc?		# PS/2 "Intelli"mouse for wsmouse
2451.243Stron#opms*		at pckbc?		# backwards compatible PS/2 mouse
2461.217Sdrochnervga0		at isa?
2471.217Sdrochnervga*		at pci?
2481.217Sdrochnerpcdisplay0	at isa?			# CGA, MDA, EGA, HGA
2491.217Sdrochnerwsdisplay*	at vga? console ?
2501.217Sdrochnerwsdisplay*	at pcdisplay? console ?
2511.238Stronwskbd* 		at pckbd? console ?
2521.246Saugustsswsmouse*	at pms? mux 0
2531.246Saugustsswsmouse*	at pmsi? mux 0
2541.217Sdrochner
2551.146Sdrochnerpcppi0	at isa?
2561.146Sdrochnersysbeep0	at pcppi?
2571.110Sthorpej
2581.112Sperry# Serial Devices
2591.63Sthorpej
2601.112Sperry# PCI serial interfaces
2611.160Scgdcom*	at puc? port ?			# 16x450s on "universal" comm boards
2621.112Sperrycy*	at pci? dev ? function ?	# Cyclades Cyclom-Y serial boards
2631.30Scgd
2641.112Sperry# ISA Plug-and-Play serial interfaces
2651.112Sperrycom*	at isapnp?			# Modems and serial boards
2661.1Smycroft
2671.112Sperry# PCMCIA serial interfaces
2681.112Sperrycom*	at pcmcia? function ?		# Modems and serial cards
2691.188Sthorpej
2701.188Sthorpejpcmcom*	at pcmcia? function ?		# PCMCIA multi-port serial cards
2711.188Sthorpejcom*	at pcmcom? slave ?		# ...and the slave devices
2721.1Smycroft
2731.110Sthorpej# ISA serial interfaces
2741.89Sperry#options 	COM_HAYESP		# adds Hayes ESP serial board support
2751.112Sperrycom0	at isa? port 0x3f8 irq 4	# Standard PC serial ports
2761.2Smycroftcom1	at isa? port 0x2f8 irq 3
2771.2Smycroftcom2	at isa? port 0x3e8 irq 5
2781.2Smycroft#com3	at isa? port 0x2e8 irq 9
2791.8Smycroft#ast0	at isa? port 0x1a0 irq 5	# AST 4-port serial cards
2801.34Scgd#com*	at ast? slave ?
2811.8Smycroft#boca0	at isa? port 0x100 irq 5	# BOCA 8-port serial cards
2821.8Smycroft#com*	at boca? slave ?
2831.210Schristos#tcom0	at isa? port 0x100 irq 7	# TC-800 8-port serial cards
2841.210Schristos#com*	at tcom? slave ?
2851.1Smycroft#rtfps0	at isa? port 0x1230 irq 10	# RT 4-port serial cards
2861.1Smycroft#com*	at rtfps? slave ?
2871.58Schristos#cy0	at isa? iomem 0xd4000 irq 12	# Cyclades serial cards
2881.88Smikel
2891.1Smycroft
2901.112Sperry# Parallel Printer Interfaces
2911.160Scgd
2921.160Scgd# PCI parallel printer interfaces
2931.160Scgdlpt*	at puc? port ?			# || ports on "universal" comm boards
2941.110Sthorpej
2951.112Sperry# ISA parallel printer interfaces
2961.110Sthorpejlpt0	at isa? port 0x378 irq 7	# standard PC parallel ports
2971.110Sthorpejlpt1	at isa? port 0x278
2981.110Sthorpejlpt2	at isa? port 0x3bc
2991.1Smycroft
3001.40Sperry
3011.112Sperry# SCSI Controllers and Devices
3021.68Schristos
3031.112Sperry# PCI SCSI controllers
3041.186Sdanteadv*	at pci? dev ? function ?	# AdvanSys 1200[A,B], 9xx[U,UA] SCSI
3051.186Sdanteadw*	at pci? dev ? function ?	# AdvanSys 9xxUW SCSI
3061.112Sperryahc*	at pci? dev ? function ?	# Adaptec [23]94x, aic78x0 SCSI
3071.112Sperrybha*	at pci? dev ? function ?	# BusLogic 9xx SCSI
3081.259Saddpt*	at pci? dev ? function ?	# DPT SmartCache/SmartRAID
3091.112Sperryisp*	at pci? dev ? function ?	# Qlogic ISP [12]0x0 SCSI/FibreChannel
3101.112Sperryncr*	at pci? dev ? function ?	# NCR 53c8xx SCSI
3111.212Sthorpejpcscp*	at pci? dev ? function ?	# AMD 53c974 PCscsi-PCI SCSI
3121.110Sthorpej
3131.112Sperry# EISA SCSI controllers
3141.112Sperryahb*	at eisa? slot ?			# Adaptec 174[02] SCSI
3151.112Sperryahc*	at eisa? slot ?			# Adaptec 274x, aic7770 SCSI
3161.112Sperrybha*	at eisa? slot ?			# BusLogic 7xx SCSI
3171.263Saddpt*	at eisa? slot ?			# DPT EATA SCSI
3181.112Sperryuha*	at eisa? slot ?			# UltraStor 24f SCSI
3191.105Sthorpej
3201.112Sperry# PCMCIA SCSI controllers
3211.110Sthorpejaic*	at pcmcia? function ?		# Adaptec APA-1460 SCSI
3221.145Senami
3231.145Senami# ISA Plug-and-Play SCSI controllers
3241.205Schristosaha*	at isapnp? 			# Adaptec AHA-154[02
3251.145Senamiaic*	at isapnp?			# Adaptec AHA-1520B
3261.110Sthorpej
3271.112Sperry# ISA SCSI controllers
3281.236Sdanteadv0	at isa? port ? irq ? drq ?	# AdvanSys APB-514[02]
3291.112Sperryaha0	at isa? port 0x330 irq ? drq ?	# Adaptec 154[02] SCSI
3301.112Sperryaha1	at isa? port 0x334 irq ? drq ?
3311.112Sperryahc0	at isa? port ? irq ?		# Adaptec 284x SCSI
3321.112Sperryaic0	at isa? port 0x340 irq 11	# Adaptec 152[02] SCSI
3331.116Smikelbha0	at isa? port 0x330 irq ? drq ?	# BusLogic [457]4X SCSI
3341.112Sperrybha1	at isa? port 0x334 irq ? drq ?
3351.262Sdrochner# The "nca" probe might give false hits or hang your machine.
3361.262Sdrochner#nca0	at isa? port 0x360 irq 15	# Port-mapped NCR 53C80 contoller
3371.262Sdrochner#nca1	at isa? iomem 0xd8000 irq 5	# Memory-mapped controller (T128, etc.)
3381.112Sperrysea0	at isa? iomem 0xc8000 irq 5	# Seagate/Future Domain SCSI
3391.112Sperryuha0	at isa? port 0x330 irq ? drq ?	# UltraStor [13]4f SCSI
3401.129Sdrochneruha1	at isa? port 0x340 irq ? drq ?
3411.112Sperrywds0	at isa? port 0x350 irq 15 drq 6	# WD7000 and TMC-7000 controllers
3421.112Sperrywds1	at isa? port 0x358 irq 11 drq 5
3431.110Sthorpej
3441.110Sthorpej# SCSI bus support
3451.179Sdantescsibus* at adv?
3461.186Sdantescsibus* at adw?
3471.110Sthorpejscsibus* at aha?
3481.110Sthorpejscsibus* at ahb?
3491.110Sthorpejscsibus* at ahc?
3501.110Sthorpejscsibus* at aic?
3511.110Sthorpejscsibus* at bha?
3521.259Sadscsibus* at dpt?
3531.110Sthorpejscsibus* at isp?
3541.264Sdrochner#scsibus* at nca?
3551.110Sthorpejscsibus* at ncr?
3561.212Sthorpejscsibus* at pcscp?
3571.110Sthorpejscsibus* at sea?
3581.110Sthorpejscsibus* at uha?
3591.110Sthorpejscsibus* at wds?
3601.110Sthorpej
3611.110Sthorpej# SCSI devices
3621.110Sthorpejsd*	at scsibus? target ? lun ?	# SCSI disk drives
3631.110Sthorpejst*	at scsibus? target ? lun ?	# SCSI tape drives
3641.110Sthorpejcd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives
3651.110Sthorpejch*	at scsibus? target ? lun ?	# SCSI autochangers
3661.110Sthorpejss*	at scsibus? target ? lun ?	# SCSI scanners
3671.110Sthorpejuk*	at scsibus? target ? lun ?	# SCSI unknown
3681.110Sthorpej
3691.112Sperry
3701.220Sabs# IDE and related devices
3711.228Skleink# PCI IDE controllers - see pciide(4) for supported hardware.
3721.194Sbouyer# The 0x0001 flag force the driver to use DMA, even if the driver doesn't know
3731.194Sbouyer# how to set up DMA modes for this chip. This may work, or may cause
3741.194Sbouyer# a machine hang with some controllers.
3751.202Sbouyerpciide* at pci ? dev ? function ? flags 0x0000
3761.132Smycroft
3771.132Smycroft# ISA Plug-and-Play IDE controllers
3781.192Sbouyerwdc*	at isapnp? 
3791.131Smycroft
3801.131Smycroft# PCMCIA IDE controllers
3811.190Senamiwdc*	at pcmcia? function ?
3821.112Sperry
3831.189Sbouyer# ISA ST506, ESDI, and IDE controllers
3841.235Sbouyer# Use flags 0x01 if you want to try to use 32bits data I/O (the driver will
3851.261Sitohy# fall back to 16bits I/O if 32bits I/O are not functional).
3861.235Sbouyer# Some controllers pass the initial 32bit test, but will fail later.
3871.235Sbouyerwdc0	at isa? port 0x1f0 irq 14 flags 0x00
3881.235Sbouyerwdc1	at isa? port 0x170 irq 15 flags 0x00
3891.112Sperry
3901.220Sabs# IDE drives
3911.220Sabs# Flags are used only with controllers that support DMA operations
3921.206Sbouyer# and mode settings (e.g. some pciide controllers)
3931.220Sabs# The lowest order four bits (rightmost digit) of the flags define the PIO
3941.220Sabs# mode to use, the next set of four bits the DMA mode and the third set the
3951.220Sabs# UltraDMA mode. For each set of four bits, the 3 lower bits define the mode
3961.220Sabs# to use, and the last bit must be 1 for this setting to be used.
3971.220Sabs# For DMA and UDMA, 0xf (1111) means 'disable'.
3981.220Sabs# 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'.
3991.220Sabs# (0xc=1100, 0xa=1010, 0xf=1111)
4001.220Sabs# 0x0000 means "use whatever the drive claims to support".
4011.206Sbouyerwd*	at wdc? channel ? drive ? flags 0x0000
4021.206Sbouyerwd*	at pciide? channel ? drive ? flags 0x0000
4031.112Sperry
4041.110Sthorpej# ATAPI bus support
4051.189Sbouyeratapibus* at wdc? channel ?
4061.202Sbouyeratapibus* at pciide? channel ?
4071.110Sthorpej
4081.110Sthorpej# ATAPI devices
4091.206Sbouyer# flags have the same meaning as for IDE drives.
4101.206Sbouyercd*	at atapibus? drive ? flags 0x0000	# ATAPI CD-ROM drives
4111.206Sbouyersd*	at atapibus? drive ? flags 0x0000	# ATAPI disk drives
4121.206Sbouyeruk*	at atapibus? drive ? flags 0x0000	# ATAPI unknown
4131.110Sthorpej
4141.112Sperry
4151.112Sperry# Miscellaneous mass storage devices
4161.112Sperry
4171.112Sperry# ISA floppy
4181.112Sperryfdc0	at isa? port 0x3f0 irq 6 drq 2	# standard PC floppy controllers
4191.112Sperry#fdc1	at isa? port 0x370 irq ? drq ?
4201.112Sperryfd*	at fdc? drive ?			# the drives themselves
4211.112Sperry# some machines need you to do this instead of fd*
4221.112Sperry#fd0	at fdc0 drive 0
4231.112Sperry
4241.112Sperry# ISA CD-ROM devices
4251.112Sperry#mcd0	at isa? port 0x300 irq 10	# Mitsumi CD-ROM drives
4261.112Sperry
4271.112Sperry# ISA tape devices
4281.157Sbouyer# note: the wt driver conflicts unpleasantly with SMC boards at the
4291.116Smikel# same I/O address. The probe reprograms their EEPROMs. Don't
4301.112Sperry# uncomment it unless you are actually using it.
4311.129Sdrochner#wt0	at isa? port 0x308 irq 5 drq 1	# Archive and Wangtek QIC tape drives
4321.112Sperry
4331.112Sperry
4341.112Sperry# Network Interfaces
4351.112Sperry
4361.112Sperry# PCI network interfaces
4371.112Sperryde*	at pci? dev ? function ?	# DEC 21x4x-based Ethernet
4381.112Sperryen*	at pci? dev ? function ?	# ENI/Adaptec ATM
4391.200Sfvdlep*	at pci? dev ? function ?	# 3Com 3c59x
4401.200Sfvdlex*	at pci? dev ? function ?	# 3Com 90x[B]
4411.150Sthorpejepic*	at pci? dev ? function ?	# SMC EPIC/100 Ethernet
4421.152Smjacobesh*	at pci? dev ? function ?	# Essential HIPPI card
4431.112Sperryfpa*	at pci? dev ? function ?	# DEC DEFPA FDDI
4441.112Sperryfxp*	at pci? dev ? function ?	# Intel EtherExpress PRO 10+/100B
4451.112Sperryle*	at pci? dev ? function ?	# PCnet-PCI Ethernet
4461.112Sperryne*	at pci? dev ? function ?	# NE2000-compatible Ethernet
4471.250Sthorpejsip*	at pci? dev ? function ?	# SiS 900 Ethernet
4481.115Sbouyertl*	at pci? dev ? function ?	# ThunderLAN-based Ethernet
4491.260Sthorpejtlp*	at pci? dev ? function ?	# DECchip 21x4x (and clones) Ethernet
4501.213Ssakamotovr*	at pci? dev ? function ?	# VIA Rhine Fast Ethernet
4511.225Sexplorerlmc*	at pci? dev ? function ?	# Lan Media Corp SSI/HSSI/DS3
4521.255Sdrochnerrl*	at pci? dev ? function ?	# Realtek 8129/8139
4531.112Sperry
4541.112Sperry# EISA network interfaces
4551.112Sperryep*	at eisa? slot ?			# 3Com 3c579 Ethernet
4561.112Sperryfea*	at eisa? slot ?			# DEC DEFEA FDDI
4571.112Sperry
4581.112Sperry# ISA Plug-and-Play network interfaces
4591.112Sperryep*	at isapnp?			# 3Com 3c509 Ethernet
4601.112Sperryne*	at isapnp?			# NE2000-compatible Ethernet
4611.222Sbadtr*	at isapnp?			# IBM/3COM TROPIC Token-Ring
4621.112Sperry
4631.112Sperry# PCMCIA network interfaces
4641.112Sperryep*	at pcmcia? function ?		# 3Com 3c589 and 3c562 Ethernet
4651.144Senamimbe*	at pcmcia? function ?		# MB8696x based Ethernet
4661.112Sperryne*	at pcmcia? function ?		# NE2000-compatible Ethernet
4671.112Sperrysm*	at pcmcia? function ?		# Megahertz Ethernet
4681.252Sbouyerwi*	at pcmcia? function ?		# Lucent WaveLan IEEE (802.11)
4691.260Sthorpej
4701.260Sthorpejmhzc*	at pcmcia? function ?		# Megahertz Ethernet/Modem combo cards
4711.260Sthorpejcom*	at mhzc?
4721.260Sthorpejsm*	at mhzc?
4731.112Sperry
4741.112Sperry# ISA network interfaces
4751.143Senamiate0	at isa? port 0x2a0 irq ?		# AT1700
4761.164Sthorpejcs0	at isa? port 0x300 iomem ? irq ? drq ?	# CS8900 Ethernet
4771.117Sthorpejec0	at isa? port 0x250 iomem 0xd8000 irq 9	# 3Com 3c503 Ethernet
4781.120Sthorpejeg0	at isa? port 0x280 irq 9		# 3C505 ethernet cards
4791.112Sperryel0	at isa? port 0x300 irq 9		# 3C501 ethernet cards
4801.112Sperryep0	at isa? port ? irq ?			# 3C509 ethernet cards
4811.140Spkef0	at isa? port 0x360 iomem 0xd0000 irq 7	# 3C507
4821.140Spkai0	at isa? port 0x360 iomem 0xd0000 irq 7	# StarLAN
4831.143Senamifmv0	at isa? port 0x2a0 irq ?		# FMV-180 series
4841.140Spkix0	at isa? port 0x300 irq 10		# EtherExpress/16
4851.121Sdrochneriy0	at isa? port 0x360 irq ?		# EtherExpress PRO 10 ISA
4861.123Sthorpejlc0	at isa? port 0x320 iomem ? irq ?	# DEC EtherWORKS III (LEMAC)
4871.146Sdrochner#depca0	at isa? port 0x300 iomem 0xc8000 iosiz 0x8000 irq 5	# DEPCA
4881.146Sdrochner#le*	at depca?
4891.147Sdrochnernele0	at isa? port 0x320 irq 9 drq 7		# NE2100
4901.146Sdrochnerle*	at nele?
4911.146Sdrochnerbicc0	at isa? port 0x320 irq 10 drq 7		# BICC IsoLan
4921.146Sdrochnerle*	at bicc?
4931.112Sperryne0	at isa? port 0x280 irq 9		# NE[12]000 ethernet cards
4941.112Sperryne1	at isa? port 0x300 irq 10
4951.119Sthorpejsm0	at isa? port 0x300 irq 10		# SMC91C9x Ethernet
4961.222Sbadtr0	at isa? port 0xa20 iomem 0xd8000 irq ?  # IBM TROPIC based Token-Ring
4971.222Sbadtr1	at isa? port 0xa24 iomem 0xd0000 irq ?  # IBM TROPIC based Token-Ring
4981.222Sbadtr*	at isa? port ? irq ?			# 3COM TROPIC based Token-Ring
4991.118Sthorpejwe0	at isa? port 0x280 iomem 0xd0000 irq 9	# WD/SMC Ethernet
5001.118Sthorpejwe1	at isa? port 0x300 iomem 0xcc000 irq 10
5011.112Sperry
5021.172Sthorpej# MII/PHY support
5031.195Sthorpejexphy*	at mii? phy ?			# 3Com internal PHYs
5041.198Sthorpejicsphy*	at mii? phy ?			# Integrated Circuit Systems ICS1890
5051.172Sthorpejinphy*	at mii? phy ?			# Intel 82555 PHYs
5061.195Sthorpejlxtphy*	at mii? phy ?			# Level One LXT-970 PHYs
5071.172Sthorpejnsphy*	at mii? phy ?			# NS83840 PHYs
5081.172Sthorpejqsphy*	at mii? phy ?			# Quality Semiconductor QS6612 PHYs
5091.199Sthorpejsqphy*	at mii? phy ?			# Seeq 80220/80221/80223 PHYs
5101.172Sthorpejtlphy*	at mii? phy ?			# ThunderLAN PHYs
5111.201Sthorpejukphy*	at mii? phy ?			# generic unknown PHYs
5121.112Sperry
5131.162Saugustss# USB Controller and Devices
5141.162Saugustss
5151.162Saugustss# PCI USB controllers
5161.162Saugustssuhci*	at pci?				# Universal Host Controller (Intel)
5171.162Saugustssohci*	at pci?				# Open Host Controller
5181.162Saugustss
5191.162Saugustss# USB bus support
5201.162Saugustssusb*	at uhci?
5211.162Saugustssusb*	at ohci?
5221.162Saugustss
5231.162Saugustss# USB Hubs
5241.162Saugustssuhub*	at usb?
5251.207Saugustssuhub*	at uhub? port ? configuration ? interface ?
5261.162Saugustss
5271.162Saugustss# USB Mice
5281.207Saugustssums*	at uhub? port ? configuration ? interface ?
5291.246Saugustsswsmouse*	at ums? mux 0
5301.162Saugustss
5311.162Saugustss# USB Keyboards
5321.207Saugustssukbd*	at uhub? port ? configuration ? interface ?
5331.246Saugustsswskbd*	at ukbd? console ? mux 1
5341.162Saugustss
5351.162Saugustss# USB Generic HID devices
5361.207Saugustssuhid*	at uhub? port ? configuration ? interface ?
5371.162Saugustss
5381.162Saugustss# USB Printer
5391.207Saugustssulpt*	at uhub? port ? configuration ? interface ?
5401.162Saugustss
5411.254Saugustss# USB Modem
5421.254Saugustssumodem*	at uhub? port ? configuration ?
5431.256Sthorpej
5441.256Sthorpej# USB Mass Storage
5451.256Sthorpejumass*	at uhub? port ? configuration ? interface ?
5461.256Sthorpejscsibus* at umass? channel ?
5471.254Saugustss
5481.257Saugustss# USB audio
5491.257Saugustssuaudio*	at uhub? port ? configuration ?
5501.257Saugustss
5511.162Saugustss# USB Generic driver
5521.244Saugustssugen*	at uhub? port ?
5531.162Saugustss
5541.112Sperry# Audio Devices
5551.112Sperry
5561.148Saugustss# PCI audio devices
5571.148Saugustsseap*	at pci? dev ? function ?	# Ensoniq AudioPCI
5581.241Skleinkeso*	at pci? dev ? function ?	# ESS Solo-1 PCI AudioDrive
5591.268Saugustssfms*	at pci? dev ? function ?	# Forte Media FM801
5601.209Saugustsssv*	at pci? dev ? function ?	# S3 SonicVibes
5611.148Saugustss
5621.112Sperry# ISA Plug-and-Play audio devices
5631.173Saugustssess*	at isapnp?			# ESS Tech ES1887, ES1888, ES888 audio
5641.112Sperryguspnp*	at isapnp?			# Gravis Ultra Sound PnP audio
5651.112Sperrysb*	at isapnp?			# SoundBlaster-compatible audio
5661.169Saugustsswss*	at isapnp?			# Windows Sound System
5671.149Saugustssym*	at isapnp?			# Yamaha OPL3-SA3 audio
5681.112Sperry
5691.112Sperry# ISA audio devices
5701.232Sdrochner# the "aria" probe might give false hits
5711.232Sdrochner#aria0	at isa? port 0x290 irq 10 		# Aria
5721.237Saugustss#ess0	at isa? port 0x220 irq 5 drq 1 drq2 5	# ESS 18XX
5731.112Sperrygus0	at isa? port 0x220 irq 7 drq 1 drq2 6	# Gravis Ultra Sound
5741.112Sperrypas0	at isa? port 0x220 irq 7 drq 1		# ProAudio Spectrum
5751.112Sperrypss0	at isa? port 0x220 irq 7 drq 6  	# Personal Sound System
5761.112Sperrysp0	at pss0 port 0x530 irq 10 drq 0		# 	sound port driver
5771.161Sperrysb0	at isa? port 0x220 irq 5 drq 1 drq2 5	# SoundBlaster
5781.112Sperrywss0	at isa? port 0x530 irq 10 drq 0	drq2 1	# Windows Sound System
5791.112Sperry
5801.261Sitohy# OPL[23] FM synthesizers
5811.178Saugustss#opl0	at isa? port 0x388	# use only if not attached to sound card
5821.241Skleinkopl*	at eso?
5831.178Saugustssopl*	at ess?
5841.268Saugustssopl*	at fms?
5851.176Saugustssopl*	at sb?
5861.209Saugustssopl*	at sv?
5871.253Saugustssopl*	at wss?
5881.261Sitohyopl*	at ym?
5891.176Saugustss
5901.112Sperry# Audio support
5911.233Sdrochner#audio*	at aria?
5921.155Senamiaudio*	at eap?
5931.241Skleinkaudio*	at eso?
5941.176Saugustssaudio*	at ess?
5951.268Saugustssaudio*	at fms?
5961.112Sperryaudio*	at gus?
5971.112Sperryaudio*	at guspnp?
5981.112Sperryaudio*	at pas?
5991.112Sperryaudio*	at sb?
6001.112Sperryaudio*	at sp?
6011.209Saugustssaudio*	at sv?
6021.257Saugustssaudio*	at uaudio?
6031.112Sperryaudio*	at wss?
6041.149Saugustssaudio*	at ym?
6051.112Sperry
6061.249Saugustss# MPU 401 UARTs
6071.249Saugustss#mpu*	at isa? port 0x330 irq 9        # MPU401 or compatible card
6081.249Saugustssmpu*	at eso?
6091.268Saugustssmpu*	at fms?
6101.248Saugustssmpu*	at sb?
6111.261Sitohympu*	at ym?
6121.247Saugustss
6131.170Saugustss# MIDI support
6141.266Saugustssmidi*	at eap?			# 137[01] MIDI port
6151.248Saugustssmidi*	at mpu?			# MPU 401
6161.248Saugustssmidi*	at opl?			# OPL FM synth
6171.173Saugustssmidi*	at pcppi?		# MIDI interface to the PC speaker
6181.248Saugustssmidi*	at sb?			# SB1 MIDI port
6191.170Saugustss
6201.112Sperry# The spkr driver provides a simple tone interface to the built in speaker.
6211.146Sdrochner#spkr0	at pcppi?		# PC speaker
6221.112Sperry
6231.112Sperry
6241.112Sperry# Mice
6251.112Sperry
6261.112Sperry# ISA busmice
6271.243Stronlms0	at isa? port 0x23c irq 5	# Logitech bus mouse
6281.243Stronlms1	at isa? port 0x238 irq 5
6291.243Stronmms0	at isa? port 0x23c irq 5	# Microsoft InPort mouse
6301.243Stronmms1	at isa? port 0x238 irq 5
6311.246Saugustsswsmouse*	at lms? mux 0
6321.246Saugustsswsmouse*	at mms? mux 0
6331.217Sdrochner# backwards compatible versions
6341.243Stron#olms0	at isa? port 0x23c irq 5	# Logitech bus mouse
6351.243Stron#olms1	at isa? port 0x238 irq 5
6361.243Stron#omms0	at isa? port 0x23c irq 5	# Microsoft InPort mouse
6371.243Stron#omms1	at isa? port 0x238 irq 5
6381.217Sdrochner#opms0	at pc? irq 12		# PS/2 auxiliary port mouse
6391.215Sdrochner#opms0	at vt? irq 12		# PS/2 auxiliary port mouse
6401.112Sperry
6411.112Sperry
6421.112Sperry# Joysticks
6431.112Sperry
6441.112Sperry# ISA Plug-and-Play joysticks
6451.112Sperryjoy*	at isapnp?			# Game ports (usually on audio cards)
6461.112Sperry
6471.112Sperry# ISA joysticks. Probe is a little strange; add only if you have one.
6481.112Sperry#joy0	at isa? port 0x201
6491.112Sperry
6501.112Sperry
6511.112Sperry# Miscellaneous Devices
6521.112Sperry
6531.112Sperry# Planetconnect Satellite receiver driver.
6541.112Sperry#satlink0 at isa? port 0x300 drq 1
6551.112Sperry
6561.112Sperry
6571.110Sthorpej# Pull in optional local configuration
6581.57Smycroftinclude	"arch/i386/conf/GENERIC.local"
6591.1Smycroft
6601.112Sperry
6611.112Sperry# Pseudo-Devices
6621.112Sperry
6631.112Sperry# disk/mass storage pseudo-devices
6641.112Sperrypseudo-device	ccd		4	# concatenated/striped disk devices
6651.204Soster#pseudo-device	raid		4	# RAIDframe disk driver
6661.112Sperrypseudo-device	md		1	# memory disk device (ramdisk)
6671.112Sperrypseudo-device	vnd		4	# disk-like interface to files
6681.112Sperry
6691.112Sperry# network pseudo-devices
6701.110Sthorpejpseudo-device	bpfilter	8	# Berkeley packet filter
6711.110Sthorpejpseudo-device	ipfilter		# IP filter (firewall) and NAT
6721.110Sthorpejpseudo-device	loop			# network loopback
6731.110Sthorpejpseudo-device	ppp		2	# Point-to-Point Protocol
6741.112Sperrypseudo-device	sl		2	# Serial Line IP
6751.112Sperrypseudo-device	strip		2	# Starmode Radio IP (Metricom)
6761.112Sperrypseudo-device	tun		2	# network tunneling over tty
6771.183Shwrpseudo-device	gre		2	# generic L3 over IP tunnel
6781.214Stronpseudo-device	ipip		2	# IP Encapsulation within IP (RFC 2003)
6791.112Sperry
6801.112Sperry# miscellaneous pseudo-devices
6811.110Sthorpejpseudo-device	pty		64	# pseudo-terminals
6821.113Sexplorerpseudo-device	tb		1	# tablet line discipline
6831.170Saugustsspseudo-device	sequencer	1	# MIDI sequencer
6841.227Sexplorer# rnd works; RND_COM does not on port i386 yet.
6851.227Sexplorerpseudo-device	rnd			# /dev/random and in-kernel generator
6861.114Sexplorer#options 	RND_COM			# use "com" randomness as well (BROKEN)
6871.181Srvb
6881.182Srvb# a pseudo device needed for Coda	# also needs CODA (above)
6891.187Srvbpseudo-device	vcoda		4	# coda minicache <-> venus comm.
6901.246Saugustss
6911.246Saugustss# mouse & keyboard multiplexor pseudo-devices
6921.246Saugustsspseudo-device	wsmux		2
693