INSTALL revision 1.195
11.195Satatat#	$NetBSD: INSTALL,v 1.195 2002/04/25 15:06:29 atatat 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.195Satatat
141.195Satatat#options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
151.2Stls
161.178Slukemmakeoptions	COPTS="-Os"		# Optimise for space. Implies -O2
171.153Sabs
181.54Sthorpej# Enable the hooks used for initializing the root memory-disk.
191.54Sthorpejoptions 	MEMORY_DISK_HOOKS
201.54Sthorpejoptions 	MEMORY_DISK_IS_ROOT	# force root on memory disk
211.54Sthorpejoptions 	MEMORY_DISK_SERVER=0	# no userspace memory disk support
221.188Slukemoptions 	MEMORY_DISK_ROOT_SIZE=4096	# size of memory disk, in blocks
231.188Slukem#options 	MEMORY_DISK_ROOT_SIZE=2880	# 1.44M, same as a floppy
241.54Sthorpej
251.54Sthorpejmaxusers	32		# estimated number of users
261.54Sthorpej
271.54Sthorpej# CPU support.  At least one is REQUIRED.
281.54Sthorpejoptions 	I386_CPU
291.39Smellonoptions 	I486_CPU
301.39Smellonoptions 	I586_CPU
311.86Senamioptions 	I686_CPU
321.54Sthorpej
331.54Sthorpej# CPU-related options.
341.101Srvboptions 	MATH_EMULATE	# floating point emulation
351.50Smycroft#options 	VM86		# virtual 8086 emulation
361.50Smycroft#options 	USER_LDT	# user-settable LDT; used by WINE
371.56Sperry# eliminate delay no-ops in I/O; recommended on all but very old machines
381.56Sperry#options 	DUMMY_NOPS
391.54Sthorpej
401.54Sthorpej# Misc. i386-specific options
411.54Sthorpej#options 	XSERVER		# X server support in console drivers
421.54Sthorpej
431.54Sthorpej# This option allows you to force a serial console at the specified
441.54Sthorpej# I/O address.
451.178Slukem#options 	CONSDEVNAME="\"com\"",CONADDR=0x3f8,CONSPEED=9600
461.7Sthorpej
471.49Smycroft# The following options override the memory sizes passed in from the boot
481.49Smycroft# block.  Use them *only* if the boot block is unable to determine the correct
491.55Sperry# values.  Note that the BIOS may *correctly* report less than 640k of base
501.49Smycroft# memory if the extended BIOS data area is located at the top of base memory
511.49Smycroft# (as is the case on most recent systems).
521.49Smycroft#options 	REALBASEMEM=...	# size of base memory
531.49Smycroft#options 	REALEXTMEM=...	# size of extended memory
541.102Smarc
551.102Smarc# Avoid irq 5 and 7, the most likely cause of problems on modern laptops.
561.154Sabsoptions 		PCIC_ISA_INTR_ALLOC_MASK=0xff5f
571.2Stls
581.54Sthorpej# Standard system options
591.54Sthorpej
601.54Sthorpej#options 	UCONSOLE	# users can use TIOCCONS (for xconsole)
611.54Sthorpejoptions 	INSECURE	# disable kernel security levels
621.2Stls
631.39Smellonoptions 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
641.39Smellon#options 	NTP		# NTP phase/frequency locked loop
651.2Stls
661.47Smikel#options 	KTRACE		# system call tracing via ktrace(1)
671.2Stls
681.39Smellon#options 	SYSVMSG		# System V-like message queues
691.39Smellon#options 	SYSVSEM		# System V-like semaphores
701.39Smellon#options 	SYSVSHM		# System V-like memory sharing
711.39Smellon#options 	SHMMAXPGS=1024	# 1024 pages is the default
721.39Smellon
731.54Sthorpej#options 	LKM		# loadable kernel modules
741.182Sjdolecek
751.189Sgmcgarry#options 	USERCONF	# userconf(4) support
761.182Sjdolecekoptions		PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
771.89Sthorpej
781.54Sthorpej# Diagnostic/debugging support options
791.164Sfvdl#options 	DIAGNOSTIC	# expensive kernel consistency checks
801.54Sthorpej#options 	DEBUG		# expensive debugging checks/support
811.54Sthorpej#options 	KMEMSTATS	# kernel memory statistics (vmstat -m)
821.108Sheoptions 	DDB		# in-kernel debugger
831.144Shubertf#options 	DDB_ONPANIC=1	# see also sysctl(8): `ddb.onpanic'
841.149Smycroftoptions 	DDB_HISTORY_SIZE=512	# enable history editing in DDB
851.54Sthorpej#options 	KGDB		# remote debugger
861.177Slukem#options 	KGDB_DEVNAME="\"com\"",KGDB_DEVADDR=0x3f8,KGDB_DEVRATE=9600
871.178Slukem#makeoptions	DEBUG="-g"	# compile full symbol table
881.54Sthorpej
891.61Smikel# Compatibility options
901.39Smellon#options 	COMPAT_NOMID	# compatibility with 386BSD, BSDI, NetBSD 0.8,
911.39Smellon#options 	COMPAT_09	# NetBSD 0.9,
921.101Srvboptions 	COMPAT_10	# NetBSD 1.0,
931.101Srvboptions 	COMPAT_11	# NetBSD 1.1,
941.101Srvboptions 	COMPAT_12	# NetBSD 1.2,
951.101Srvboptions 	COMPAT_13	# NetBSD 1.3,
961.121Saugustssoptions 	COMPAT_14	# NetBSD 1.4,
971.39Smellon#options 	COMPAT_43	# and 4.3BSD
981.84Sveegooptions 	COMPAT_386BSD_MBRPART # recognize old partition ID
991.169Sabs#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
1001.39Smellon
1011.39Smellon#options 	COMPAT_SVR4	# binary compatibility with SVR4
1021.39Smellon#options 	COMPAT_IBCS2	# binary compatibility with SCO and ISC
1031.39Smellon#options 	COMPAT_LINUX	# binary compatibility with Linux
1041.39Smellon#options 	COMPAT_FREEBSD	# binary compatibility with FreeBSD
1051.2Stls
1061.54Sthorpej# File systems
1071.32Sthorpejfile-system 	FFS		# UFS
1081.101Srvbfile-system 	EXT2FS		# second extended file system (linux)
1091.43Smikel#file-system 	LFS		# log-structured file system
1101.32Sthorpejfile-system 	MFS		# memory file system
1111.32Sthorpejfile-system 	NFS		# Network File System client
1121.116Schristosfile-system 	NTFS		# Windows/NT Filesystem
1131.101Srvbfile-system 	CD9660		# ISO 9660 + Rock Ridge file system
1141.101Srvbfile-system 	MSDOSFS		# MS-DOS file system
1151.59Sperry#file-system 	FDESC		# /dev/fd
1161.32Sthorpejfile-system 	KERNFS		# /kern
1171.43Smikel#file-system 	NULLFS		# loopback file system
1181.43Smikel#file-system 	PORTAL		# portal filesystem (still experimental)
1191.43Smikel#file-system 	PROCFS		# /proc
1201.43Smikel#file-system 	UMAPFS		# NULLFS + uid and gid remapping
1211.43Smikel#file-system 	UNION		# union file system
1221.2Stls
1231.154Sabs# Filesystem options
1241.39Smellon#options 	QUOTA		# UFS quotas
1251.39Smellon#options 	NFSSERVER	# Network File System server
1261.154Sabs#options 	NFS_V2_ONLY	# Exclude NFS3 and NQNFS code to save space
1271.154Sabsoptions 	VNODE_OP_NOINLINE # Save space by not inlining vnode op calls
1281.37Sperry#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
1291.37Sperry				# immutable) behave as system flags.
1301.61Smikel
1311.54Sthorpej# Networking options
1321.39Smellon#options 	GATEWAY		# packet forwarding
1331.39Smellonoptions 	INET		# IP + ICMP + TCP + UDP
1341.134Sitojunoptions 	INET6		# IPv6
1351.39Smellon#options 	MROUTING	# IP multicast routing
1361.39Smellon#options 	NS		# XNS
1371.39Smellon#options 	NSIP		# XNS tunneling over IP
1381.39Smellon#options 	ISO,TPIP	# OSI
1391.39Smellon#options 	EON		# OSI tunneling over IP
1401.39Smellon#options 	CCITT,LLC,HDLC	# X.25
1411.54Sthorpej#options 	NETATALK	# AppleTalk networking protocols
1421.54Sthorpej#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
1431.54Sthorpej#options 	PPP_DEFLATE	# Deflate compression support for PPP
1441.54Sthorpej#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
1451.43Smikel#options 	PFIL_HOOKS	# pfil(9) packet filter hooks
1461.169Sabs#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
1471.2Stls
1481.56Sperry# These options enable verbose messages for several subsystems.
1491.56Sperry# Warning, these may compile large string tables into the kernel!
1501.56Sperry#options 	EISAVERBOSE	# verbose EISA device autoconfig messages
1511.143Saugustss#options 	MIIVERBOSE	# verbose PHY autoconfig messages
1521.56Sperry#options 	PCIVERBOSE	# verbose PCI device autoconfig messages
1531.139Scgd#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
1541.54Sthorpej#options 	PCMCIAVERBOSE	# verbose PCMCIA configuration messages
1551.56Sperry#options 	SCSIVERBOSE	# human readable SCSI error messages
1561.175Senami#options 	I2OVERBOSE	# verbose I2O driver messages
1571.54Sthorpej
1581.54Sthorpej# Kernel root file system and dump configuration.
1591.54Sthorpejconfig		netbsd	root on ? type ?
1601.54Sthorpej#config		netbsd	root on sd0a type ffs
1611.54Sthorpej#config		netbsd	root on ? type nfs
1621.54Sthorpej
1631.54Sthorpej#
1641.54Sthorpej# Device configuration
1651.54Sthorpej#
1661.43Smikel
1671.6Scgdmainbus0 at root
1681.6Scgd
1691.54Sthorpej#apm0	at mainbus0			# Advanced power management
1701.2Stls
1711.56Sperry
1721.56Sperry# Basic Bus Support
1731.56Sperry
1741.54Sthorpej# PCI bus support
1751.54Sthorpejpci*	at mainbus? bus ?
1761.54Sthorpejpci*	at pchb? bus ?
1771.5Scgdpci*	at ppb? bus ?
1781.54Sthorpej
1791.56Sperry# PCI bridges
1801.27Sthorpejpchb*	at pci? dev ? function ?	# PCI-Host bridges
1811.75Sthorpejpceb*	at pci? dev ? function ?	# PCI-EISA bridges
1821.27Sthorpejpcib*	at pci? dev ? function ?	# PCI-ISA bridges
1831.54Sthorpejppb*	at pci? dev ? function ?	# PCI-PCI bridges
1841.88Scgd# XXX 'puc's aren't really bridges, but there's no better place for them here
1851.88Scgdpuc*	at pci? dev ? function ?	# PCI "universal" comm. cards
1861.27Sthorpej
1871.54Sthorpej# EISA bus support
1881.172Snathanweisa0	at mainbus?
1891.172Snathanweisa0	at pceb?
1901.27Sthorpej
1911.54Sthorpej# ISA bus support
1921.172Snathanwisa0	at mainbus?
1931.172Snathanwisa0	at pceb?
1941.172Snathanwisa0	at pcib?
1951.54Sthorpej
1961.56Sperry# PCMCIA bus support
1971.56Sperrypcmcia*	at pcic? controller ? socket ?
1981.118Schristospcmcia*	at tcic? controller ? socket ?
1991.56Sperry
2001.56Sperry# ISA PCMCIA controllers
2011.159Sfvdlpcic0 	at isa? port 0x3e0 iomem 0xd0000 iosiz 0x10000
2021.159Sfvdlpcic1 	at isa? port 0x3e2 iomem 0xe0000 iosiz 0x4000
2031.183Sjmcneillpcic2	at isa? port 0x3e4 iomem 0xe0000 iosiz 0x4000
2041.159Sfvdltcic0 	at isa? port 0x240 iomem 0xd0000 iosiz 0x10000
2051.118Schristos
2061.118Schristos# PCI PCMCIA controllers
2071.118Schristospcic0	at pci? dev? function ?
2081.56Sperry
2091.56Sperry# ISA Plug-and-Play bus support
2101.56Sperryisapnp0	at isa?
2111.56Sperry
2121.118Schristos# ISA Plug-and-Play PCMCIA controllers
2131.118Schristospcic*	at isapnp?
2141.56Sperry
2151.56Sperry# Coprocessor Support
2161.56Sperry
2171.56Sperry# Math Coprocessor support
2181.56Sperrynpx0	at isa? port 0xf0 irq 13	# x86 math coprocessor
2191.56Sperry
2201.56Sperry
2211.56Sperry# Console Devices
2221.56Sperry
2231.147Smycroft# ISA console
2241.56Sperrypc0	at isa? port 0x60 irq 1		# pccons generic PC console driver
2251.90Sbouyer
2261.90Sbouyer# Keyboard layout configuration for pccons
2271.92Sbouyer#options 	FRENCH_KBD
2281.91Sbouyer#options 	FINNISH_KBD
2291.92Sbouyer#options 	GERMAN_KBD
2301.93Sperry#options 	NORWEGIAN_KBD
2311.56Sperry
2321.118Schristos# wscons
2331.118Schristos#pckbc0	at isa?			# pc keyboard controller
2341.118Schristos#pckbd*	at pckbc?		# PC keyboard
2351.118Schristos#pms*		at pckbc?		# PS/2 mouse for wsmouse
2361.118Schristos#vga0		at isa?
2371.118Schristos#vga*		at pci?
2381.118Schristos#pcdisplay0	at isa?			# CGA, MDA, EGA, HGA
2391.118Schristos#wsdisplay*	at vga? console ?
2401.118Schristos#wsdisplay*	at pcdisplay? console ?
2411.118Schristos#wskbd*	at pckbd? console ?
2421.118Schristos#wsmouse*	at pms?
2431.118Schristos
2441.82Sdrochner#pcppi0	at isa?
2451.82Sdrochner#sysbeep0	at pcppi?
2461.56Sperry
2471.56Sperry# Serial Devices
2481.56Sperry
2491.56Sperry# PCI serial interfaces
2501.133Ssorencom*	at puc? port ?			# 16x50s on "universal" comm boards
2511.56Sperry#cy*	at pci? dev ? function ?	# Cyclades Cyclom-Y serial boards
2521.54Sthorpej
2531.56Sperry# ISA Plug-and-Play serial interfaces
2541.56Sperrycom*	at isapnp?			# Modems and serial boards
2551.56Sperry
2561.56Sperry# PCMCIA serial interfaces
2571.56Sperrycom*	at pcmcia? function ?		# Modems and serial cards
2581.98Sthorpej
2591.98Sthorpejpcmcom*	at pcmcia? function ?		# PCMCIA multi-port serial cards
2601.98Sthorpejcom*	at pcmcom? slave ?		# ...and the slave devices
2611.56Sperry
2621.56Sperry# ISA serial interfaces
2631.56Sperry#options 	COM_HAYESP		# adds Hayes ESP serial board support
2641.56Sperrycom0	at isa? port 0x3f8 irq 4	# Standard PC serial ports
2651.56Sperrycom1	at isa? port 0x2f8 irq 3
2661.56Sperrycom2	at isa? port 0x3e8 irq 5
2671.56Sperry#com3	at isa? port 0x2e8 irq 9
2681.56Sperry#ast0	at isa? port 0x1a0 irq 5	# AST 4-port serial cards
2691.56Sperry#com*	at ast? slave ?
2701.56Sperry#boca0	at isa? port 0x100 irq 5	# BOCA 8-port serial cards
2711.56Sperry#com*	at boca? slave ?
2721.118Schristos#tcom0	at isa? port 0x100 irq 7	# TC-800 8-port serial cards
2731.118Schristos#com*	at tcom? slave ?
2741.56Sperry#rtfps0	at isa? port 0x1230 irq 10	# RT 4-port serial cards
2751.56Sperry#com*	at rtfps? slave ?
2761.56Sperry#cy0	at isa? iomem 0xd4000 irq 12	# Cyclades serial cards
2771.56Sperry
2781.56Sperry
2791.56Sperry# Parallel Printer Interfaces
2801.88Scgd
2811.88Scgd# PCI parallel printer interfaces
2821.88Scgd#lpt*	at puc? port ?			# || ports on "universal" comm boards
2831.56Sperry
2841.56Sperry# ISA parallel printer interfaces
2851.56Sperry#lpt0	at isa? port 0x378 irq 7	# standard PC parallel ports
2861.56Sperry#lpt1	at isa? port 0x278
2871.56Sperry#lpt2	at isa? port 0x3bc
2881.56Sperry
2891.160Sad# I2O devices
2901.160Sadiop*	at pci? dev ? function ?	# I/O processor
2911.160Sadiopsp*	at iop? tid ?			# SCSI/FC-AL ports
2921.161Sadld*	at iop? tid ?			# Block devices
2931.173Sad#dpti*	at iop? tid 0			# DPT/Adaptec control interface
2941.56Sperry
2951.56Sperry# SCSI Controllers and Devices
2961.5Scgd
2971.56Sperry# PCI SCSI controllers
2981.118Schristosadv*	at pci? dev ? function ?	# AdvanSys 1200[A,B], 9xx[U,UA] SCSI
2991.142Sdanteadw*	at pci? dev ? function ?	# AdvanSys 9x0UW[D], 3940U[2,3]W SCSI
3001.56Sperryahc*	at pci? dev ? function ?	# Adaptec [23]94x, aic78x0 SCSI
3011.56Sperrybha*	at pci? dev ? function ?	# BusLogic 9xx SCSI
3021.126Saddpt*	at pci? dev ? function ?	# DPT SmartCache/SmartRAID
3031.166Stsutsuiiha*	at pci? dev ? function ?	# Initio INIC-940/950 SCSI
3041.56Sperryisp*	at pci? dev ? function ?	# Qlogic ISP [12]0x0 SCSI/FibreChannel
3051.170Sadmly*	at pci? dev ? function ?	# Mylex AcceleRAID and eXtremeRAID
3061.170Sadpcscp*	at pci? dev ? function ?	# AMD 53c974 PCscsi-PCI SCSI
3071.146Sfvdlsiop*	at pci? dev ? function ?	# NCR 53c8xx SCSI (new driver)
3081.174Stsutsuitrm*	at pci? dev ? function ?	# Tekram DC-395U/UW/F, DC-315/U SCSI
3091.2Stls
3101.56Sperry# EISA SCSI controllers
3111.56Sperryahb*	at eisa? slot ?			# Adaptec 174[02] SCSI
3121.56Sperryahc*	at eisa? slot ?			# Adaptec 274x, aic7770 SCSI
3131.56Sperrybha*	at eisa? slot ?			# BusLogic 7xx SCSI
3141.135Saddpt*	at eisa? slot ?			# DPT SmartCache/SmartRAID
3151.56Sperryuha*	at eisa? slot ?			# UltraStor 24f SCSI
3161.2Stls
3171.56Sperry# PCMCIA SCSI controllers
3181.56Sperryaic*	at pcmcia? function ?		# Adaptec APA-1460 SCSI
3191.81Senami
3201.81Senami# ISA Plug-and-Play SCSI controllers
3211.118Schristosaha*	at isapnp? 			# Adaptec AHA-154[02
3221.81Senamiaic*	at isapnp?			# Adaptec AHA-1520B
3231.54Sthorpej
3241.54Sthorpej# ISA SCSI controllers
3251.118Schristosadv0	at isa? port ? irq ? drq ?	# AdvanSys APB-514[02]
3261.54Sthorpejaha0	at isa? port 0x330 irq ? drq ?	# Adaptec 154[02] SCSI
3271.54Sthorpejaha1	at isa? port 0x334 irq ? drq ?
3281.54Sthorpejahc0	at isa? port ? irq ?		# Adaptec 284x SCSI
3291.54Sthorpejaic0	at isa? port 0x340 irq 11	# Adaptec 152[02] SCSI
3301.61Smikelbha0	at isa? port 0x330 irq ? drq ?	# BusLogic [457]4X SCSI
3311.54Sthorpejbha1	at isa? port 0x334 irq ? drq ?
3321.136Sad# The "nca" and "dpt" probes might give false hits or hang your machine.
3331.136Sad#dpt0	at isa? port 0x170 irq ? drq ?	# DPT SmartCache/SmartRAID
3341.150Sitohy#nca0	at isa? port 0x360 irq 15	# Port-mapped NCR 53C80 controller
3351.128Sdrochner#nca1	at isa? iomem 0xd8000 irq 5	# Memory-mapped controller (T128, etc.)
3361.54Sthorpejsea0	at isa? iomem 0xc8000 irq 5	# Seagate/Future Domain SCSI
3371.54Sthorpejuha0	at isa? port 0x330 irq ? drq ?	# UltraStor [13]4f SCSI
3381.72Sdrochneruha1	at isa? port 0x340 irq ? drq ?
3391.54Sthorpejwds0	at isa? port 0x350 irq 15 drq 6	# WD7000 and TMC-7000 controllers
3401.54Sthorpejwds1	at isa? port 0x358 irq 11 drq 5
3411.54Sthorpej
3421.56Sperry# SCSI bus support
3431.95Sdantescsibus* at adv?
3441.97Sdantescsibus* at adw?
3451.56Sperryscsibus* at aha?
3461.56Sperryscsibus* at ahb?
3471.56Sperryscsibus* at ahc?
3481.56Sperryscsibus* at aic?
3491.56Sperryscsibus* at bha?
3501.126Sadscsibus* at dpt?
3511.166Stsutsuiscsibus* at iha?
3521.160Sadscsibus* at iopsp?
3531.56Sperryscsibus* at isp?
3541.129Sdrochner#scsibus* at nca?
3551.170Sadscsibus* at mly?
3561.170Sadscsibus* at pcscp?
3571.174Stsutsuiscsibus* at sea?
3581.146Sfvdlscsibus* at siop?
3591.174Stsutsuiscsibus* at trm?
3601.56Sperryscsibus* at uha?
3611.56Sperryscsibus* at wds?
3621.56Sperry
3631.56Sperry# SCSI devices
3641.56Sperrysd*	at scsibus? target ? lun ?	# SCSI disk drives
3651.56Sperryst*	at scsibus? target ? lun ?	# SCSI tape drives
3661.56Sperrycd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives
3671.56Sperry#ch*	at scsibus? target ? lun ?	# SCSI autochangers
3681.56Sperry#ss*	at scsibus? target ? lun ?	# SCSI scanners
3691.56Sperry#uk*	at scsibus? target ? lun ?	# SCSI unknown
3701.56Sperry
3711.155Sad
3721.138Sad# RAID controllers and devices
3731.165Sadcac*	at eisa? slot ?			# Compaq EISA array controllers
3741.155Sadcac*	at pci? dev ? function ?	# Compaq PCI array controllers
3751.194Sadicp*	at pci? dev ? function ?	# ICP-Vortex GDT & Intel RAID
3761.163Sadmlx*	at pci? dev ? function ?	# Mylex DAC960 & DEC SWXCR family
3771.165Sadmlx*	at eisa? slot ?			# Mylex DAC960 & DEC SWXCR family
3781.158Sadtwe*	at pci? dev ? function ?	# 3ware Escalade RAID controllers
3791.155Sad
3801.163Sadld*	at cac? unit ?			# logical disk devices
3811.194Sadld*	at icp? unit ?
3821.163Sadld*	at twe? unit ?
3831.163Sadld*	at mlx? unit ?
3841.194Sad
3851.194Sadicpsp*	at icp? unit ?			# SCSI pass-through
3861.194Sadscsibus* at icpsp?
3871.56Sperry
3881.110Sabs# IDE and related devices
3891.114Skleink# PCI IDE controllers - see pciide(4) for supported hardware.
3901.99Sbouyer# The 0x0001 flag force the driver to use DMA, even if the driver doesn't know
3911.99Sbouyer# how to set up DMA modes for this chip. This may work, or may cause
3921.99Sbouyer# a machine hang with some controllers.
3931.99Sbouyerpciide* at pci ? dev ? function ? flags 0x0000
3941.56Sperry
3951.99Sbouyer# ISA Plug-and-Play IDE controllers
3961.118Schristoswdc*	at isapnp?
3971.99Sbouyer
3981.99Sbouyer# PCMCIA IDE controllers
3991.178Slukemwdc*	at pcmcia? function ?
4001.99Sbouyer
4011.99Sbouyer# ISA ST506, ESDI, and IDE controllers
4021.117Sbouyer# Use flags 0x01 if you want to try to use 32bits data I/O (the driver will
4031.150Sitohy# fall back to 16bits I/O if 32bits I/O are not functional).
4041.117Sbouyer# Some controllers pass the initial 32bit test, but will fail later.
4051.117Sbouyerwdc0	at isa? port 0x1f0 irq 14 flags 0x00
4061.117Sbouyerwdc1	at isa? port 0x170 irq 15 flags 0x00
4071.56Sperry
4081.56Sperry# IDE drives
4091.110Sabs# Flags are used only with controllers that support DMA operations
4101.110Sabs# and mode settings (e.g. some pciide controllers)
4111.110Sabs# The lowest order four bits (rightmost digit) of the flags define the PIO
4121.110Sabs# mode to use, the next set of four bits the DMA mode and the third set the
4131.110Sabs# UltraDMA mode. For each set of four bits, the 3 lower bits define the mode
4141.110Sabs# to use, and the last bit must be 1 for this setting to be used.
4151.110Sabs# For DMA and UDMA, 0xf (1111) means 'disable'.
4161.110Sabs# 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'.
4171.110Sabs# (0xc=1100, 0xa=1010, 0xf=1111)
4181.110Sabs# 0x0000 means "use whatever the drive claims to support".
4191.118Schristoswd*	at wdc? channel ? drive ? flags 0x0000
4201.118Schristoswd*	at pciide? channel ? drive ? flags 0x0000
4211.56Sperry
4221.56Sperry# ATAPI bus support
4231.118Schristosatapibus* at wdc? channel ?
4241.99Sbouyeratapibus* at pciide? channel ?
4251.56Sperry
4261.56Sperry# ATAPI devices
4271.118Schristos# flags have the same meaning as for IDE drives.
4281.118Schristoscd*	at atapibus? drive ? flags 0x0000	# ATAPI CD-ROM drives
4291.118Schristossd*	at atapibus? drive ? flags 0x0000	# ATAPI disk drives
4301.179Sbouyerst*	at atapibus? drive ? flags 0x0000	# ATAPI tape drives
4311.118Schristos#uk*	at atapibus? drive ? flags 0x0000	# ATAPI unknown
4321.56Sperry
4331.56Sperry
4341.56Sperry# Miscellaneous mass storage devices
4351.56Sperry
4361.56Sperry# ISA floppy
4371.56Sperryfdc0	at isa? port 0x3f0 irq 6 drq 2	# standard PC floppy controllers
4381.56Sperry#fdc1	at isa? port 0x370 irq ? drq ?
4391.56Sperryfd*	at fdc? drive ?			# the drives themselves
4401.56Sperry# some machines need you to do this instead of fd*
4411.56Sperry#fd0	at fdc0 drive 0
4421.56Sperry
4431.56Sperry# ISA CD-ROM devices
4441.56Sperry#mcd0	at isa? port 0x300 irq 10	# Mitsumi CD-ROM drives
4451.56Sperry
4461.56Sperry# ISA tape devices
4471.56Sperry# note: the wt driver conflicts unpleasantly with ed devices at the
4481.61Smikel# same I/O address. The probe reprograms their EEPROMs. Don't
4491.56Sperry# uncomment it unless you are actually using it.
4501.72Sdrochner#wt0	at isa? port 0x308 irq 5 drq 1	# Archive and Wangtek QIC tape drives
4511.56Sperry
4521.56Sperry
4531.56Sperry# Network Interfaces
4541.56Sperry
4551.56Sperry# PCI network interfaces
4561.178Slukeman*	at pci? dev ? function ?	# Aironet PC4500/PC4800 (802.11)
4571.176Stls#en*	at pci? dev ? function ?	# ENI/Adaptec ATM
4581.104Sheep*	at pci? dev ? function ?	# 3Com 3c59x
4591.171Shubertfex*	at pci? dev ? function ?	# 3Com 90x[BC]
4601.85Sthorpejepic*	at pci? dev ? function ?	# SMC EPIC/100 Ethernet
4611.176Stls#esh*	at pci? dev ? function ?	# Essential HIPPI card
4621.56Sperryfpa*	at pci? dev ? function ?	# DEC DEFPA FDDI
4631.56Sperryfxp*	at pci? dev ? function ?	# Intel EtherExpress PRO 10+/100B
4641.167Sthorpejgsip*	at pci? dev ? function ?	# NS83820 Gigabit Ethernet
4651.178Slukem#hme*	at pci? dev ? function ?	# Sun Microelectronics STP2002-STQ
4661.56Sperryle*	at pci? dev ? function ?	# PCnet-PCI Ethernet
4671.176Stls#lmc*	at pci? dev ? function ?	# Lan Media Corp SSI/HSSI/DS3
4681.56Sperryne*	at pci? dev ? function ?	# NE2000-compatible Ethernet
4691.176Stls#ntwoc*	at pci? dev ? function ?	# Riscom/N2 PCI Sync Serial
4701.178Slukempcn*	at pci? dev ? function ?	# AMD PCnet-PCI Ethernet
4711.176Stlsrtk*	at pci? dev ? function ?	# Realtek 8129/8139
4721.167Sthorpejsf*	at pci? dev ? function ?	# Adaptec AIC-6915 Ethernet
4731.167Sthorpejsip*	at pci? dev ? function ?	# SiS 900/DP83815 Ethernet
4741.178Slukemste*	at pci? dev ? function ?	# Sundance ST-201 Ethernet
4751.176Stlsstge*	at pci? dev ? function ?	# Sundance/Tamarack TC9021 Gigabit
4761.176Stlsti*	at pci? dev ? function ?	# Alteon ACEnic gigabit Ethernet
4771.60Sbouyertl*	at pci? dev ? function ?	# ThunderLAN-based Ethernet
4781.192Smycrofttlp*	at pci? dev ? function ?	# DECchip 21x4x and clones
4791.118Schristosvr*	at pci? dev ? function ?	# VIA Rhine Fast Ethernet
4801.176Stlswi*	at pci? dev ? function ?	# Intersil Prism Mini-PCI (802.11b)
4811.191Smycroftwm*	at pci? dev ? function ?	# Intel 82543/82544 gigabit
4821.2Stls
4831.56Sperry# EISA network interfaces
4841.56Sperryep*	at eisa? slot ?			# 3Com 3c579 Ethernet
4851.56Sperryfea*	at eisa? slot ?			# DEC DEFEA FDDI
4861.130Sthorpejtlp*	at eisa? slot ?			# DEC DE-425 Ethernet
4871.2Stls
4881.56Sperry# ISA Plug-and-Play network interfaces
4891.176Stlsan*	at isapnp?			# # Aironet 802.11
4901.56Sperryep*	at isapnp?			# 3Com 3c509 Ethernet
4911.56Sperryne*	at isapnp?			# NE2000-compatible Ethernet
4921.115Sbadtr*	at isapnp?			# IBM/3COM TROPIC Token-Ring
4931.20Smycroft
4941.56Sperry# PCMCIA network interfaces
4951.176Stlsan*	at pcmcia? function ?		# Aironet PC4500/PC4800 (802.11)
4961.159Sfvdlawi*	at pcmcia? function ?		# BayStack 650 (802.11FH)
4971.159Sfvdlcnw*	at pcmcia? function ?		# Xircom/Netwave AirSurfer
4981.56Sperryep*	at pcmcia? function ?		# 3Com 3c589 and 3c562 Ethernet
4991.80Senamimbe*	at pcmcia? function ?		# MB8696x based Ethernet
5001.56Sperryne*	at pcmcia? function ?		# NE2000-compatible Ethernet
5011.178Slukemray* 	at pcmcia? function ?		# Raytheon Raylink (802.11)
5021.56Sperrysm*	at pcmcia? function ?		# Megahertz Ethernet
5031.123Sbouyerwi*	at pcmcia? function ?		# Lucent WaveLan IEEE (802.11)
5041.145Sgmcgarryxi*	at pcmcia? function ?		# Xircom CreditCard Ethernet
5051.127Sthorpej
5061.127Sthorpejmhzc*	at pcmcia? function ?		# Megahertz Ethernet/Modem combo cards
5071.127Sthorpejcom*	at mhzc?
5081.127Sthorpejsm*	at mhzc?
5091.54Sthorpej
5101.54Sthorpej# ISA network interfaces
5111.79Senamiate0	at isa? port 0x2a0 irq ?		# AT1700
5121.89Sthorpejcs0	at isa? port 0x300 iomem ? irq ? drq ?	# CS8900 Ethernet
5131.62Sthorpejec0	at isa? port 0x250 iomem 0xd8000 irq 9	# 3Com 3c503 Ethernet
5141.65Sthorpejeg0	at isa? port 0x280 irq 9		# 3C505 ethernet cards
5151.54Sthorpejel0	at isa? port 0x300 irq 9		# 3C501 ethernet cards
5161.54Sthorpejep0	at isa? port ? irq ?			# 3C509 ethernet cards
5171.77Saugustssef0	at isa? port 0x360 iomem 0xd0000 irq 7	# 3C507
5181.77Saugustssai0	at isa? port 0x360 iomem 0xd0000 irq 7	# StarLAN
5191.79Senamifmv0	at isa? port 0x2a0 irq ?		# FMV-180 series
5201.77Saugustssix0	at isa? port 0x300 irq 10		# EtherExpress/16
5211.68Sthorpejiy0	at isa? port 0x360 irq ?		# EtherExpress PRO 10 ISA
5221.67Sthorpejlc0	at isa? port 0x320 iomem ? irq ?	# DEC EtherWORKS III (LEMAC)
5231.118Schristosdepca0	at isa? port 0x300 iomem 0xc8000 iosiz 0x8000 irq 5	# DEPCA
5241.118Schristosle*	at depca?
5251.118Schristosnele0	at isa? port 0x320 irq 9 drq 7		# NE2100
5261.118Schristosle*	at nele?
5271.118Schristosbicc0	at isa? port 0x320 irq 10 drq 7		# BICC IsoLan
5281.118Schristosle*	at bicc?
5291.54Sthorpejne0	at isa? port 0x280 irq 9		# NE[12]000 ethernet cards
5301.54Sthorpejne1	at isa? port 0x300 irq 10
5311.64Sthorpejsm0	at isa? port 0x300 irq 10		# SMC91C9x Ethernet
5321.178Slukemtr0	at isa? port 0xa20 iomem 0xd8000 irq ?	# IBM TROPIC based Token-Ring
5331.178Slukemtr1	at isa? port 0xa24 iomem 0xd0000 irq ?	# IBM TROPIC based Token-Ring
5341.115Sbadtr*	at isa? port ? irq ?			# 3COM TROPIC based Token-Ring
5351.63Sthorpejwe0	at isa? port 0x280 iomem 0xd0000 irq 9	# WD/SMC Ethernet
5361.63Sthorpejwe1	at isa? port 0x300 iomem 0xcc000 irq 10
5371.54Sthorpej
5381.94Sthorpej# MII/PHY support
5391.178Slukemacphy*	at mii? phy ?			# DAltima AC101 and AMD Am79c874 PHYs
5401.176Stlsamhphy* at mii? phy ?			# AMD 79c901 Ethernet PHYs
5411.176Stlsbmtphy* at mii? phy ?			# Broadcom BCM5201 and BCM5202 PHYs
5421.176Stlsbrgphy* at mii? phy ?			# Broadcom BCM5400-family PHYs
5431.178Slukemdmphy*	at mii? phy ?			# Davicom DM9101 PHYs
5441.104Sheexphy*	at mii? phy ?			# 3Com internal PHYs
5451.176Stlsglxtphy* at mii? phy ?			# Level One LXT-1000 PHYs
5461.176Stlsgphyter* at mii? phy ?			# NS83861 Gig-E PHY
5471.184Swizicsphy*	at mii? phy ?			# Integrated Circuit Systems ICS189x
5481.104Sheinphy*	at mii? phy ?			# Intel 82555 PHYs
5491.130Sthorpejiophy*	at mii? phy ?			# Intel 82553 PHYs
5501.104Shelxtphy*	at mii? phy ?			# Level One LXT-970 PHYs
5511.118Schristosnsphy*	at mii? phy ?			# NS83840 PHYs
5521.132Sthorpejnsphyter* at mii? phy ?			# NS83843 PHYs
5531.176Stlspnaphy* at mii? phy ?			# generic HomePNA PHYs
5541.118Schristosqsphy*	at mii? phy ?			# Quality Semiconductor QS6612 PHYs
5551.104Shesqphy*	at mii? phy ?			# Seeq 80220/80221/80223 PHYs
5561.94Sthorpejtlphy*	at mii? phy ?			# ThunderLAN PHYs
5571.130Sthorpejtqphy*	at mii? phy ?			# TDK Semiconductor PHYs
5581.187Sichirourlphy*	at mii? phy ?			# Realtek RTL8150L internal PHYs
5591.104Sheukphy*	at mii? phy ?			# generic unknown PHYs
5601.54Sthorpej
5611.118Schristos# USB Controller and Devices
5621.118Schristos
5631.118Schristos# PCI USB controllers
5641.156Sfvdluhci*	at pci?				# Universal Host Controller (Intel)
5651.156Sfvdlohci*	at pci?				# Open Host Controller
5661.118Schristos
5671.118Schristos# USB bus support
5681.156Sfvdlusb*	at uhci?
5691.156Sfvdlusb*	at ohci?
5701.118Schristos
5711.118Schristos# USB Hubs
5721.156Sfvdluhub*	at usb?
5731.156Sfvdluhub*	at uhub? port ? configuration ? interface ?
5741.118Schristos
5751.180Saugustss# USB HID device
5761.181Swizuhidev*	at uhub? port ? configuration ? interface ?
5771.180Saugustss
5781.118Schristos# USB Mice
5791.180Saugustss#ums*	at uhidev? reportid ?
5801.118Schristos#wsmouse*	at ums?
5811.118Schristos
5821.118Schristos# USB Keyboards
5831.180Saugustssukbd*	at uhidev? reportid ?
5841.156Sfvdlwskbd*	at ukbd? console ?
5851.118Schristos
5861.118Schristos# USB Generic HID devices
5871.180Saugustss#uhid*	at uhidev? reportid ?
5881.118Schristos
5891.118Schristos# USB Printer
5901.118Schristos#ulpt*	at uhub? port ? configuration ? interface ?
5911.124Sthorpej
5921.124Sthorpej# USB Mass Storage
5931.156Sfvdlumass*	at uhub? port ? configuration ? interface ?
5941.156Sfvdlatapibus* at umass? channel ?
5951.156Sfvdlscsibus* at umass? channel ?
5961.162Saugustss
5971.162Saugustss# Y@P firmware loader
5981.162Saugustss#uyap* at uhub? port ?
5991.118Schristos
6001.118Schristos# USB Generic driver
6011.118Schristos#ugen*	at uhub? port ? configuration ? interface ?
6021.156Sfvdl
6031.156Sfvdl# USB Ethernet adapters
6041.156Sfvdlaue* 	at uhub? port ?		# ADMtek AN986 Pegasus based adapters
6051.156Sfvdlcue* 	at uhub? port ?		# CATC USB-EL1201A based adapters
6061.156Sfvdlkue* 	at uhub? port ?		# Kawasaki LSI KL5KUSB101B based adapters
6071.187Sichirourl*	at uhub? port ?		# Realtek RTL8150L based adapters
6081.118Schristos
6091.56Sperry# Audio Devices
6101.54Sthorpej
6111.118Schristos# PCI audio devices
6121.118Schristos#eap*	at pci? dev ? function ?	# Ensoniq AudioPCI
6131.120Skleink#eso*	at pci? dev ? function ?	# ESS Solo-1 PCI AudioDrive
6141.118Schristos#sv*	at pci? dev ? function ?	# S3 SonicVibes
6151.118Schristos
6161.56Sperry# ISA Plug-and-Play audio devices
6171.54Sthorpej#guspnp*	at isapnp?			# Gravis Ultra Sound PnP audio
6181.54Sthorpej#sb*	at isapnp?			# SoundBlaster-compatible audio
6191.54Sthorpej
6201.56Sperry# ISA audio devices
6211.118Schristos# the "aria" probe might give false hits
6221.118Schristos#aria0	at isa? port 0x290 irq 10 		# Aria
6231.56Sperry#gus0	at isa? port 0x220 irq 7 drq 1 drq2 6	# Gravis Ultra Sound
6241.56Sperry#pas0	at isa? port 0x220 irq 7 drq 1		# ProAudio Spectrum
6251.178Slukem#pss0	at isa? port 0x220 irq 7 drq 6		# Personal Sound System
6261.56Sperry#sp0	at pss0 port 0x530 irq 10 drq 0		# 	sound port driver
6271.56Sperry#sb0	at isa? port 0x220 irq 7 drq 1 drq2 5	# SoundBlaster
6281.56Sperry#wss0	at isa? port 0x530 irq 10 drq 0	drq2 1	# Windows Sound System
6291.54Sthorpej
6301.150Sitohy# OPL[23] FM synthesizers
6311.118Schristos#opl0	at isa? port 0x388	# use only if not attached to sound card
6321.120Skleink#opl*	at eso?
6331.118Schristos#opl*	at ess?
6341.118Schristos#opl*	at sb?
6351.118Schristos#opl*	at sv?
6361.178Slukem
6371.54Sthorpej# Audio support
6381.118Schristos#audio*	at aria?
6391.120Skleink#audio*	at eap?
6401.120Skleink#audio*	at eso?
6411.54Sthorpej#audio*	at gus?
6421.54Sthorpej#audio*	at guspnp?
6431.54Sthorpej#audio*	at pas?
6441.54Sthorpej#audio*	at sb?
6451.54Sthorpej#audio*	at sp?
6461.120Skleink#audio*	at sv?
6471.54Sthorpej#audio*	at wss?
6481.54Sthorpej
6491.118Schristos# MIDI support
6501.118Schristos#midi*	at pcppi?		# MIDI interface to the PC speaker
6511.118Schristos#midi*	at sb?			# SB MPU401 port
6521.118Schristos#midi*	at opl?			# OPL FM synth
6531.118Schristos
6541.56Sperry# The spkr driver provides a simple tone interface to the built in speaker.
6551.82Sdrochner#spkr0	at pcppi?		# PC speaker
6561.56Sperry
6571.56Sperry
6581.56Sperry# Mice
6591.56Sperry
6601.56Sperry# ISA busmice
6611.118Schristos#lms0	at isa? port 0x23c irq 5	# Logitech bus mouse
6621.118Schristos#lms1	at isa? port 0x238 irq 5
6631.118Schristos#mms0	at isa? port 0x23c irq 5	# Microsoft InPort mouse
6641.118Schristos#mms1	at isa? port 0x238 irq 5
6651.118Schristos#wsmouse*	at lms?
6661.118Schristos#wsmouse*	at mms?
6671.118Schristos# backwards compatible versions
6681.106Sdrochner#olms0	at isa? port 0x23c irq 5	# Logitech bus mouse
6691.106Sdrochner#olms1	at isa? port 0x238 irq 5
6701.106Sdrochner#omms0	at isa? port 0x23c irq 5	# Microsoft InPort mouse
6711.106Sdrochner#omms1	at isa? port 0x238 irq 5
6721.56Sperry
6731.56Sperry# Joysticks
6741.56Sperry
6751.56Sperry# ISA Plug-and-Play joysticks
6761.56Sperry#joy*	at isapnp?			# Game ports (usually on audio cards)
6771.2Stls
6781.56Sperry# ISA joysticks. Probe is a little strange; add only if you have one.
6791.56Sperry#joy0	at isa? port 0x201
6801.2Stls
6811.20Smycroft
6821.56Sperry# Miscellaneous Devices
6831.20Smycroft
6841.56Sperry# Planetconnect Satellite receiver driver.
6851.56Sperry#satlink0 at isa? port 0x300 drq 1
6861.43Smikel
6871.21Smycroft
6881.54Sthorpej# Pull in optional local configuration
6891.22Smycroftinclude	"arch/i386/conf/GENERIC.local"
6901.37Sperry
6911.56Sperry
6921.56Sperry# Pseudo-Devices
6931.56Sperry
6941.56Sperry# disk/mass storage pseudo-devices
6951.56Sperry#pseudo-device	ccd		4	# concatenated/striped disk devices
6961.118Schristos#pseudo-device	raid		4	# RAIDframe disk driver
6971.56Sperrypseudo-device	md		1	# memory disk device (ramdisk)
6981.56Sperry#pseudo-device	vnd		4	# disk-like interface to files
6991.56Sperry
7001.56Sperry# network pseudo-devices
7011.148Scyberpseudo-device	bpfilter	8	# Berkeley packet filter
7021.54Sthorpej#pseudo-device	ipfilter		# IP filter (firewall) and NAT
7031.54Sthorpejpseudo-device	loop			# network loopback
7041.54Sthorpejpseudo-device	ppp		2	# Point-to-Point Protocol
7051.56Sperrypseudo-device	sl		2	# Serial Line IP
7061.56Sperry#pseudo-device	strip		2	# Starmode Radio IP (Metricom)
7071.56Sperry#pseudo-device	tun		2	# network tunneling over tty
7081.118Schristos#pseudo-device	gre		2	# generic L3 over IP tunnel
7091.56Sperry
7101.56Sperry# miscellaneous pseudo-devices
7111.157Sabspseudo-device	pty		2	# pseudo-terminals (Sysinst needs two)
7121.57Sexplorer#pseudo-device	tb		1	# tablet line discipline
7131.118Schristos#pseudo-device	sequencer	1	# MIDI sequencer
7141.118Schristos# rnd works; RND_COM does not on port i386 yet.
7151.54Sthorpej#pseudo-device	rnd			# /dev/random and in-kernel generator
7161.58Sexplorer#options 	RND_COM			# use "com" randomness as well (BROKEN)
7171.118Schristos
7181.118Schristos# a pseudo device needed for Coda	# also needs CODA (above)
7191.118Schristos#pseudo-device	vcoda		4	# coda minicache <-> venus comm.
720