INSTALL revision 1.161
11.92Snakayama#	$NetBSD: INSTALL,v 1.161 2000/11/26 17:44:09 ad Exp $
21.1Seeh#
31.1Seeh#	INSTALL - Installation kernel.
41.1Seeh#
51.1Seeh#	This kernel should be derived from GENERIC with some features
61.1Seeh#	commented out.
71.1Seeh#
81.1Seeh#	This kernel does NOT support X, mice, audio devices, non-NetBSD
91.1Seeh#	emulation.
101.1Seeh#
111.1Seeh
121.1Seehinclude "arch/i386/conf/std.i386"
131.1Seeh
141.1Seehmakeoptions 	COPTS="-Os"		# Optimise for space. Implies -O2
151.1Seeh
161.1Seeh# Enable the hooks used for initializing the root memory-disk.
171.1Seehoptions 	MEMORY_DISK_HOOKS
181.1Seehoptions 	MEMORY_DISK_IS_ROOT	# force root on memory disk
191.1Seehoptions 	MEMORY_DISK_SERVER=0	# no userspace memory disk support
201.1Seehoptions 	MINIROOTSIZE=4096	# size of memory disk, in blocks
211.1Seeh#options 	MINIROOTSIZE=2880	# 1.44M, same as a floppy
221.1Seeh
231.1Seehmaxusers	32		# estimated number of users
241.1Seeh
251.1Seeh# CPU support.  At least one is REQUIRED.
261.1Seehoptions 	I386_CPU
271.1Seehoptions 	I486_CPU
281.1Seehoptions 	I586_CPU
291.1Seehoptions 	I686_CPU
301.1Seeh
311.1Seeh# CPU-related options.
321.1Seehoptions 	MATH_EMULATE	# floating point emulation
331.1Seeh#options 	VM86		# virtual 8086 emulation
341.1Seeh#options 	USER_LDT	# user-settable LDT; used by WINE
351.1Seeh# eliminate delay no-ops in I/O; recommended on all but very old machines
361.1Seeh#options 	DUMMY_NOPS
371.1Seeh
381.1Seeh# Misc. i386-specific options
391.1Seeh#options 	XSERVER		# X server support in console drivers
401.1Seeh
411.1Seeh# This option allows you to force a serial console at the specified
421.1Seeh# I/O address.
431.1Seeh#options 	"CONSDEVNAME=\"com\"",CONADDR=0x3f8,CONSPEED=9600
441.1Seeh
451.1Seeh# The following options override the memory sizes passed in from the boot
461.1Seeh# block.  Use them *only* if the boot block is unable to determine the correct
471.1Seeh# values.  Note that the BIOS may *correctly* report less than 640k of base
481.1Seeh# memory if the extended BIOS data area is located at the top of base memory
491.1Seeh# (as is the case on most recent systems).
501.1Seeh#options 	REALBASEMEM=...	# size of base memory
511.1Seeh#options 	REALEXTMEM=...	# size of extended memory
521.1Seeh
531.1Seeh# Avoid irq 5 and 7, the most likely cause of problems on modern laptops.
541.1Seehoptions 		PCIC_ISA_INTR_ALLOC_MASK=0xff5f
551.1Seeh
561.60Slukem# Standard system options
571.60Slukem
581.92Snakayama#options 	UCONSOLE	# users can use TIOCCONS (for xconsole)
591.59Smartinoptions 	INSECURE	# disable kernel security levels
601.59Smartin
611.1Seehoptions 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
621.1Seeh#options 	NTP		# NTP phase/frequency locked loop
631.1Seeh
641.1Seeh#options 	KTRACE		# system call tracing via ktrace(1)
651.1Seeh
661.1Seeh#options 	SYSVMSG		# System V-like message queues
671.1Seeh#options 	SYSVSEM		# System V-like semaphores
681.1Seeh#options 	SYSVSHM		# System V-like memory sharing
691.1Seeh#options 	SHMMAXPGS=1024	# 1024 pages is the default
701.1Seeh
711.1Seeh#options 	LKM		# loadable kernel modules
721.1Seeh
731.1Seeh# Diagnostic/debugging support options
741.1Seeh#options 	DIAGNOSTIC	# cheap kernel consistency checks
751.1Seeh#options 	DEBUG		# expensive debugging checks/support
761.1Seeh#options 	KMEMSTATS	# kernel memory statistics (vmstat -m)
771.79Skardeloptions 	DDB		# in-kernel debugger
781.1Seeh#options 	DDB_ONPANIC=1	# see also sysctl(8): `ddb.onpanic'
791.1Seehoptions 	DDB_HISTORY_SIZE=512	# enable history editing in DDB
801.1Seeh#options 	KGDB		# remote debugger
811.1Seeh#options 	"KGDB_DEVNAME=\"com\"",KGDBADDR=0x3f8,KGDBRATE=9600
821.22Smrg#makeoptions 	DEBUG="-g"	# compile full symbol table
831.1Seeh
841.1Seeh# Compatibility options
851.1Seeh#options 	COMPAT_NOMID	# compatibility with 386BSD, BSDI, NetBSD 0.8,
861.1Seeh#options 	COMPAT_09	# NetBSD 0.9,
871.1Seehoptions 	COMPAT_10	# NetBSD 1.0,
881.79Skardeloptions 	COMPAT_11	# NetBSD 1.1,
891.1Seehoptions 	COMPAT_12	# NetBSD 1.2,
901.1Seehoptions 	COMPAT_13	# NetBSD 1.3,
911.1Seehoptions 	COMPAT_14	# NetBSD 1.4,
921.10Seeh#options 	COMPAT_43	# and 4.3BSD
931.1Seehoptions 	COMPAT_386BSD_MBRPART # recognize old partition ID
941.6Spk
951.44Smrg#options 	COMPAT_SVR4	# binary compatibility with SVR4
961.48Smrg#options 	COMPAT_IBCS2	# binary compatibility with SCO and ISC
971.11Smrg#options 	COMPAT_LINUX	# binary compatibility with Linux
981.41Seeh#options 	COMPAT_FREEBSD	# binary compatibility with FreeBSD
991.1Seeh
1001.90Snakayama# File systems
1011.90Snakayamafile-system 	FFS		# UFS
1021.90Snakayamafile-system 	EXT2FS		# second extended file system (linux)
1031.90Snakayama#file-system 	LFS		# log-structured file system
1041.90Snakayamafile-system 	MFS		# memory file system
1051.90Snakayamafile-system 	NFS		# Network File System client
1061.90Snakayamafile-system 	NTFS		# Windows/NT Filesystem
1071.90Snakayamafile-system 	CD9660		# ISO 9660 + Rock Ridge file system
1081.90Snakayamafile-system 	MSDOSFS		# MS-DOS file system
1091.1Seeh#file-system 	FDESC		# /dev/fd
1101.1Seehfile-system 	KERNFS		# /kern
1111.1Seeh#file-system 	NULLFS		# loopback file system
1121.1Seeh#file-system 	PORTAL		# portal filesystem (still experimental)
1131.1Seeh#file-system 	PROCFS		# /proc
1141.1Seeh#file-system 	UMAPFS		# NULLFS + uid and gid remapping
1151.1Seeh#file-system 	UNION		# union file system
1161.1Seeh
1171.1Seeh# Filesystem options
1181.1Seeh#options 	QUOTA		# UFS quotas
1191.1Seeh#options 	NFSSERVER	# Network File System server
1201.1Seeh#options 	NFS_V2_ONLY	# Exclude NFS3 and NQNFS code to save space
1211.77Scdioptions 	VNODE_OP_NOINLINE # Save space by not inlining vnode op calls
1221.1Seeh#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
1231.82Smartin				# immutable) behave as system flags.
1241.90Snakayama
1251.82Smartin# Networking options
1261.90Snakayama#options 	GATEWAY		# packet forwarding
1271.1Seehoptions 	INET		# IP + ICMP + TCP + UDP
1281.77Scdioptions 	INET6		# IPv6
1291.77Scdi#options 	MROUTING	# IP multicast routing
1301.1Seeh#options 	NS		# XNS
1311.1Seeh#options 	NSIP		# XNS tunneling over IP
1321.1Seeh#options 	ISO,TPIP	# OSI
1331.52Sthorpej#options 	EON		# OSI tunneling over IP
1341.53Sthorpej#options 	CCITT,LLC,HDLC	# X.25
1351.1Seeh#options 	NETATALK	# AppleTalk networking protocols
1361.1Seeh#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
1371.77Scdi#options 	PPP_DEFLATE	# Deflate compression support for PPP
1381.1Seeh#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
1391.1Seeh#options 	PFIL_HOOKS	# pfil(9) packet filter hooks
1401.1Seeh
1411.90Snakayama# Compatibility with 4.2BSD implementation of TCP/IP.  Not recommended.
1421.79Skardel#options 	TCP_COMPAT_42
1431.79Skardel
1441.90Snakayama# These options enable verbose messages for several subsystems.
1451.79Skardel# Warning, these may compile large string tables into the kernel!
1461.79Skardel#options 	EISAVERBOSE	# verbose EISA device autoconfig messages
1471.90Snakayama#options 	MIIVERBOSE	# verbose PHY autoconfig messages
1481.90Snakayama#options 	PCIVERBOSE	# verbose PCI device autoconfig messages
1491.79Skardel#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
1501.79Skardel#options 	PCMCIAVERBOSE	# verbose PCMCIA configuration messages
1511.79Skardel#options 	SCSIVERBOSE	# human readable SCSI error messages
1521.79Skardel#options	I2OVERBOSE	# verbose I2O driver messages
1531.79Skardel
1541.82Smartin# Kernel root file system and dump configuration.
1551.82Smartinconfig		netbsd	root on ? type ?
1561.79Skardel#config		netbsd	root on sd0a type ffs
1571.79Skardel#config		netbsd	root on ? type nfs
1581.79Skardel
1591.90Snakayama#
1601.79Skardel# Device configuration
1611.79Skardel#
1621.90Snakayama
1631.79Skardelmainbus0 at root
1641.79Skardel
1651.79Skardel#apm0	at mainbus0			# Advanced power management
1661.79Skardel
1671.90Snakayama
1681.90Snakayama# Basic Bus Support
1691.90Snakayama
1701.90Snakayama# PCI bus support
1711.90Snakayamapci*	at mainbus? bus ?
1721.90Snakayamapci*	at pchb? bus ?
1731.90Snakayamapci*	at ppb? bus ?
1741.90Snakayama
1751.90Snakayama# PCI bridges
1761.90Snakayamapchb*	at pci? dev ? function ?	# PCI-Host bridges
1771.90Snakayamapceb*	at pci? dev ? function ?	# PCI-EISA bridges
1781.90Snakayamapcib*	at pci? dev ? function ?	# PCI-ISA bridges
1791.90Snakayamappb*	at pci? dev ? function ?	# PCI-PCI bridges
1801.90Snakayama# XXX 'puc's aren't really bridges, but there's no better place for them here
1811.90Snakayamapuc*	at pci? dev ? function ?	# PCI "universal" comm. cards
1821.90Snakayama
1831.90Snakayama# EISA bus support
1841.90Snakayamaeisa*	at mainbus?
1851.90Snakayamaeisa*	at pceb?
1861.90Snakayama
1871.90Snakayama# ISA bus support
1881.90Snakayamaisa*	at mainbus?
1891.90Snakayamaisa*	at pceb?
1901.90Snakayamaisa*	at pcib?
1911.90Snakayama
1921.90Snakayama# PCMCIA bus support
1931.90Snakayamapcmcia*	at pcic? controller ? socket ?
1941.90Snakayamapcmcia*	at tcic? controller ? socket ?
1951.90Snakayama
1961.41Seeh# ISA PCMCIA controllers
1971.17Ssorenpcic0 	at isa? port 0x3e0 iomem 0xd0000 iosiz 0x10000
1981.11Smrgpcic1 	at isa? port 0x3e2 iomem 0xe0000 iosiz 0x4000
1991.1Seehtcic0 	at isa? port 0x240 iomem 0xd0000 iosiz 0x10000
2001.1Seeh
2011.77Scdi# PCI PCMCIA controllers
2021.1Seehpcic0	at pci? dev? function ?
2031.1Seeh
2041.1Seeh# ISA Plug-and-Play bus support
2051.1Seehisapnp0	at isa?
2061.1Seeh
2071.1Seeh# ISA Plug-and-Play PCMCIA controllers
2081.1Seehpcic*	at isapnp?
2091.77Scdi
2101.1Seeh# Coprocessor Support
2111.1Seeh
2121.11Smrg# Math Coprocessor support
2131.11Smrgnpx0	at isa? port 0xf0 irq 13	# x86 math coprocessor
2141.1Seeh
2151.11Smrg
2161.1Seeh# Console Devices
2171.1Seeh
2181.1Seeh# ISA console
2191.11Smrgpc0	at isa? port 0x60 irq 1		# pccons generic PC console driver
2201.11Smrg
2211.11Smrg# Keyboard layout configuration for pccons
2221.1Seeh#options 	FRENCH_KBD
2231.11Smrg#options 	FINNISH_KBD
2241.11Smrg#options 	GERMAN_KBD
2251.11Smrg#options 	NORWEGIAN_KBD
2261.1Seeh
2271.90Snakayama# wscons
2281.90Snakayama#pckbc0	at isa?			# pc keyboard controller
2291.90Snakayama#pckbd*	at pckbc?		# PC keyboard
2301.90Snakayama# "opms" should not be enabled together with "pms" or "pmsi"
2311.90Snakayama#pms*		at pckbc?		# PS/2 mouse for wsmouse
2321.90Snakayama#pmsi*		at pckbc?	# PS/2 "Intelli"mouse for wsmouse
2331.90Snakayama#opms*		at pckbc?		# backwards compatible PS/2 mouse
2341.90Snakayama#vga0		at isa?
2351.90Snakayama#vga*		at pci?
2361.90Snakayama#pcdisplay0	at isa?			# CGA, MDA, EGA, HGA
2371.90Snakayama#wsdisplay*	at vga? console ?
2381.1Seeh#wsdisplay*	at pcdisplay? console ?
2391.1Seeh#wskbd*	at pckbd? console ?
2401.72Schristos#wsmouse*	at pms?
2411.91Snakayama#wsmouse*	at pmsi?
2421.90Snakayama
2431.90Snakayama#pcppi0	at isa?
2441.90Snakayama#sysbeep0	at pcppi?
2451.90Snakayama
2461.90Snakayama# Serial Devices
2471.1Seeh
2481.72Schristos# PCI serial interfaces
2491.91Snakayamacom*	at puc? port ?			# 16x50s on "universal" comm boards
2501.90Snakayama#cy*	at pci? dev ? function ?	# Cyclades Cyclom-Y serial boards
2511.90Snakayama
2521.1Seeh# ISA Plug-and-Play serial interfaces
2531.11Smrgcom*	at isapnp?			# Modems and serial boards
2541.11Smrg
2551.11Smrg# PCMCIA serial interfaces
2561.11Smrgcom*	at pcmcia? function ?		# Modems and serial cards
2571.11Smrg
2581.11Smrgpcmcom*	at pcmcia? function ?		# PCMCIA multi-port serial cards
2591.11Smrgcom*	at pcmcom? slave ?		# ...and the slave devices
2601.11Smrg
2611.11Smrg# ISA serial interfaces
2621.11Smrg#options 	COM_HAYESP		# adds Hayes ESP serial board support
2631.11Smrgcom0	at isa? port 0x3f8 irq 4	# Standard PC serial ports
2641.11Smrgcom1	at isa? port 0x2f8 irq 3
2651.11Smrgcom2	at isa? port 0x3e8 irq 5
2661.11Smrg#com3	at isa? port 0x2e8 irq 9
2671.11Smrg#ast0	at isa? port 0x1a0 irq 5	# AST 4-port serial cards
2681.11Smrg#com*	at ast? slave ?
2691.11Smrg#boca0	at isa? port 0x100 irq 5	# BOCA 8-port serial cards
2701.11Smrg#com*	at boca? slave ?
2711.11Smrg#tcom0	at isa? port 0x100 irq 7	# TC-800 8-port serial cards
2721.11Smrg#com*	at tcom? slave ?
2731.11Smrg#rtfps0	at isa? port 0x1230 irq 10	# RT 4-port serial cards
2741.11Smrg#com*	at rtfps? slave ?
2751.11Smrg#cy0	at isa? iomem 0xd4000 irq 12	# Cyclades serial cards
2761.11Smrg
2771.11Smrg
2781.11Smrg# Parallel Printer Interfaces
2791.11Smrg
2801.11Smrg# PCI parallel printer interfaces
2811.11Smrg#lpt*	at puc? port ?			# || ports on "universal" comm boards
2821.11Smrg
2831.11Smrg# ISA parallel printer interfaces
2841.11Smrg#lpt0	at isa? port 0x378 irq 7	# standard PC parallel ports
2851.11Smrg#lpt1	at isa? port 0x278
2861.11Smrg#lpt2	at isa? port 0x3bc
2871.11Smrg
2881.11Smrg# I2O devices
2891.11Smrgiop*	at pci? dev ? function ?	# I/O processor
2901.11Smrgiopsp*	at iop? tid ?			# SCSI/FC-AL ports
2911.11Smrgld*	at iop? tid ?			# Block devices
2921.11Smrg
2931.1Seeh# SCSI Controllers and Devices
2941.1Seeh
2951.1Seeh# PCI SCSI controllers
2961.1Seehadv*	at pci? dev ? function ?	# AdvanSys 1200[A,B], 9xx[U,UA] SCSI
2971.77Scdiadw*	at pci? dev ? function ?	# AdvanSys 9x0UW[D], 3940U[2,3]W SCSI
2981.1Seehahc*	at pci? dev ? function ?	# Adaptec [23]94x, aic78x0 SCSI
2991.1Seehbha*	at pci? dev ? function ?	# BusLogic 9xx SCSI
3001.1Seehdpt*	at pci? dev ? function ?	# DPT SmartCache/SmartRAID
3011.1Seehisp*	at pci? dev ? function ?	# Qlogic ISP [12]0x0 SCSI/FibreChannel
3021.1Seeh#ncr*	at pci? dev ? function ?	# NCR 53c8xx SCSI
3031.1Seehsiop*	at pci? dev ? function ?	# NCR 53c8xx SCSI (new driver)
3041.1Seehpcscp*	at pci? dev ? function ?	# AMD 53c974 PCscsi-PCI SCSI
3051.1Seeh
3061.87Smartin# EISA SCSI controllers
3071.87Smartinahb*	at eisa? slot ?			# Adaptec 174[02] SCSI
3081.87Smartinahc*	at eisa? slot ?			# Adaptec 274x, aic7770 SCSI
3091.87Smartinbha*	at eisa? slot ?			# BusLogic 7xx SCSI
3101.87Smartindpt*	at eisa? slot ?			# DPT SmartCache/SmartRAID
3111.87Smartinuha*	at eisa? slot ?			# UltraStor 24f SCSI
3121.87Smartin
3131.87Smartin# PCMCIA SCSI controllers
3141.90Snakayamaaic*	at pcmcia? function ?		# Adaptec APA-1460 SCSI
3151.87Smartin
3161.90Snakayama# ISA Plug-and-Play SCSI controllers
3171.89Snakayamaaha*	at isapnp? 			# Adaptec AHA-154[02
3181.87Smartinaic*	at isapnp?			# Adaptec AHA-1520B
3191.92Snakayama
3201.89Snakayama# ISA SCSI controllers
3211.89Snakayamaadv0	at isa? port ? irq ? drq ?	# AdvanSys APB-514[02]
3221.90Snakayamaaha0	at isa? port 0x330 irq ? drq ?	# Adaptec 154[02] SCSI
3231.92Snakayamaaha1	at isa? port 0x334 irq ? drq ?
3241.87Smartinahc0	at isa? port ? irq ?		# Adaptec 284x SCSI
3251.87Smartinaic0	at isa? port 0x340 irq 11	# Adaptec 152[02] SCSI
3261.87Smartinbha0	at isa? port 0x330 irq ? drq ?	# BusLogic [457]4X SCSI
3271.87Smartinbha1	at isa? port 0x334 irq ? drq ?
3281.87Smartin# The "nca" and "dpt" probes might give false hits or hang your machine.
3291.87Smartin#dpt0	at isa? port 0x170 irq ? drq ?	# DPT SmartCache/SmartRAID
3301.87Smartin#nca0	at isa? port 0x360 irq 15	# Port-mapped NCR 53C80 controller
3311.90Snakayama#nca1	at isa? iomem 0xd8000 irq 5	# Memory-mapped controller (T128, etc.)
3321.87Smartinsea0	at isa? iomem 0xc8000 irq 5	# Seagate/Future Domain SCSI
3331.90Snakayamauha0	at isa? port 0x330 irq ? drq ?	# UltraStor [13]4f SCSI
3341.87Smartinuha1	at isa? port 0x340 irq ? drq ?
3351.87Smartinwds0	at isa? port 0x350 irq 15 drq 6	# WD7000 and TMC-7000 controllers
3361.87Smartinwds1	at isa? port 0x358 irq 11 drq 5
3371.1Seeh
3381.1Seeh# SCSI bus support
3391.1Seehscsibus* at adv?
3401.1Seehscsibus* at adw?
3411.1Seehscsibus* at aha?
3421.1Seehscsibus* at ahb?
3431.1Seehscsibus* at ahc?
3441.1Seehscsibus* at aic?
3451.28Spkscsibus* at bha?
3461.79Skardelscsibus* at dpt?
3471.7Seehscsibus* at iopsp?
3481.7Seehscsibus* at isp?
3491.7Seeh#scsibus* at nca?
3501.1Seeh#scsibus* at ncr?
3511.10Seehscsibus* at siop?
3521.10Seehscsibus* at pcscp?
3531.10Seehscsibus* at sea?
3541.10Seehscsibus* at uha?
3551.24Spkscsibus* at wds?
3561.10Seeh
3571.10Seeh# SCSI devices
3581.10Seehsd*	at scsibus? target ? lun ?	# SCSI disk drives
3591.10Seehst*	at scsibus? target ? lun ?	# SCSI tape drives
3601.1Seehcd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives
3611.1Seeh#ch*	at scsibus? target ? lun ?	# SCSI autochangers
3621.1Seeh#ss*	at scsibus? target ? lun ?	# SCSI scanners
3631.1Seeh#uk*	at scsibus? target ? lun ?	# SCSI unknown
3641.1Seeh
3651.7Seeh
3661.32Seeh# RAID controllers and devices
3671.87Smartincac*	at eisa?			# Compaq EISA array controllers
3681.32Seehcac*	at pci? dev ? function ?	# Compaq PCI array controllers
3691.87Smartintwe*	at pci? dev ? function ?	# 3ware Escalade RAID controllers
3701.87Smartinld*	at cac? unit ?			# Compaq array disk devices
3711.55Snakayamald*	at twe? unit ?			# 3ware array disk devices
3721.32Seeh
3731.32Seeh
3741.32Seeh# IDE and related devices
3751.76Sperry# PCI IDE controllers - see pciide(4) for supported hardware.
3761.32Seeh# The 0x0001 flag force the driver to use DMA, even if the driver doesn't know
3771.32Seeh# how to set up DMA modes for this chip. This may work, or may cause
3781.32Seeh# a machine hang with some controllers.
3791.76Sperrypciide* at pci ? dev ? function ? flags 0x0000
3801.32Seeh
3811.32Seeh# ISA Plug-and-Play IDE controllers
3821.32Seehwdc*	at isapnp?
3831.32Seeh
3841.32Seeh# PCMCIA IDE controllers
3851.90Snakayamawdc*    at pcmcia? function ?   
3861.90Snakayama
3871.32Seeh# ISA ST506, ESDI, and IDE controllers
3881.32Seeh# Use flags 0x01 if you want to try to use 32bits data I/O (the driver will
3891.32Seeh# fall back to 16bits I/O if 32bits I/O are not functional).
3901.32Seeh# Some controllers pass the initial 32bit test, but will fail later.
3911.32Seehwdc0	at isa? port 0x1f0 irq 14 flags 0x00
3921.10Seehwdc1	at isa? port 0x170 irq 15 flags 0x00
3931.10Seeh
3941.87Smartin# IDE drives
3951.87Smartin# Flags are used only with controllers that support DMA operations
3961.87Smartin# and mode settings (e.g. some pciide controllers)
3971.87Smartin# The lowest order four bits (rightmost digit) of the flags define the PIO
3981.10Seeh# mode to use, the next set of four bits the DMA mode and the third set the
3991.91Snakayama# UltraDMA mode. For each set of four bits, the 3 lower bits define the mode
4001.87Smartin# to use, and the last bit must be 1 for this setting to be used.
4011.10Seeh# For DMA and UDMA, 0xf (1111) means 'disable'.
4021.87Smartin# 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'.
4031.32Seeh# (0xc=1100, 0xa=1010, 0xf=1111)
4041.10Seeh# 0x0000 means "use whatever the drive claims to support".
4051.10Seehwd*	at wdc? channel ? drive ? flags 0x0000
4061.10Seehwd*	at pciide? channel ? drive ? flags 0x0000
4071.1Seeh
4081.1Seeh# ATAPI bus support
4091.1Seehatapibus* at wdc? channel ?
4101.1Seehatapibus* at pciide? channel ?
4111.1Seeh
4121.1Seeh# ATAPI devices
4131.10Seeh# flags have the same meaning as for IDE drives.
4141.1Seehcd*	at atapibus? drive ? flags 0x0000	# ATAPI CD-ROM drives
4151.1Seehsd*	at atapibus? drive ? flags 0x0000	# ATAPI disk drives
4161.90Snakayama#uk*	at atapibus? drive ? flags 0x0000	# ATAPI unknown
4171.90Snakayama
4181.90Snakayama
4191.1Seeh# Miscellaneous mass storage devices
4201.90Snakayama
4211.1Seeh# ISA floppy
4221.1Seehfdc0	at isa? port 0x3f0 irq 6 drq 2	# standard PC floppy controllers
4231.1Seeh#fdc1	at isa? port 0x370 irq ? drq ?
4241.1Seehfd*	at fdc? drive ?			# the drives themselves
4251.1Seeh# some machines need you to do this instead of fd*
4261.37Seeh#fd0	at fdc0 drive 0
4271.37Seeh
4281.92Snakayama# ISA CD-ROM devices
4291.37Seeh#mcd0	at isa? port 0x300 irq 10	# Mitsumi CD-ROM drives
4301.37Seeh
4311.37Seeh# ISA tape devices
4321.90Snakayama# note: the wt driver conflicts unpleasantly with ed devices at the
4331.1Seeh# same I/O address. The probe reprograms their EEPROMs. Don't
4341.23Seeh# uncomment it unless you are actually using it.
4351.90Snakayama#wt0	at isa? port 0x308 irq 5 drq 1	# Archive and Wangtek QIC tape drives
4361.90Snakayama
4371.90Snakayama
4381.7Seeh# Network Interfaces
4391.90Snakayama
4401.90Snakayama# PCI network interfaces
4411.90Snakayamade*	at pci? dev ? function ?	# DEC 21x4x-based Ethernet
4421.90Snakayamaen*	at pci? dev ? function ?	# ENI/Adaptec ATM
4431.90Snakayamaep*	at pci? dev ? function ?	# 3Com 3c59x
4441.90Snakayamaex*	at pci? dev ? function ?	# 3Com 90x[B]
4451.90Snakayamaepic*	at pci? dev ? function ?	# SMC EPIC/100 Ethernet
4461.90Snakayamaesh*	at pci? dev ? function ?	# Essential HIPPI card
4471.90Snakayamafpa*	at pci? dev ? function ?	# DEC DEFPA FDDI
4481.90Snakayamafxp*	at pci? dev ? function ?	# Intel EtherExpress PRO 10+/100B
4491.90Snakayamale*	at pci? dev ? function ?	# PCnet-PCI Ethernet
4501.91Snakayamane*	at pci? dev ? function ?	# NE2000-compatible Ethernet
4511.90Snakayamasip*	at pci? dev ? function ?	# SiS 900 Ethernet
4521.90Snakayamatl*	at pci? dev ? function ?	# ThunderLAN-based Ethernet
4531.90Snakayamatlp*	at pci? dev ? function ?	# DECchip 21x4x (and clones) Ethernet
4541.90Snakayama#options 	TLP_MATCH_21040
4551.9Smrg#options 	TLP_MATCH_21041
4561.7Seeh#options 	TLP_MATCH_21140
4571.7Seeh#options 	TLP_MATCH_21142
4581.23Seehvr*	at pci? dev ? function ?	# VIA Rhine Fast Ethernet
4591.23Seehlmc*	at pci? dev ? function ?	# Lan Media Corp SSI/HSSI/DS3
4601.7Seehrtk*	at pci? dev ? function ?	# Realtek 8129/8139
4611.9Smrg
4621.23Seeh# EISA network interfaces
4631.23Seehep*	at eisa? slot ?			# 3Com 3c579 Ethernet
4641.23Seehfea*	at eisa? slot ?			# DEC DEFEA FDDI
4651.64Spetrovtlp*	at eisa? slot ?			# DEC DE-425 Ethernet
4661.90Snakayama
4671.23Seeh# ISA Plug-and-Play network interfaces
4681.1Seehep*	at isapnp?			# 3Com 3c509 Ethernet
4691.1Seehne*	at isapnp?			# NE2000-compatible Ethernet
4701.1Seehtr*	at isapnp?			# IBM/3COM TROPIC Token-Ring
4711.1Seeh
4721.1Seeh# PCMCIA network interfaces
4731.1Seehawi*	at pcmcia? function ?		# BayStack 650 (802.11FH)
4741.1Seehcnw*	at pcmcia? function ?		# Xircom/Netwave AirSurfer
4751.1Seehep*	at pcmcia? function ?		# 3Com 3c589 and 3c562 Ethernet
4761.1Seehmbe*	at pcmcia? function ?		# MB8696x based Ethernet
4771.1Seehne*	at pcmcia? function ?		# NE2000-compatible Ethernet
4781.1Seehray* 	at pcmcia? function ?           # Raytheon Raylink (802.11)
4791.1Seehsm*	at pcmcia? function ?		# Megahertz Ethernet
4801.1Seehwi*	at pcmcia? function ?		# Lucent WaveLan IEEE (802.11)
4811.1Seehxi*	at pcmcia? function ?		# Xircom CreditCard Ethernet
4821.1Seeh
4831.1Seehmhzc*	at pcmcia? function ?		# Megahertz Ethernet/Modem combo cards
4841.1Seehcom*	at mhzc?
4851.1Seehsm*	at mhzc?
4861.1Seeh
4871.38Smjacob# ISA network interfaces
4881.37Seehate0	at isa? port 0x2a0 irq ?		# AT1700
4891.38Smjacobcs0	at isa? port 0x300 iomem ? irq ? drq ?	# CS8900 Ethernet
4901.1Seehec0	at isa? port 0x250 iomem 0xd8000 irq 9	# 3Com 3c503 Ethernet
4911.78Scdieg0	at isa? port 0x280 irq 9		# 3C505 ethernet cards
4921.1Seehel0	at isa? port 0x300 irq 9		# 3C501 ethernet cards
4931.37Seehep0	at isa? port ? irq ?			# 3C509 ethernet cards
4941.37Seehef0	at isa? port 0x360 iomem 0xd0000 irq 7	# 3C507
4951.79Skardelai0	at isa? port 0x360 iomem 0xd0000 irq 7	# StarLAN
4961.77Scdifmv0	at isa? port 0x2a0 irq ?		# FMV-180 series
4971.37Seehix0	at isa? port 0x300 irq 10		# EtherExpress/16
4981.79Skardeliy0	at isa? port 0x360 irq ?		# EtherExpress PRO 10 ISA
4991.37Seehlc0	at isa? port 0x320 iomem ? irq ?	# DEC EtherWORKS III (LEMAC)
5001.79Skardeldepca0	at isa? port 0x300 iomem 0xc8000 iosiz 0x8000 irq 5	# DEPCA
5011.87Smartinle*	at depca?
5021.37Seehnele0	at isa? port 0x320 irq 9 drq 7		# NE2100
5031.37Seehle*	at nele?
5041.37Seehbicc0	at isa? port 0x320 irq 10 drq 7		# BICC IsoLan
5051.79Skardelle*	at bicc?
5061.37Seehne0	at isa? port 0x280 irq 9		# NE[12]000 ethernet cards
5071.87Smartinne1	at isa? port 0x300 irq 10
5081.37Seehsm0	at isa? port 0x300 irq 10		# SMC91C9x Ethernet
5091.37Seehtr0	at isa? port 0xa20 iomem 0xd8000 irq ?  # IBM TROPIC based Token-Ring
5101.37Seehtr1	at isa? port 0xa24 iomem 0xd0000 irq ?  # IBM TROPIC based Token-Ring
5111.37Seehtr*	at isa? port ? irq ?			# 3COM TROPIC based Token-Ring
5121.37Seehwe0	at isa? port 0x280 iomem 0xd0000 irq 9	# WD/SMC Ethernet
5131.37Seehwe1	at isa? port 0x300 iomem 0xcc000 irq 10
5141.37Seeh
5151.37Seeh# MII/PHY support
5161.7Seehexphy*	at mii? phy ?			# 3Com internal PHYs
5171.1Seehicsphy*	at mii? phy ?			# Integrated Circuit Systems ICS1890
5181.1Seehinphy*	at mii? phy ?			# Intel 82555 PHYs
5191.1Seehiophy*	at mii? phy ?			# Intel 82553 PHYs
5201.1Seehlxtphy*	at mii? phy ?			# Level One LXT-970 PHYs
5211.1Seehnsphy*	at mii? phy ?			# NS83840 PHYs
5221.10Seehnsphyter* at mii? phy ?			# NS83843 PHYs
5231.10Seehqsphy*	at mii? phy ?			# Quality Semiconductor QS6612 PHYs
5241.10Seehsqphy*	at mii? phy ?			# Seeq 80220/80221/80223 PHYs
5251.10Seehtlphy*	at mii? phy ?			# ThunderLAN PHYs
5261.10Seehtqphy*	at mii? phy ?			# TDK Semiconductor PHYs
5271.10Seehukphy*	at mii? phy ?			# generic unknown PHYs
5281.10Seeh
5291.10Seeh# USB Controller and Devices
5301.78Scdi
5311.10Seeh# PCI USB controllers
5321.10Seehuhci*	at pci?				# Universal Host Controller (Intel)
5331.10Seehohci*	at pci?				# Open Host Controller
5341.31Seeh
5351.31Seeh# USB bus support
5361.90Snakayamausb*	at uhci?
5371.10Seehusb*	at ohci?
5381.87Smartin
5391.90Snakayama# USB Hubs
5401.89Snakayamauhub*	at usb?
5411.10Seehuhub*	at uhub? port ? configuration ? interface ?
5421.10Seeh
5431.10Seeh# USB Mice
5441.10Seeh#ums*	at uhub? port ? configuration ? interface ?
5451.10Seeh#wsmouse*	at ums?
5461.1Seeh
5471.1Seeh# USB Keyboards
5481.1Seehukbd*	at uhub? port ? configuration ? interface ?
5491.1Seehwskbd*	at ukbd? console ?
5501.1Seeh
5511.1Seeh# USB Generic HID devices
5521.1Seehuhid*	at uhub? port ? configuration ? interface ?
5531.37Seeh
5541.90Snakayama# USB Printer
5551.90Snakayama#ulpt*	at uhub? port ? configuration ? interface ?
5561.90Snakayama
5571.1Seeh# USB Mass Storage
5581.1Seehumass*	at uhub? port ? configuration ? interface ?
5591.1Seehatapibus* at umass? channel ?
5601.1Seehscsibus* at umass? channel ?
5611.1Seeh
5621.1Seeh# USB Generic driver
5631.1Seeh#ugen*	at uhub? port ? configuration ? interface ?
5641.1Seeh
5651.1Seeh# USB Ethernet adapters
5661.1Seehaue* 	at uhub? port ?		# ADMtek AN986 Pegasus based adapters
5671.1Seehcue* 	at uhub? port ?		# CATC USB-EL1201A based adapters
5681.1Seehkue* 	at uhub? port ?		# Kawasaki LSI KL5KUSB101B based adapters
5691.1Seeh
5701.1Seeh# Audio Devices
5711.1Seeh
5721.1Seeh# PCI audio devices
5731.1Seeh#eap*	at pci? dev ? function ?	# Ensoniq AudioPCI
5741.1Seeh#eso*	at pci? dev ? function ?	# ESS Solo-1 PCI AudioDrive
5751.1Seeh#sv*	at pci? dev ? function ?	# S3 SonicVibes
5761.1Seeh
5771.1Seeh# ISA Plug-and-Play audio devices
5781.1Seeh#guspnp*	at isapnp?			# Gravis Ultra Sound PnP audio
5791.1Seeh#sb*	at isapnp?			# SoundBlaster-compatible audio
5801.1Seeh
5811.37Seeh# ISA audio devices
5821.37Seeh# the "aria" probe might give false hits
5831.92Snakayama#aria0	at isa? port 0x290 irq 10 		# Aria
5841.90Snakayama#gus0	at isa? port 0x220 irq 7 drq 1 drq2 6	# Gravis Ultra Sound
5851.90Snakayama#pas0	at isa? port 0x220 irq 7 drq 1		# ProAudio Spectrum
5861.90Snakayama#pss0	at isa? port 0x220 irq 7 drq 6  	# Personal Sound System
5871.90Snakayama#sp0	at pss0 port 0x530 irq 10 drq 0		# 	sound port driver
5881.90Snakayama#sb0	at isa? port 0x220 irq 7 drq 1 drq2 5	# SoundBlaster
5891.90Snakayama#wss0	at isa? port 0x530 irq 10 drq 0	drq2 1	# Windows Sound System
5901.23Seeh
5911.23Seeh# OPL[23] FM synthesizers
5921.90Snakayama#opl0	at isa? port 0x388	# use only if not attached to sound card
5931.1Seeh#opl*	at eso?
5941.1Seeh#opl*	at ess?
5951.1Seeh#opl*	at sb?
5961.37Seeh#opl*	at sv?
5971.77Scdi 
5981.37Seeh# Audio support
5991.85Syamt#audio*	at aria?
6001.85Syamt#audio*	at eap?
6011.37Seeh#audio*	at eso?
6021.37Seeh#audio*	at gus?
603#audio*	at guspnp?
604#audio*	at pas?
605#audio*	at sb?
606#audio*	at sp?
607#audio*	at sv?
608#audio*	at wss?
609
610# MIDI support
611#midi*	at pcppi?		# MIDI interface to the PC speaker
612#midi*	at sb?			# SB MPU401 port
613#midi*	at opl?			# OPL FM synth
614
615# The spkr driver provides a simple tone interface to the built in speaker.
616#spkr0	at pcppi?		# PC speaker
617
618
619# Mice
620
621# ISA busmice
622#lms0	at isa? port 0x23c irq 5	# Logitech bus mouse
623#lms1	at isa? port 0x238 irq 5
624#mms0	at isa? port 0x23c irq 5	# Microsoft InPort mouse
625#mms1	at isa? port 0x238 irq 5
626#wsmouse*	at lms?
627#wsmouse*	at mms?
628# backwards compatible versions
629#olms0	at isa? port 0x23c irq 5	# Logitech bus mouse
630#olms1	at isa? port 0x238 irq 5
631#omms0	at isa? port 0x23c irq 5	# Microsoft InPort mouse
632#omms1	at isa? port 0x238 irq 5
633#opms0	at pc? irq 12		# PS/2 auxiliary port mouse
634
635# Joysticks
636
637# ISA Plug-and-Play joysticks
638#joy*	at isapnp?			# Game ports (usually on audio cards)
639
640# ISA joysticks. Probe is a little strange; add only if you have one.
641#joy0	at isa? port 0x201
642
643
644# Miscellaneous Devices
645
646# Planetconnect Satellite receiver driver.
647#satlink0 at isa? port 0x300 drq 1
648
649
650# Pull in optional local configuration
651include	"arch/i386/conf/GENERIC.local"
652
653
654# Pseudo-Devices
655
656# disk/mass storage pseudo-devices
657#pseudo-device	ccd		4	# concatenated/striped disk devices
658#pseudo-device	raid		4	# RAIDframe disk driver
659pseudo-device	md		1	# memory disk device (ramdisk)
660#pseudo-device	vnd		4	# disk-like interface to files
661
662# network pseudo-devices
663pseudo-device	bpfilter	8	# Berkeley packet filter
664#pseudo-device	ipfilter		# IP filter (firewall) and NAT
665pseudo-device	loop			# network loopback
666pseudo-device	ppp		2	# Point-to-Point Protocol
667pseudo-device	sl		2	# Serial Line IP
668#pseudo-device	strip		2	# Starmode Radio IP (Metricom)
669#pseudo-device	tun		2	# network tunneling over tty
670#pseudo-device	gre		2	# generic L3 over IP tunnel
671#pseudo-device	ipip		2	# IP Encapsulation within IP (RFC 2003)
672
673# miscellaneous pseudo-devices
674pseudo-device	pty		2	# pseudo-terminals (Sysinst needs two)
675#pseudo-device	tb		1	# tablet line discipline
676#pseudo-device	sequencer	1	# MIDI sequencer
677# rnd works; RND_COM does not on port i386 yet.
678#pseudo-device	rnd			# /dev/random and in-kernel generator
679#options 	RND_COM			# use "com" randomness as well (BROKEN)
680
681# a pseudo device needed for Coda	# also needs CODA (above)
682#pseudo-device	vcoda		4	# coda minicache <-> venus comm.
683