INSTALL revision 1.146
11.146Sfvdl#	$NetBSD: INSTALL,v 1.146 2000/06/08 21:42:14 fvdl Exp $
21.2Stls#
31.54Sthorpej#	INSTALL - Installation kernel.
41.2Stls#
51.54Sthorpej#	This kernel should be derived from GENERIC with some features
61.54Sthorpej#	commented out.
71.54Sthorpej#
81.54Sthorpej#	This kernel does NOT support X, mice, audio devices, non-NetBSD
91.37Sperry#	emulation.
101.54Sthorpej#
111.2Stls
121.25Sfvdlinclude "arch/i386/conf/std.i386"
131.2Stls
141.54Sthorpej# Enable the hooks used for initializing the root memory-disk.
151.54Sthorpejoptions 	MEMORY_DISK_HOOKS
161.54Sthorpejoptions 	MEMORY_DISK_IS_ROOT	# force root on memory disk
171.54Sthorpejoptions 	MEMORY_DISK_SERVER=0	# no userspace memory disk support
181.137Smycroftoptions 	MINIROOTSIZE=3072	# size of memory disk, in blocks
191.54Sthorpej#options 	MINIROOTSIZE=2880	# 1.44M, same as a floppy
201.112Ssommerfe
211.112Ssommerfemakeoptions	COPTS="-Os"		# generates smaller code than -O2, -O1
221.54Sthorpej
231.54Sthorpejmaxusers	32		# estimated number of users
241.54Sthorpej
251.54Sthorpej# CPU support.  At least one is REQUIRED.
261.54Sthorpejoptions 	I386_CPU
271.39Smellonoptions 	I486_CPU
281.39Smellonoptions 	I586_CPU
291.86Senamioptions 	I686_CPU
301.54Sthorpej
311.54Sthorpej# CPU-related options.
321.101Srvboptions 	MATH_EMULATE	# floating point emulation
331.50Smycroft#options 	VM86		# virtual 8086 emulation
341.50Smycroft#options 	USER_LDT	# user-settable LDT; used by WINE
351.56Sperry# eliminate delay no-ops in I/O; recommended on all but very old machines
361.56Sperry#options 	DUMMY_NOPS
371.54Sthorpej
381.54Sthorpej# Misc. i386-specific options
391.54Sthorpej#options 	XSERVER		# X server support in console drivers
401.54Sthorpej
411.54Sthorpej# This option allows you to force a serial console at the specified
421.54Sthorpej# I/O address.
431.54Sthorpej#options 	"CONSDEVNAME=\"com\"",CONADDR=0x3f8,CONSPEED=9600
441.7Sthorpej
451.49Smycroft# The following options override the memory sizes passed in from the boot
461.49Smycroft# block.  Use them *only* if the boot block is unable to determine the correct
471.55Sperry# values.  Note that the BIOS may *correctly* report less than 640k of base
481.49Smycroft# memory if the extended BIOS data area is located at the top of base memory
491.49Smycroft# (as is the case on most recent systems).
501.49Smycroft#options 	REALBASEMEM=...	# size of base memory
511.49Smycroft#options 	REALEXTMEM=...	# size of extended memory
521.102Smarc
531.102Smarc# Avoid irq 5 and 7, the most likely cause of problems on modern laptops.
541.102Smarcoptions		PCIC_ISA_INTR_ALLOC_MASK=0xff5f
551.2Stls
561.54Sthorpej# Standard system options
571.54Sthorpej
581.54Sthorpej#options 	UCONSOLE	# users can use TIOCCONS (for xconsole)
591.54Sthorpejoptions 	INSECURE	# disable kernel security levels
601.2Stls
611.39Smellonoptions 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
621.39Smellon#options 	NTP		# NTP phase/frequency locked loop
631.2Stls
641.47Smikel#options 	KTRACE		# system call tracing via ktrace(1)
651.2Stls
661.39Smellon#options 	SYSVMSG		# System V-like message queues
671.39Smellon#options 	SYSVSEM		# System V-like semaphores
681.39Smellon#options 	SYSVSHM		# System V-like memory sharing
691.39Smellon#options 	SHMMAXPGS=1024	# 1024 pages is the default
701.39Smellon
711.54Sthorpej#options 	LKM		# loadable kernel modules
721.89Sthorpej
731.54Sthorpej# Diagnostic/debugging support options
741.54Sthorpej#options 	DIAGNOSTIC	# cheap kernel consistency checks
751.54Sthorpej#options 	DEBUG		# expensive debugging checks/support
761.54Sthorpej#options 	KMEMSTATS	# kernel memory statistics (vmstat -m)
771.108Sheoptions 	DDB		# in-kernel debugger
781.144Shubertf#options 	DDB_ONPANIC=1	# see also sysctl(8): `ddb.onpanic'
791.66Slukem#options 	DDB_HISTORY_SIZE=100	# enable history editing in DDB
801.54Sthorpej#options 	KGDB		# remote debugger
811.54Sthorpej#options 	"KGDB_DEVNAME=\"com\"",KGDBADDR=0x3f8,KGDBRATE=9600
821.54Sthorpej#makeoptions	DEBUG="-g"	# compile full symbol table
831.54Sthorpej
841.61Smikel# Compatibility options
851.39Smellon#options 	COMPAT_NOMID	# compatibility with 386BSD, BSDI, NetBSD 0.8,
861.39Smellon#options 	COMPAT_09	# NetBSD 0.9,
871.101Srvboptions 	COMPAT_10	# NetBSD 1.0,
881.101Srvboptions 	COMPAT_11	# NetBSD 1.1,
891.101Srvboptions 	COMPAT_12	# NetBSD 1.2,
901.101Srvboptions 	COMPAT_13	# NetBSD 1.3,
911.121Saugustssoptions 	COMPAT_14	# NetBSD 1.4,
921.39Smellon#options 	COMPAT_43	# and 4.3BSD
931.84Sveegooptions 	COMPAT_386BSD_MBRPART # recognize old partition ID
941.39Smellon
951.39Smellon#options 	COMPAT_SVR4	# binary compatibility with SVR4
961.39Smellon#options 	COMPAT_IBCS2	# binary compatibility with SCO and ISC
971.39Smellon#options 	COMPAT_LINUX	# binary compatibility with Linux
981.39Smellon#options 	COMPAT_FREEBSD	# binary compatibility with FreeBSD
991.2Stls
1001.54Sthorpej# File systems
1011.32Sthorpejfile-system 	FFS		# UFS
1021.101Srvbfile-system 	EXT2FS		# second extended file system (linux)
1031.43Smikel#file-system 	LFS		# log-structured file system
1041.32Sthorpejfile-system 	MFS		# memory file system
1051.32Sthorpejfile-system 	NFS		# Network File System client
1061.116Schristosfile-system 	NTFS		# Windows/NT Filesystem
1071.101Srvbfile-system 	CD9660		# ISO 9660 + Rock Ridge file system
1081.101Srvbfile-system 	MSDOSFS		# MS-DOS file system
1091.59Sperry#file-system 	FDESC		# /dev/fd
1101.32Sthorpejfile-system 	KERNFS		# /kern
1111.43Smikel#file-system 	NULLFS		# loopback file system
1121.43Smikel#file-system 	PORTAL		# portal filesystem (still experimental)
1131.43Smikel#file-system 	PROCFS		# /proc
1141.43Smikel#file-system 	UMAPFS		# NULLFS + uid and gid remapping
1151.43Smikel#file-system 	UNION		# union file system
1161.2Stls
1171.54Sthorpej# File system options
1181.39Smellon#options 	QUOTA		# UFS quotas
1191.39Smellon#options 	NFSSERVER	# Network File System server
1201.37Sperry#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
1211.37Sperry				# immutable) behave as system flags.
1221.61Smikel
1231.54Sthorpej# Networking options
1241.39Smellon#options 	GATEWAY		# packet forwarding
1251.39Smellonoptions 	INET		# IP + ICMP + TCP + UDP
1261.134Sitojunoptions 	INET6		# IPv6
1271.39Smellon#options 	MROUTING	# IP multicast routing
1281.39Smellon#options 	NS		# XNS
1291.39Smellon#options 	NSIP		# XNS tunneling over IP
1301.39Smellon#options 	ISO,TPIP	# OSI
1311.39Smellon#options 	EON		# OSI tunneling over IP
1321.39Smellon#options 	CCITT,LLC,HDLC	# X.25
1331.54Sthorpej#options 	NETATALK	# AppleTalk networking protocols
1341.54Sthorpej#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
1351.54Sthorpej#options 	PPP_DEFLATE	# Deflate compression support for PPP
1361.54Sthorpej#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
1371.43Smikel#options 	PFIL_HOOKS	# pfil(9) packet filter hooks
1381.2Stls
1391.61Smikel# Compatibility with 4.2BSD implementation of TCP/IP.  Not recommended.
1401.54Sthorpej#options 	TCP_COMPAT_42
1411.2Stls
1421.56Sperry# These options enable verbose messages for several subsystems.
1431.56Sperry# Warning, these may compile large string tables into the kernel!
1441.56Sperry#options 	EISAVERBOSE	# verbose EISA device autoconfig messages
1451.143Saugustss#options 	MIIVERBOSE	# verbose PHY autoconfig messages
1461.56Sperry#options 	PCIVERBOSE	# verbose PCI device autoconfig messages
1471.139Scgd#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
1481.54Sthorpej#options 	PCMCIAVERBOSE	# verbose PCMCIA configuration messages
1491.56Sperry#options 	SCSIVERBOSE	# human readable SCSI error messages
1501.54Sthorpej
1511.54Sthorpej# Kernel root file system and dump configuration.
1521.54Sthorpejconfig		netbsd	root on ? type ?
1531.54Sthorpej#config		netbsd	root on sd0a type ffs
1541.54Sthorpej#config		netbsd	root on ? type nfs
1551.54Sthorpej
1561.54Sthorpej#
1571.54Sthorpej# Device configuration
1581.54Sthorpej#
1591.43Smikel
1601.6Scgdmainbus0 at root
1611.6Scgd
1621.54Sthorpej#apm0	at mainbus0			# Advanced power management
1631.2Stls
1641.56Sperry
1651.56Sperry# Basic Bus Support
1661.56Sperry
1671.54Sthorpej# PCI bus support
1681.54Sthorpejpci*	at mainbus? bus ?
1691.54Sthorpejpci*	at pchb? bus ?
1701.5Scgdpci*	at ppb? bus ?
1711.54Sthorpej
1721.56Sperry# PCI bridges
1731.27Sthorpejpchb*	at pci? dev ? function ?	# PCI-Host bridges
1741.75Sthorpejpceb*	at pci? dev ? function ?	# PCI-EISA bridges
1751.27Sthorpejpcib*	at pci? dev ? function ?	# PCI-ISA bridges
1761.54Sthorpejppb*	at pci? dev ? function ?	# PCI-PCI bridges
1771.88Scgd# XXX 'puc's aren't really bridges, but there's no better place for them here
1781.88Scgdpuc*	at pci? dev ? function ?	# PCI "universal" comm. cards
1791.27Sthorpej
1801.54Sthorpej# EISA bus support
1811.54Sthorpejeisa*	at mainbus?
1821.75Sthorpejeisa*	at pceb?
1831.27Sthorpej
1841.54Sthorpej# ISA bus support
1851.54Sthorpejisa*	at mainbus?
1861.75Sthorpejisa*	at pceb?
1871.54Sthorpejisa*	at pcib?
1881.54Sthorpej
1891.56Sperry# PCMCIA bus support
1901.56Sperrypcmcia*	at pcic? controller ? socket ?
1911.118Schristospcmcia*	at tcic? controller ? socket ?
1921.56Sperry
1931.56Sperry# ISA PCMCIA controllers
1941.56Sperrypcic0	at isa? port 0x3e0 iomem 0xd0000 iosiz 0x4000
1951.56Sperrypcic1	at isa? port 0x3e2 iomem 0xd4000 iosiz 0x4000
1961.118Schristostcic0	at isa? port 0x240 iomem 0xd0000 iosiz 0x4000
1971.118Schristos
1981.118Schristos# PCI PCMCIA controllers
1991.118Schristospcic0	at pci? dev? function ?
2001.56Sperry
2011.56Sperry# ISA Plug-and-Play bus support
2021.56Sperryisapnp0	at isa?
2031.56Sperry
2041.118Schristos# ISA Plug-and-Play PCMCIA controllers
2051.118Schristospcic*	at isapnp?
2061.56Sperry
2071.56Sperry# Coprocessor Support
2081.56Sperry
2091.56Sperry# Math Coprocessor support
2101.56Sperrynpx0	at isa? port 0xf0 irq 13	# x86 math coprocessor
2111.56Sperry
2121.56Sperry
2131.56Sperry# Console Devices
2141.56Sperry
2151.56Sperry# ISA console.  You can only configure one of these!
2161.56Sperrypc0	at isa? port 0x60 irq 1		# pccons generic PC console driver
2171.56Sperry#vt0	at isa? port 0x60 irq 1		# PCVT console driver
2181.90Sbouyer
2191.90Sbouyer# Keyboard layout configuration for pccons
2201.92Sbouyer#options 	FRENCH_KBD
2211.91Sbouyer#options 	FINNISH_KBD
2221.92Sbouyer#options 	GERMAN_KBD
2231.93Sperry#options 	NORWEGIAN_KBD
2241.56Sperry
2251.118Schristos# wscons
2261.118Schristos#pckbc0	at isa?			# pc keyboard controller
2271.118Schristos#pckbd*	at pckbc?		# PC keyboard
2281.118Schristos# "opms" should not be enabled together with "pms" or "pmsi"
2291.118Schristos#pms*		at pckbc?		# PS/2 mouse for wsmouse
2301.118Schristos#pmsi*		at pckbc?	# PS/2 "Intelli"mouse for wsmouse
2311.118Schristos#opms*		at pckbc?		# backwards compatible PS/2 mouse
2321.118Schristos#vga0		at isa?
2331.118Schristos#vga*		at pci?
2341.118Schristos#pcdisplay0	at isa?			# CGA, MDA, EGA, HGA
2351.118Schristos#wsdisplay*	at vga? console ?
2361.118Schristos#wsdisplay*	at pcdisplay? console ?
2371.118Schristos#wskbd*	at pckbd? console ?
2381.118Schristos#wsmouse*	at pms?
2391.118Schristos#wsmouse*	at pmsi?
2401.118Schristos
2411.82Sdrochner#pcppi0	at isa?
2421.82Sdrochner#sysbeep0	at pcppi?
2431.56Sperry
2441.56Sperry# Serial Devices
2451.56Sperry
2461.56Sperry# PCI serial interfaces
2471.133Ssorencom*	at puc? port ?			# 16x50s on "universal" comm boards
2481.56Sperry#cy*	at pci? dev ? function ?	# Cyclades Cyclom-Y serial boards
2491.54Sthorpej
2501.56Sperry# ISA Plug-and-Play serial interfaces
2511.56Sperrycom*	at isapnp?			# Modems and serial boards
2521.56Sperry
2531.56Sperry# PCMCIA serial interfaces
2541.56Sperrycom*	at pcmcia? function ?		# Modems and serial cards
2551.98Sthorpej
2561.98Sthorpejpcmcom*	at pcmcia? function ?		# PCMCIA multi-port serial cards
2571.98Sthorpejcom*	at pcmcom? slave ?		# ...and the slave devices
2581.56Sperry
2591.56Sperry# ISA serial interfaces
2601.56Sperry#options 	COM_HAYESP		# adds Hayes ESP serial board support
2611.56Sperrycom0	at isa? port 0x3f8 irq 4	# Standard PC serial ports
2621.56Sperrycom1	at isa? port 0x2f8 irq 3
2631.56Sperrycom2	at isa? port 0x3e8 irq 5
2641.56Sperry#com3	at isa? port 0x2e8 irq 9
2651.56Sperry#ast0	at isa? port 0x1a0 irq 5	# AST 4-port serial cards
2661.56Sperry#com*	at ast? slave ?
2671.56Sperry#boca0	at isa? port 0x100 irq 5	# BOCA 8-port serial cards
2681.56Sperry#com*	at boca? slave ?
2691.118Schristos#tcom0	at isa? port 0x100 irq 7	# TC-800 8-port serial cards
2701.118Schristos#com*	at tcom? slave ?
2711.56Sperry#rtfps0	at isa? port 0x1230 irq 10	# RT 4-port serial cards
2721.56Sperry#com*	at rtfps? slave ?
2731.56Sperry#cy0	at isa? iomem 0xd4000 irq 12	# Cyclades serial cards
2741.56Sperry
2751.56Sperry
2761.56Sperry# Parallel Printer Interfaces
2771.88Scgd
2781.88Scgd# PCI parallel printer interfaces
2791.88Scgd#lpt*	at puc? port ?			# || ports on "universal" comm boards
2801.56Sperry
2811.56Sperry# ISA parallel printer interfaces
2821.56Sperry#lpt0	at isa? port 0x378 irq 7	# standard PC parallel ports
2831.56Sperry#lpt1	at isa? port 0x278
2841.56Sperry#lpt2	at isa? port 0x3bc
2851.56Sperry
2861.56Sperry
2871.56Sperry# SCSI Controllers and Devices
2881.5Scgd
2891.56Sperry# PCI SCSI controllers
2901.118Schristosadv*	at pci? dev ? function ?	# AdvanSys 1200[A,B], 9xx[U,UA] SCSI
2911.142Sdanteadw*	at pci? dev ? function ?	# AdvanSys 9x0UW[D], 3940U[2,3]W SCSI
2921.56Sperryahc*	at pci? dev ? function ?	# Adaptec [23]94x, aic78x0 SCSI
2931.56Sperrybha*	at pci? dev ? function ?	# BusLogic 9xx SCSI
2941.126Saddpt*	at pci? dev ? function ?	# DPT SmartCache/SmartRAID
2951.56Sperryisp*	at pci? dev ? function ?	# Qlogic ISP [12]0x0 SCSI/FibreChannel
2961.146Sfvdl#ncr*	at pci? dev ? function ?	# NCR 53c8xx SCSI
2971.146Sfvdlsiop*	at pci? dev ? function ?	# NCR 53c8xx SCSI (new driver)
2981.105Sthorpejpcscp*	at pci? dev ? function ?	# AMD 53c974 PCscsi-PCI SCSI
2991.2Stls
3001.56Sperry# EISA SCSI controllers
3011.56Sperryahb*	at eisa? slot ?			# Adaptec 174[02] SCSI
3021.56Sperryahc*	at eisa? slot ?			# Adaptec 274x, aic7770 SCSI
3031.56Sperrybha*	at eisa? slot ?			# BusLogic 7xx SCSI
3041.135Saddpt*	at eisa? slot ?			# DPT SmartCache/SmartRAID
3051.56Sperryuha*	at eisa? slot ?			# UltraStor 24f SCSI
3061.2Stls
3071.56Sperry# PCMCIA SCSI controllers
3081.56Sperryaic*	at pcmcia? function ?		# Adaptec APA-1460 SCSI
3091.81Senami
3101.81Senami# ISA Plug-and-Play SCSI controllers
3111.118Schristosaha*	at isapnp? 			# Adaptec AHA-154[02
3121.81Senamiaic*	at isapnp?			# Adaptec AHA-1520B
3131.54Sthorpej
3141.54Sthorpej# ISA SCSI controllers
3151.118Schristosadv0	at isa? port ? irq ? drq ?	# AdvanSys APB-514[02]
3161.54Sthorpejaha0	at isa? port 0x330 irq ? drq ?	# Adaptec 154[02] SCSI
3171.54Sthorpejaha1	at isa? port 0x334 irq ? drq ?
3181.54Sthorpejahc0	at isa? port ? irq ?		# Adaptec 284x SCSI
3191.54Sthorpejaic0	at isa? port 0x340 irq 11	# Adaptec 152[02] SCSI
3201.61Smikelbha0	at isa? port 0x330 irq ? drq ?	# BusLogic [457]4X SCSI
3211.54Sthorpejbha1	at isa? port 0x334 irq ? drq ?
3221.136Sad# The "nca" and "dpt" probes might give false hits or hang your machine.
3231.136Sad#dpt0	at isa? port 0x170 irq ? drq ?	# DPT SmartCache/SmartRAID
3241.128Sdrochner#nca0	at isa? port 0x360 irq 15	# Port-mapped NCR 53C80 contoller
3251.128Sdrochner#nca1	at isa? iomem 0xd8000 irq 5	# Memory-mapped controller (T128, etc.)
3261.54Sthorpejsea0	at isa? iomem 0xc8000 irq 5	# Seagate/Future Domain SCSI
3271.54Sthorpejuha0	at isa? port 0x330 irq ? drq ?	# UltraStor [13]4f SCSI
3281.72Sdrochneruha1	at isa? port 0x340 irq ? drq ?
3291.54Sthorpejwds0	at isa? port 0x350 irq 15 drq 6	# WD7000 and TMC-7000 controllers
3301.54Sthorpejwds1	at isa? port 0x358 irq 11 drq 5
3311.54Sthorpej
3321.56Sperry# SCSI bus support
3331.95Sdantescsibus* at adv?
3341.97Sdantescsibus* at adw?
3351.56Sperryscsibus* at aha?
3361.56Sperryscsibus* at ahb?
3371.56Sperryscsibus* at ahc?
3381.56Sperryscsibus* at aic?
3391.56Sperryscsibus* at bha?
3401.126Sadscsibus* at dpt?
3411.56Sperryscsibus* at isp?
3421.129Sdrochner#scsibus* at nca?
3431.146Sfvdl#scsibus* at ncr?
3441.146Sfvdlscsibus* at siop?
3451.105Sthorpejscsibus* at pcscp?
3461.56Sperryscsibus* at sea?
3471.56Sperryscsibus* at uha?
3481.56Sperryscsibus* at wds?
3491.56Sperry
3501.56Sperry# SCSI devices
3511.56Sperrysd*	at scsibus? target ? lun ?	# SCSI disk drives
3521.56Sperryst*	at scsibus? target ? lun ?	# SCSI tape drives
3531.56Sperrycd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives
3541.56Sperry#ch*	at scsibus? target ? lun ?	# SCSI autochangers
3551.56Sperry#ss*	at scsibus? target ? lun ?	# SCSI scanners
3561.56Sperry#uk*	at scsibus? target ? lun ?	# SCSI unknown
3571.56Sperry
3581.138Sad# RAID controllers and devices
3591.138Sadcac*	at pci? dev ? function ?	# Compaq array controller
3601.138Sadca*	at cac? unit ?			# Compaq array disk device
3611.56Sperry
3621.110Sabs# IDE and related devices
3631.114Skleink# PCI IDE controllers - see pciide(4) for supported hardware.
3641.99Sbouyer# The 0x0001 flag force the driver to use DMA, even if the driver doesn't know
3651.99Sbouyer# how to set up DMA modes for this chip. This may work, or may cause
3661.99Sbouyer# a machine hang with some controllers.
3671.99Sbouyerpciide* at pci ? dev ? function ? flags 0x0000
3681.56Sperry
3691.99Sbouyer# ISA Plug-and-Play IDE controllers
3701.118Schristoswdc*	at isapnp?
3711.99Sbouyer
3721.99Sbouyer# PCMCIA IDE controllers
3731.99Sbouyerwdc*    at pcmcia? function ?   
3741.99Sbouyer
3751.99Sbouyer# ISA ST506, ESDI, and IDE controllers
3761.117Sbouyer# Use flags 0x01 if you want to try to use 32bits data I/O (the driver will
3771.117Sbouyer# fall back to 16bits I/O if 32bits I/O are not functionnal).
3781.117Sbouyer# Some controllers pass the initial 32bit test, but will fail later.
3791.117Sbouyerwdc0	at isa? port 0x1f0 irq 14 flags 0x00
3801.117Sbouyerwdc1	at isa? port 0x170 irq 15 flags 0x00
3811.56Sperry
3821.56Sperry# IDE drives
3831.110Sabs# Flags are used only with controllers that support DMA operations
3841.110Sabs# and mode settings (e.g. some pciide controllers)
3851.110Sabs# The lowest order four bits (rightmost digit) of the flags define the PIO
3861.110Sabs# mode to use, the next set of four bits the DMA mode and the third set the
3871.110Sabs# UltraDMA mode. For each set of four bits, the 3 lower bits define the mode
3881.110Sabs# to use, and the last bit must be 1 for this setting to be used.
3891.110Sabs# For DMA and UDMA, 0xf (1111) means 'disable'.
3901.110Sabs# 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'.
3911.110Sabs# (0xc=1100, 0xa=1010, 0xf=1111)
3921.110Sabs# 0x0000 means "use whatever the drive claims to support".
3931.118Schristoswd*	at wdc? channel ? drive ? flags 0x0000
3941.118Schristoswd*	at pciide? channel ? drive ? flags 0x0000
3951.56Sperry
3961.56Sperry# ATAPI bus support
3971.118Schristosatapibus* at wdc? channel ?
3981.99Sbouyeratapibus* at pciide? channel ?
3991.56Sperry
4001.56Sperry# ATAPI devices
4011.118Schristos# flags have the same meaning as for IDE drives.
4021.118Schristoscd*	at atapibus? drive ? flags 0x0000	# ATAPI CD-ROM drives
4031.118Schristossd*	at atapibus? drive ? flags 0x0000	# ATAPI disk drives
4041.118Schristos#uk*	at atapibus? drive ? flags 0x0000	# ATAPI unknown
4051.56Sperry
4061.56Sperry
4071.56Sperry# Miscellaneous mass storage devices
4081.56Sperry
4091.56Sperry# ISA floppy
4101.56Sperryfdc0	at isa? port 0x3f0 irq 6 drq 2	# standard PC floppy controllers
4111.56Sperry#fdc1	at isa? port 0x370 irq ? drq ?
4121.56Sperryfd*	at fdc? drive ?			# the drives themselves
4131.56Sperry# some machines need you to do this instead of fd*
4141.56Sperry#fd0	at fdc0 drive 0
4151.56Sperry
4161.56Sperry# ISA CD-ROM devices
4171.56Sperry#mcd0	at isa? port 0x300 irq 10	# Mitsumi CD-ROM drives
4181.56Sperry
4191.56Sperry# ISA tape devices
4201.56Sperry# note: the wt driver conflicts unpleasantly with ed devices at the
4211.61Smikel# same I/O address. The probe reprograms their EEPROMs. Don't
4221.56Sperry# uncomment it unless you are actually using it.
4231.72Sdrochner#wt0	at isa? port 0x308 irq 5 drq 1	# Archive and Wangtek QIC tape drives
4241.56Sperry
4251.56Sperry
4261.56Sperry# Network Interfaces
4271.56Sperry
4281.56Sperry# PCI network interfaces
4291.56Sperryde*	at pci? dev ? function ?	# DEC 21x4x-based Ethernet
4301.56Sperryen*	at pci? dev ? function ?	# ENI/Adaptec ATM
4311.104Sheep*	at pci? dev ? function ?	# 3Com 3c59x
4321.104Sheex*	at pci? dev ? function ?	# 3Com 90x[B]
4331.85Sthorpejepic*	at pci? dev ? function ?	# SMC EPIC/100 Ethernet
4341.118Schristosesh*	at pci? dev ? function ?	# Essential HIPPI card
4351.56Sperryfpa*	at pci? dev ? function ?	# DEC DEFPA FDDI
4361.56Sperryfxp*	at pci? dev ? function ?	# Intel EtherExpress PRO 10+/100B
4371.56Sperryle*	at pci? dev ? function ?	# PCnet-PCI Ethernet
4381.56Sperryne*	at pci? dev ? function ?	# NE2000-compatible Ethernet
4391.122Sthorpejsip*	at pci? dev ? function ?	# SiS 900 Ethernet
4401.60Sbouyertl*	at pci? dev ? function ?	# ThunderLAN-based Ethernet
4411.130Sthorpejtlp*	at pci? dev ? function ?	# DECchip 21x4x (and clones) Ethernet
4421.130Sthorpej#options 	TLP_MATCH_21040
4431.130Sthorpej#options 	TLP_MATCH_21041
4441.130Sthorpej#options 	TLP_MATCH_21140
4451.130Sthorpej#options 	TLP_MATCH_21142
4461.118Schristosvr*	at pci? dev ? function ?	# VIA Rhine Fast Ethernet
4471.118Schristoslmc*	at pci? dev ? function ?	# Lan Media Corp SSI/HSSI/DS3
4481.141Sgroortk*	at pci? dev ? function ?	# Realtek 8129/8139
4491.2Stls
4501.56Sperry# EISA network interfaces
4511.56Sperryep*	at eisa? slot ?			# 3Com 3c579 Ethernet
4521.56Sperryfea*	at eisa? slot ?			# DEC DEFEA FDDI
4531.130Sthorpejtlp*	at eisa? slot ?			# DEC DE-425 Ethernet
4541.2Stls
4551.56Sperry# ISA Plug-and-Play network interfaces
4561.56Sperryep*	at isapnp?			# 3Com 3c509 Ethernet
4571.56Sperryne*	at isapnp?			# NE2000-compatible Ethernet
4581.115Sbadtr*	at isapnp?			# IBM/3COM TROPIC Token-Ring
4591.20Smycroft
4601.56Sperry# PCMCIA network interfaces
4611.134Sitojun# need more pcic mem window for awi and cnw
4621.134Sitojun#awi*	at pcmcia? function ?		# BayStack 650 (802.11FH)
4631.134Sitojun#cnw*	at pcmcia? function ?		# Xircom/Netwave AirSurfer
4641.56Sperryep*	at pcmcia? function ?		# 3Com 3c589 and 3c562 Ethernet
4651.80Senamimbe*	at pcmcia? function ?		# MB8696x based Ethernet
4661.56Sperryne*	at pcmcia? function ?		# NE2000-compatible Ethernet
4671.56Sperrysm*	at pcmcia? function ?		# Megahertz Ethernet
4681.123Sbouyerwi*	at pcmcia? function ?		# Lucent WaveLan IEEE (802.11)
4691.145Sgmcgarryxi*	at pcmcia? function ?		# Xircom CreditCard Ethernet
4701.127Sthorpej
4711.127Sthorpejmhzc*	at pcmcia? function ?		# Megahertz Ethernet/Modem combo cards
4721.127Sthorpejcom*	at mhzc?
4731.127Sthorpejsm*	at mhzc?
4741.54Sthorpej
4751.54Sthorpej# ISA network interfaces
4761.79Senamiate0	at isa? port 0x2a0 irq ?		# AT1700
4771.89Sthorpejcs0	at isa? port 0x300 iomem ? irq ? drq ?	# CS8900 Ethernet
4781.62Sthorpejec0	at isa? port 0x250 iomem 0xd8000 irq 9	# 3Com 3c503 Ethernet
4791.65Sthorpejeg0	at isa? port 0x280 irq 9		# 3C505 ethernet cards
4801.54Sthorpejel0	at isa? port 0x300 irq 9		# 3C501 ethernet cards
4811.54Sthorpejep0	at isa? port ? irq ?			# 3C509 ethernet cards
4821.77Saugustssef0	at isa? port 0x360 iomem 0xd0000 irq 7	# 3C507
4831.77Saugustssai0	at isa? port 0x360 iomem 0xd0000 irq 7	# StarLAN
4841.79Senamifmv0	at isa? port 0x2a0 irq ?		# FMV-180 series
4851.77Saugustssix0	at isa? port 0x300 irq 10		# EtherExpress/16
4861.68Sthorpejiy0	at isa? port 0x360 irq ?		# EtherExpress PRO 10 ISA
4871.67Sthorpejlc0	at isa? port 0x320 iomem ? irq ?	# DEC EtherWORKS III (LEMAC)
4881.118Schristosdepca0	at isa? port 0x300 iomem 0xc8000 iosiz 0x8000 irq 5	# DEPCA
4891.118Schristosle*	at depca?
4901.118Schristosnele0	at isa? port 0x320 irq 9 drq 7		# NE2100
4911.118Schristosle*	at nele?
4921.118Schristosbicc0	at isa? port 0x320 irq 10 drq 7		# BICC IsoLan
4931.118Schristosle*	at bicc?
4941.54Sthorpejne0	at isa? port 0x280 irq 9		# NE[12]000 ethernet cards
4951.54Sthorpejne1	at isa? port 0x300 irq 10
4961.64Sthorpejsm0	at isa? port 0x300 irq 10		# SMC91C9x Ethernet
4971.115Sbadtr0	at isa? port 0xa20 iomem 0xd8000 irq ?  # IBM TROPIC based Token-Ring
4981.115Sbadtr1	at isa? port 0xa24 iomem 0xd0000 irq ?  # IBM TROPIC based Token-Ring
4991.115Sbadtr*	at isa? port ? irq ?			# 3COM TROPIC based Token-Ring
5001.63Sthorpejwe0	at isa? port 0x280 iomem 0xd0000 irq 9	# WD/SMC Ethernet
5011.63Sthorpejwe1	at isa? port 0x300 iomem 0xcc000 irq 10
5021.54Sthorpej
5031.94Sthorpej# MII/PHY support
5041.104Sheexphy*	at mii? phy ?			# 3Com internal PHYs
5051.104Sheicsphy*	at mii? phy ?			# Integrated Circuit Systems ICS1890
5061.104Sheinphy*	at mii? phy ?			# Intel 82555 PHYs
5071.130Sthorpejiophy*	at mii? phy ?			# Intel 82553 PHYs
5081.104Shelxtphy*	at mii? phy ?			# Level One LXT-970 PHYs
5091.118Schristosnsphy*	at mii? phy ?			# NS83840 PHYs
5101.132Sthorpejnsphyter* at mii? phy ?			# NS83843 PHYs
5111.118Schristosqsphy*	at mii? phy ?			# Quality Semiconductor QS6612 PHYs
5121.104Shesqphy*	at mii? phy ?			# Seeq 80220/80221/80223 PHYs
5131.94Sthorpejtlphy*	at mii? phy ?			# ThunderLAN PHYs
5141.130Sthorpejtqphy*	at mii? phy ?			# TDK Semiconductor PHYs
5151.104Sheukphy*	at mii? phy ?			# generic unknown PHYs
5161.54Sthorpej
5171.118Schristos# USB Controller and Devices
5181.118Schristos
5191.118Schristos# PCI USB controllers
5201.118Schristos#uhci*	at pci?				# Universal Host Controller (Intel)
5211.118Schristos#ohci*	at pci?				# Open Host Controller
5221.118Schristos
5231.118Schristos# USB bus support
5241.118Schristos#usb*	at uhci?
5251.118Schristos#usb*	at ohci?
5261.118Schristos
5271.118Schristos# USB Hubs
5281.118Schristos#uhub*	at usb?
5291.118Schristos#uhub*	at uhub? port ? configuration ? interface ?
5301.118Schristos
5311.118Schristos# USB Mice
5321.118Schristos#ums*	at uhub? port ? configuration ? interface ?
5331.118Schristos#wsmouse*	at ums?
5341.118Schristos
5351.118Schristos# USB Keyboards
5361.118Schristos#ukbd*	at uhub? port ? configuration ? interface ?
5371.118Schristos#wskbd*	at ukbd? console ?
5381.118Schristos
5391.118Schristos# USB Generic HID devices
5401.118Schristos#uhid*	at uhub? port ? configuration ? interface ?
5411.118Schristos
5421.118Schristos# USB Printer
5431.118Schristos#ulpt*	at uhub? port ? configuration ? interface ?
5441.124Sthorpej
5451.124Sthorpej# USB Mass Storage
5461.124Sthorpej#umass*	at uhub? port ? configuration ? interface ?
5471.140Saugustss#atapibus* at umass? channel ?
5481.124Sthorpej#scsibus* at umass? channel ?
5491.118Schristos
5501.118Schristos# USB Generic driver
5511.118Schristos#ugen*	at uhub? port ? configuration ? interface ?
5521.118Schristos
5531.56Sperry# Audio Devices
5541.54Sthorpej
5551.118Schristos# PCI audio devices
5561.118Schristos#eap*	at pci? dev ? function ?	# Ensoniq AudioPCI
5571.120Skleink#eso*	at pci? dev ? function ?	# ESS Solo-1 PCI AudioDrive
5581.118Schristos#sv*	at pci? dev ? function ?	# S3 SonicVibes
5591.118Schristos
5601.56Sperry# ISA Plug-and-Play audio devices
5611.54Sthorpej#guspnp*	at isapnp?			# Gravis Ultra Sound PnP audio
5621.54Sthorpej#sb*	at isapnp?			# SoundBlaster-compatible audio
5631.54Sthorpej
5641.56Sperry# ISA audio devices
5651.118Schristos# the "aria" probe might give false hits
5661.118Schristos#aria0	at isa? port 0x290 irq 10 		# Aria
5671.56Sperry#gus0	at isa? port 0x220 irq 7 drq 1 drq2 6	# Gravis Ultra Sound
5681.56Sperry#pas0	at isa? port 0x220 irq 7 drq 1		# ProAudio Spectrum
5691.56Sperry#pss0	at isa? port 0x220 irq 7 drq 6  	# Personal Sound System
5701.56Sperry#sp0	at pss0 port 0x530 irq 10 drq 0		# 	sound port driver
5711.56Sperry#sb0	at isa? port 0x220 irq 7 drq 1 drq2 5	# SoundBlaster
5721.56Sperry#wss0	at isa? port 0x530 irq 10 drq 0	drq2 1	# Windows Sound System
5731.54Sthorpej
5741.118Schristos# OPL[23] FM syntheziers
5751.118Schristos#opl0	at isa? port 0x388	# use only if not attached to sound card
5761.120Skleink#opl*	at eso?
5771.118Schristos#opl*	at ess?
5781.118Schristos#opl*	at sb?
5791.118Schristos#opl*	at sv?
5801.118Schristos 
5811.54Sthorpej# Audio support
5821.118Schristos#audio*	at aria?
5831.120Skleink#audio*	at eap?
5841.120Skleink#audio*	at eso?
5851.54Sthorpej#audio*	at gus?
5861.54Sthorpej#audio*	at guspnp?
5871.54Sthorpej#audio*	at pas?
5881.54Sthorpej#audio*	at sb?
5891.54Sthorpej#audio*	at sp?
5901.120Skleink#audio*	at sv?
5911.54Sthorpej#audio*	at wss?
5921.54Sthorpej
5931.118Schristos# MIDI support
5941.118Schristos#midi*	at pcppi?		# MIDI interface to the PC speaker
5951.118Schristos#midi*	at sb?			# SB MPU401 port
5961.118Schristos#midi*	at opl?			# OPL FM synth
5971.118Schristos
5981.56Sperry# The spkr driver provides a simple tone interface to the built in speaker.
5991.82Sdrochner#spkr0	at pcppi?		# PC speaker
6001.56Sperry
6011.56Sperry
6021.56Sperry# Mice
6031.56Sperry
6041.56Sperry# ISA busmice
6051.118Schristos#lms0	at isa? port 0x23c irq 5	# Logitech bus mouse
6061.118Schristos#lms1	at isa? port 0x238 irq 5
6071.118Schristos#mms0	at isa? port 0x23c irq 5	# Microsoft InPort mouse
6081.118Schristos#mms1	at isa? port 0x238 irq 5
6091.118Schristos#wsmouse*	at lms?
6101.118Schristos#wsmouse*	at mms?
6111.118Schristos# backwards compatible versions
6121.106Sdrochner#olms0	at isa? port 0x23c irq 5	# Logitech bus mouse
6131.106Sdrochner#olms1	at isa? port 0x238 irq 5
6141.106Sdrochner#omms0	at isa? port 0x23c irq 5	# Microsoft InPort mouse
6151.106Sdrochner#omms1	at isa? port 0x238 irq 5
6161.106Sdrochner#opms0	at pc? irq 12		# PS/2 auxiliary port mouse
6171.118Schristos#opms0	at vt? irq 12		# PS/2 auxiliary port mouse
6181.56Sperry
6191.56Sperry# Joysticks
6201.56Sperry
6211.56Sperry# ISA Plug-and-Play joysticks
6221.56Sperry#joy*	at isapnp?			# Game ports (usually on audio cards)
6231.2Stls
6241.56Sperry# ISA joysticks. Probe is a little strange; add only if you have one.
6251.56Sperry#joy0	at isa? port 0x201
6261.2Stls
6271.20Smycroft
6281.56Sperry# Miscellaneous Devices
6291.20Smycroft
6301.56Sperry# Planetconnect Satellite receiver driver.
6311.56Sperry#satlink0 at isa? port 0x300 drq 1
6321.43Smikel
6331.21Smycroft
6341.54Sthorpej# Pull in optional local configuration
6351.22Smycroftinclude	"arch/i386/conf/GENERIC.local"
6361.37Sperry
6371.56Sperry
6381.56Sperry# Pseudo-Devices
6391.56Sperry
6401.56Sperry# disk/mass storage pseudo-devices
6411.56Sperry#pseudo-device	ccd		4	# concatenated/striped disk devices
6421.118Schristos#pseudo-device	raid		4	# RAIDframe disk driver
6431.56Sperrypseudo-device	md		1	# memory disk device (ramdisk)
6441.56Sperry#pseudo-device	vnd		4	# disk-like interface to files
6451.56Sperry
6461.56Sperry# network pseudo-devices
6471.54Sthorpej#pseudo-device	bpfilter	8	# Berkeley packet filter
6481.54Sthorpej#pseudo-device	ipfilter		# IP filter (firewall) and NAT
6491.54Sthorpejpseudo-device	loop			# network loopback
6501.54Sthorpejpseudo-device	ppp		2	# Point-to-Point Protocol
6511.56Sperrypseudo-device	sl		2	# Serial Line IP
6521.56Sperry#pseudo-device	strip		2	# Starmode Radio IP (Metricom)
6531.56Sperry#pseudo-device	tun		2	# network tunneling over tty
6541.118Schristos#pseudo-device	gre		2	# generic L3 over IP tunnel
6551.118Schristos#pseudo-device	ipip		2	# IP Encapsulation within IP (RFC 2003)
6561.56Sperry
6571.56Sperry# miscellaneous pseudo-devices
6581.54Sthorpejpseudo-device	pty		64	# pseudo-terminals
6591.57Sexplorer#pseudo-device	tb		1	# tablet line discipline
6601.118Schristos#pseudo-device	sequencer	1	# MIDI sequencer
6611.118Schristos# rnd works; RND_COM does not on port i386 yet.
6621.54Sthorpej#pseudo-device	rnd			# /dev/random and in-kernel generator
6631.58Sexplorer#options 	RND_COM			# use "com" randomness as well (BROKEN)
6641.118Schristos
6651.118Schristos# a pseudo device needed for Coda	# also needs CODA (above)
6661.118Schristos#pseudo-device	vcoda		4	# coda minicache <-> venus comm.
667