INSTALL revision 1.127
172b676d7Smrg#	$NetBSD: INSTALL,v 1.127 1999/09/28 18:07:29 thorpej Exp $
272b676d7Smrg#
372b676d7Smrg#	INSTALL - Installation kernel.
493d9adc1Smrg#
572b676d7Smrg#	This kernel should be derived from GENERIC with some features
672b676d7Smrg#	commented out.
772b676d7Smrg#
872b676d7Smrg#	This kernel does NOT support X, mice, audio devices, non-NetBSD
972b676d7Smrg#	emulation.
1072b676d7Smrg#
1172b676d7Smrg
1272b676d7Smrginclude "arch/i386/conf/std.i386"
1372b676d7Smrg
1472b676d7Smrg# Enable the hooks used for initializing the root memory-disk.
1572b676d7Smrgoptions 	MEMORY_DISK_HOOKS
1672b676d7Smrgoptions 	MEMORY_DISK_IS_ROOT	# force root on memory disk
1772b676d7Smrgoptions 	MEMORY_DISK_SERVER=0	# no userspace memory disk support
1872b676d7Smrgoptions 	MINIROOTSIZE=3174	# size of memory disk, in blocks
1972b676d7Smrg#options 	MINIROOTSIZE=2880	# 1.44M, same as a floppy
2072b676d7Smrg
2172b676d7Smrgmakeoptions	COPTS="-Os"		# generates smaller code than -O2, -O1
2272b676d7Smrg
2372b676d7Smrgmaxusers	32		# estimated number of users
2472b676d7Smrg
2572b676d7Smrg# CPU support.  At least one is REQUIRED.
2672b676d7Smrgoptions 	I386_CPU
2772b676d7Smrgoptions 	I486_CPU
2872b676d7Smrgoptions 	I586_CPU
2972b676d7Smrgoptions 	I686_CPU
3072b676d7Smrg
3172b676d7Smrg# CPU-related options.
3272b676d7Smrgoptions 	MATH_EMULATE	# floating point emulation
3372b676d7Smrg#options 	VM86		# virtual 8086 emulation
3472b676d7Smrg#options 	USER_LDT	# user-settable LDT; used by WINE
3572b676d7Smrg# eliminate delay no-ops in I/O; recommended on all but very old machines
3672b676d7Smrg#options 	DUMMY_NOPS
3772b676d7Smrg
3893d9adc1Smrg# Misc. i386-specific options
3972b676d7Smrg#options 	XSERVER		# X server support in console drivers
4072b676d7Smrg
4172b676d7Smrg# This option allows you to force a serial console at the specified
421fd23544Smrg# I/O address.
431fd23544Smrg#options 	"CONSDEVNAME=\"com\"",CONADDR=0x3f8,CONSPEED=9600
4493d9adc1Smrg
451fd23544Smrg# The following options override the memory sizes passed in from the boot
461fd23544Smrg# block.  Use them *only* if the boot block is unable to determine the correct
4793d9adc1Smrg# values.  Note that the BIOS may *correctly* report less than 640k of base
4872b676d7Smrg# memory if the extended BIOS data area is located at the top of base memory
4993d9adc1Smrg# (as is the case on most recent systems).
5072b676d7Smrg#options 	REALBASEMEM=...	# size of base memory
511fd23544Smrg#options 	REALEXTMEM=...	# size of extended memory
5293d9adc1Smrg
5372b676d7Smrg# Avoid irq 5 and 7, the most likely cause of problems on modern laptops.
541fd23544Smrgoptions		PCIC_ISA_INTR_ALLOC_MASK=0xff5f
551fd23544Smrg
561fd23544Smrg# Standard system options
571fd23544Smrg
581fd23544Smrg#options 	UCONSOLE	# users can use TIOCCONS (for xconsole)
591fd23544Smrgoptions 	INSECURE	# disable kernel security levels
601fd23544Smrg
611fd23544Smrgoptions 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
621fd23544Smrg#options 	NTP		# NTP phase/frequency locked loop
631fd23544Smrg
641fd23544Smrg#options 	KTRACE		# system call tracing via ktrace(1)
651fd23544Smrg
661fd23544Smrg#options 	SYSVMSG		# System V-like message queues
671fd23544Smrg#options 	SYSVSEM		# System V-like semaphores
681fd23544Smrg#options 	SYSVSHM		# System V-like memory sharing
691fd23544Smrg#options 	SHMMAXPGS=1024	# 1024 pages is the default
701fd23544Smrg
7172b676d7Smrg#options 	LKM		# loadable kernel modules
7272b676d7Smrg
731fd23544Smrg# Diagnostic/debugging support options
741fd23544Smrg#options 	DIAGNOSTIC	# cheap kernel consistency checks
751fd23544Smrg#options 	DEBUG		# expensive debugging checks/support
7672b676d7Smrg#options 	KMEMSTATS	# kernel memory statistics (vmstat -m)
771fd23544Smrgoptions 	DDB		# in-kernel debugger
781fd23544Smrgoptions 	DDB_ONPANIC=0	# do not by default automatically drop to ddb
7972b676d7Smrg#options 	DDB_HISTORY_SIZE=100	# enable history editing in DDB
8072b676d7Smrg#options 	KGDB		# remote debugger
8172b676d7Smrg#options 	"KGDB_DEVNAME=\"com\"",KGDBADDR=0x3f8,KGDBRATE=9600
821fd23544Smrg#makeoptions	DEBUG="-g"	# compile full symbol table
831fd23544Smrg
841fd23544Smrg# Compatibility options
8593d9adc1Smrg#options 	COMPAT_NOMID	# compatibility with 386BSD, BSDI, NetBSD 0.8,
8672b676d7Smrg#options 	COMPAT_09	# NetBSD 0.9,
871fd23544Smrgoptions 	COMPAT_10	# NetBSD 1.0,
881fd23544Smrgoptions 	COMPAT_11	# NetBSD 1.1,
8972b676d7Smrgoptions 	COMPAT_12	# NetBSD 1.2,
9072b676d7Smrgoptions 	COMPAT_13	# NetBSD 1.3,
9172b676d7Smrgoptions 	COMPAT_14	# NetBSD 1.4,
9272b676d7Smrg#options 	COMPAT_43	# and 4.3BSD
9372b676d7Smrgoptions 	COMPAT_386BSD_MBRPART # recognize old partition ID
9472b676d7Smrg
9572b676d7Smrg#options 	COMPAT_SVR4	# binary compatibility with SVR4
9672b676d7Smrg#options 	COMPAT_IBCS2	# binary compatibility with SCO and ISC
9772b676d7Smrg#options 	COMPAT_LINUX	# binary compatibility with Linux
981fd23544Smrg#options 	COMPAT_FREEBSD	# binary compatibility with FreeBSD
991fd23544Smrg
1001fd23544Smrg# File systems
1011fd23544Smrgfile-system 	FFS		# UFS
1021fd23544Smrgfile-system 	EXT2FS		# second extended file system (linux)
1031fd23544Smrg#file-system 	LFS		# log-structured file system
1041fd23544Smrgfile-system 	MFS		# memory file system
1051fd23544Smrgfile-system 	NFS		# Network File System client
1061fd23544Smrgfile-system 	NTFS		# Windows/NT Filesystem
1071fd23544Smrgfile-system 	CD9660		# ISO 9660 + Rock Ridge file system
1081fd23544Smrgfile-system 	MSDOSFS		# MS-DOS file system
1091fd23544Smrg#file-system 	FDESC		# /dev/fd
11072b676d7Smrgfile-system 	KERNFS		# /kern
11172b676d7Smrg#file-system 	NULLFS		# loopback file system
1121fd23544Smrg#file-system 	PORTAL		# portal filesystem (still experimental)
1131fd23544Smrg#file-system 	PROCFS		# /proc
11472b676d7Smrg#file-system 	UMAPFS		# NULLFS + uid and gid remapping
11572b676d7Smrg#file-system 	UNION		# union file system
1161fd23544Smrg
11772b676d7Smrg# File system options
1181fd23544Smrg#options 	QUOTA		# UFS quotas
1191fd23544Smrg#options 	NFSSERVER	# Network File System server
1201fd23544Smrg#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
12172b676d7Smrg				# immutable) behave as system flags.
1221fd23544Smrg
12372b676d7Smrg# Networking options
12472b676d7Smrg#options 	GATEWAY		# packet forwarding
12593d9adc1Smrgoptions 	INET		# IP + ICMP + TCP + UDP
12672b676d7Smrg#options 	MROUTING	# IP multicast routing
12772b676d7Smrg#options 	NS		# XNS
12872b676d7Smrg#options 	NSIP		# XNS tunneling over IP
1291fd23544Smrg#options 	ISO,TPIP	# OSI
13093d9adc1Smrg#options 	EON		# OSI tunneling over IP
13193d9adc1Smrg#options 	CCITT,LLC,HDLC	# X.25
13293d9adc1Smrg#options 	NETATALK	# AppleTalk networking protocols
13393d9adc1Smrg#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
13493d9adc1Smrg#options 	PPP_DEFLATE	# Deflate compression support for PPP
13593d9adc1Smrg#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
13672b676d7Smrg#options 	PFIL_HOOKS	# pfil(9) packet filter hooks
13772b676d7Smrg
13893d9adc1Smrg# Compatibility with 4.2BSD implementation of TCP/IP.  Not recommended.
13972b676d7Smrg#options 	TCP_COMPAT_42
1401fd23544Smrg
14172b676d7Smrg# These options enable verbose messages for several subsystems.
14293d9adc1Smrg# Warning, these may compile large string tables into the kernel!
14393d9adc1Smrg#options 	EISAVERBOSE	# verbose EISA device autoconfig messages
14493d9adc1Smrg#options 	PCIVERBOSE	# verbose PCI device autoconfig messages
14593d9adc1Smrg#options 	PCMCIAVERBOSE	# verbose PCMCIA configuration messages
14693d9adc1Smrg#options 	SCSIVERBOSE	# human readable SCSI error messages
14793d9adc1Smrg
14893d9adc1Smrg# Kernel root file system and dump configuration.
14993d9adc1Smrgconfig		netbsd	root on ? type ?
15072b676d7Smrg#config		netbsd	root on sd0a type ffs
15193d9adc1Smrg#config		netbsd	root on ? type nfs
15272b676d7Smrg
15372b676d7Smrg#
15472b676d7Smrg# Device configuration
15593d9adc1Smrg#
15693d9adc1Smrg
1571fd23544Smrgmainbus0 at root
15893d9adc1Smrg
15993d9adc1Smrg#apm0	at mainbus0			# Advanced power management
1601fd23544Smrg
1611fd23544Smrg
16272b676d7Smrg# Basic Bus Support
1631fd23544Smrg
16472b676d7Smrg# PCI bus support
16572b676d7Smrgpci*	at mainbus? bus ?
16693d9adc1Smrgpci*	at pchb? bus ?
16793d9adc1Smrgpci*	at ppb? bus ?
16893d9adc1Smrg
16993d9adc1Smrg# PCI bridges
17093d9adc1Smrgpchb*	at pci? dev ? function ?	# PCI-Host bridges
17193d9adc1Smrgpceb*	at pci? dev ? function ?	# PCI-EISA bridges
17293d9adc1Smrgpcib*	at pci? dev ? function ?	# PCI-ISA bridges
17393d9adc1Smrgppb*	at pci? dev ? function ?	# PCI-PCI bridges
17493d9adc1Smrg# XXX 'puc's aren't really bridges, but there's no better place for them here
17593d9adc1Smrgpuc*	at pci? dev ? function ?	# PCI "universal" comm. cards
1761fd23544Smrg
1771fd23544Smrg# EISA bus support
1781fd23544Smrgeisa*	at mainbus?
1791fd23544Smrgeisa*	at pceb?
1801fd23544Smrg
1811fd23544Smrg# ISA bus support
1821fd23544Smrgisa*	at mainbus?
1831fd23544Smrgisa*	at pceb?
1841fd23544Smrgisa*	at pcib?
1851fd23544Smrg
1861fd23544Smrg# PCMCIA bus support
1871fd23544Smrgpcmcia*	at pcic? controller ? socket ?
1881fd23544Smrgpcmcia*	at tcic? controller ? socket ?
18993d9adc1Smrg
19093d9adc1Smrg# ISA PCMCIA controllers
19193d9adc1Smrgpcic0	at isa? port 0x3e0 iomem 0xd0000 iosiz 0x4000
19293d9adc1Smrgpcic1	at isa? port 0x3e2 iomem 0xd4000 iosiz 0x4000
1931fd23544Smrgtcic0	at isa? port 0x240 iomem 0xd0000 iosiz 0x4000
1941fd23544Smrg
1951fd23544Smrg# PCI PCMCIA controllers
1961fd23544Smrgpcic0	at pci? dev? function ?
19772b676d7Smrg
19872b676d7Smrg# ISA Plug-and-Play bus support
19972b676d7Smrgisapnp0	at isa?
20072b676d7Smrg
20193d9adc1Smrg# ISA Plug-and-Play PCMCIA controllers
20272b676d7Smrgpcic*	at isapnp?
20372b676d7Smrg
20472b676d7Smrg# Coprocessor Support
20572b676d7Smrg
2061fd23544Smrg# Math Coprocessor support
20793d9adc1Smrgnpx0	at isa? port 0xf0 irq 13	# x86 math coprocessor
20893d9adc1Smrg
20993d9adc1Smrg
21093d9adc1Smrg# Console Devices
21193d9adc1Smrg
21293d9adc1Smrg# ISA console.  You can only configure one of these!
21393d9adc1Smrgpc0	at isa? port 0x60 irq 1		# pccons generic PC console driver
21493d9adc1Smrg#vt0	at isa? port 0x60 irq 1		# PCVT console driver
21593d9adc1Smrg
21693d9adc1Smrg# Keyboard layout configuration for pccons
21793d9adc1Smrg#options 	FRENCH_KBD
21893d9adc1Smrg#options 	FINNISH_KBD
21993d9adc1Smrg#options 	GERMAN_KBD
22093d9adc1Smrg#options 	NORWEGIAN_KBD
2211fd23544Smrg
2221fd23544Smrg# wscons
2231fd23544Smrg#pckbc0	at isa?			# pc keyboard controller
2241fd23544Smrg#pckbd*	at pckbc?		# PC keyboard
2251fd23544Smrg# "opms" should not be enabled together with "pms" or "pmsi"
2261fd23544Smrg#pms*		at pckbc?		# PS/2 mouse for wsmouse
2271fd23544Smrg#pmsi*		at pckbc?	# PS/2 "Intelli"mouse for wsmouse
2281fd23544Smrg#opms*		at pckbc?		# backwards compatible PS/2 mouse
2291fd23544Smrg#vga0		at isa?
2301fd23544Smrg#vga*		at pci?
23193d9adc1Smrg#pcdisplay0	at isa?			# CGA, MDA, EGA, HGA
2321fd23544Smrg#wsdisplay*	at vga? console ?
23393d9adc1Smrg#wsdisplay*	at pcdisplay? console ?
2341fd23544Smrg#wskbd*	at pckbd? console ?
2351fd23544Smrg#wsmouse*	at pms?
2361fd23544Smrg#wsmouse*	at pmsi?
2371fd23544Smrg
23893d9adc1Smrg#pcppi0	at isa?
2391fd23544Smrg#sysbeep0	at pcppi?
24093d9adc1Smrg
2411fd23544Smrg# Serial Devices
2421fd23544Smrg
2431fd23544Smrg# PCI serial interfaces
2441fd23544Smrgcom*	at puc? port ?			# 16x450s on "universal" comm boards
2451fd23544Smrg#cy*	at pci? dev ? function ?	# Cyclades Cyclom-Y serial boards
24672b676d7Smrg
24772b676d7Smrg# ISA Plug-and-Play serial interfaces
24893d9adc1Smrgcom*	at isapnp?			# Modems and serial boards
24972b676d7Smrg
25093d9adc1Smrg# PCMCIA serial interfaces
25172b676d7Smrgcom*	at pcmcia? function ?		# Modems and serial cards
25272b676d7Smrg
25372b676d7Smrgpcmcom*	at pcmcia? function ?		# PCMCIA multi-port serial cards
25472b676d7Smrgcom*	at pcmcom? slave ?		# ...and the slave devices
2551fd23544Smrg
2561fd23544Smrg# ISA serial interfaces
2571fd23544Smrg#options 	COM_HAYESP		# adds Hayes ESP serial board support
25872b676d7Smrgcom0	at isa? port 0x3f8 irq 4	# Standard PC serial ports
2591fd23544Smrgcom1	at isa? port 0x2f8 irq 3
26072b676d7Smrgcom2	at isa? port 0x3e8 irq 5
26172b676d7Smrg#com3	at isa? port 0x2e8 irq 9
26272b676d7Smrg#ast0	at isa? port 0x1a0 irq 5	# AST 4-port serial cards
26372b676d7Smrg#com*	at ast? slave ?
26472b676d7Smrg#boca0	at isa? port 0x100 irq 5	# BOCA 8-port serial cards
26572b676d7Smrg#com*	at boca? slave ?
26672b676d7Smrg#tcom0	at isa? port 0x100 irq 7	# TC-800 8-port serial cards
26772b676d7Smrg#com*	at tcom? slave ?
2681fd23544Smrg#rtfps0	at isa? port 0x1230 irq 10	# RT 4-port serial cards
26972b676d7Smrg#com*	at rtfps? slave ?
27072b676d7Smrg#cy0	at isa? iomem 0xd4000 irq 12	# Cyclades serial cards
27172b676d7Smrg
2721fd23544Smrg
27372b676d7Smrg# Parallel Printer Interfaces
27472b676d7Smrg
27572b676d7Smrg# PCI parallel printer interfaces
27672b676d7Smrg#lpt*	at puc? port ?			# || ports on "universal" comm boards
27793d9adc1Smrg
27893d9adc1Smrg# ISA parallel printer interfaces
27993d9adc1Smrg#lpt0	at isa? port 0x378 irq 7	# standard PC parallel ports
28072b676d7Smrg#lpt1	at isa? port 0x278
2811fd23544Smrg#lpt2	at isa? port 0x3bc
2821fd23544Smrg
2831fd23544Smrg
2841fd23544Smrg# SCSI Controllers and Devices
28593d9adc1Smrg
2861fd23544Smrg# PCI SCSI controllers
2871fd23544Smrgadv*	at pci? dev ? function ?	# AdvanSys 1200[A,B], 9xx[U,UA] SCSI
28872b676d7Smrgadw*	at pci? dev ? function ?	# AdvanSys 9xxUW SCSI
28972b676d7Smrgahc*	at pci? dev ? function ?	# Adaptec [23]94x, aic78x0 SCSI
29072b676d7Smrgbha*	at pci? dev ? function ?	# BusLogic 9xx SCSI
2911fd23544Smrgdpt*	at pci? dev ? function ?	# DPT SmartCache/SmartRAID
2921fd23544Smrgisp*	at pci? dev ? function ?	# Qlogic ISP [12]0x0 SCSI/FibreChannel
2931fd23544Smrgncr*	at pci? dev ? function ?	# NCR 53c8xx SCSI
2941fd23544Smrgpcscp*	at pci? dev ? function ?	# AMD 53c974 PCscsi-PCI SCSI
2951fd23544Smrg
29693d9adc1Smrg# EISA SCSI controllers
29793d9adc1Smrgahb*	at eisa? slot ?			# Adaptec 174[02] SCSI
29893d9adc1Smrgahc*	at eisa? slot ?			# Adaptec 274x, aic7770 SCSI
29993d9adc1Smrgbha*	at eisa? slot ?			# BusLogic 7xx SCSI
30093d9adc1Smrguha*	at eisa? slot ?			# UltraStor 24f SCSI
30193d9adc1Smrg
30293d9adc1Smrg# PCMCIA SCSI controllers
30393d9adc1Smrgaic*	at pcmcia? function ?		# Adaptec APA-1460 SCSI
30493d9adc1Smrg
30593d9adc1Smrg# ISA Plug-and-Play SCSI controllers
30693d9adc1Smrgaha*	at isapnp? 			# Adaptec AHA-154[02
30793d9adc1Smrgaic*	at isapnp?			# Adaptec AHA-1520B
30893d9adc1Smrg
30993d9adc1Smrg# ISA SCSI controllers
31093d9adc1Smrgadv0	at isa? port ? irq ? drq ?	# AdvanSys APB-514[02]
31193d9adc1Smrgaha0	at isa? port 0x330 irq ? drq ?	# Adaptec 154[02] SCSI
31293d9adc1Smrgaha1	at isa? port 0x334 irq ? drq ?
31393d9adc1Smrgahc0	at isa? port ? irq ?		# Adaptec 284x SCSI
31493d9adc1Smrgaic0	at isa? port 0x340 irq 11	# Adaptec 152[02] SCSI
31593d9adc1Smrgbha0	at isa? port 0x330 irq ? drq ?	# BusLogic [457]4X SCSI
31693d9adc1Smrgbha1	at isa? port 0x334 irq ? drq ?
31793d9adc1Smrgnca0	at isa? port 0x360 irq 15	# Port-mapped NCR 53C80 contoller
31893d9adc1Smrgnca1	at isa? iomem 0xd8000 irq 5	# Memory-mapped controller (T128, etc.)
31993d9adc1Smrgsea0	at isa? iomem 0xc8000 irq 5	# Seagate/Future Domain SCSI
32093d9adc1Smrguha0	at isa? port 0x330 irq ? drq ?	# UltraStor [13]4f SCSI
32193d9adc1Smrguha1	at isa? port 0x340 irq ? drq ?
32293d9adc1Smrgwds0	at isa? port 0x350 irq 15 drq 6	# WD7000 and TMC-7000 controllers
32393d9adc1Smrgwds1	at isa? port 0x358 irq 11 drq 5
32493d9adc1Smrg
32593d9adc1Smrg# SCSI bus support
32693d9adc1Smrgscsibus* at adv?
32793d9adc1Smrgscsibus* at adw?
32893d9adc1Smrgscsibus* at aha?
32993d9adc1Smrgscsibus* at ahb?
33093d9adc1Smrgscsibus* at ahc?
33193d9adc1Smrgscsibus* at aic?
33293d9adc1Smrgscsibus* at bha?
33393d9adc1Smrgscsibus* at dpt?
33493d9adc1Smrgscsibus* at isp?
33593d9adc1Smrgscsibus* at nca?
33693d9adc1Smrgscsibus* at ncr?
33793d9adc1Smrgscsibus* at pcscp?
33893d9adc1Smrgscsibus* at sea?
33993d9adc1Smrgscsibus* at uha?
34093d9adc1Smrgscsibus* at wds?
34193d9adc1Smrg
34293d9adc1Smrg# SCSI devices
34393d9adc1Smrgsd*	at scsibus? target ? lun ?	# SCSI disk drives
34493d9adc1Smrgst*	at scsibus? target ? lun ?	# SCSI tape drives
34593d9adc1Smrgcd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives
34693d9adc1Smrg#ch*	at scsibus? target ? lun ?	# SCSI autochangers
34793d9adc1Smrg#ss*	at scsibus? target ? lun ?	# SCSI scanners
34893d9adc1Smrg#uk*	at scsibus? target ? lun ?	# SCSI unknown
34993d9adc1Smrg
35093d9adc1Smrg
35193d9adc1Smrg# IDE and related devices
35293d9adc1Smrg# PCI IDE controllers - see pciide(4) for supported hardware.
35393d9adc1Smrg# The 0x0001 flag force the driver to use DMA, even if the driver doesn't know
35493d9adc1Smrg# how to set up DMA modes for this chip. This may work, or may cause
35593d9adc1Smrg# a machine hang with some controllers.
35693d9adc1Smrgpciide* at pci ? dev ? function ? flags 0x0000
35793d9adc1Smrg
3581fd23544Smrg# ISA Plug-and-Play IDE controllers
35972b676d7Smrgwdc*	at isapnp?
3601fd23544Smrg
3611fd23544Smrg# PCMCIA IDE controllers
36293d9adc1Smrgwdc*    at pcmcia? function ?   
36393d9adc1Smrg
3641fd23544Smrg# ISA ST506, ESDI, and IDE controllers
3651fd23544Smrg# Use flags 0x01 if you want to try to use 32bits data I/O (the driver will
3661fd23544Smrg# fall back to 16bits I/O if 32bits I/O are not functionnal).
36772b676d7Smrg# Some controllers pass the initial 32bit test, but will fail later.
3681fd23544Smrgwdc0	at isa? port 0x1f0 irq 14 flags 0x00
3691fd23544Smrgwdc1	at isa? port 0x170 irq 15 flags 0x00
3701fd23544Smrg
37172b676d7Smrg# IDE drives
3721fd23544Smrg# Flags are used only with controllers that support DMA operations
37393d9adc1Smrg# and mode settings (e.g. some pciide controllers)
37493d9adc1Smrg# The lowest order four bits (rightmost digit) of the flags define the PIO
37593d9adc1Smrg# mode to use, the next set of four bits the DMA mode and the third set the
3761fd23544Smrg# UltraDMA mode. For each set of four bits, the 3 lower bits define the mode
37772b676d7Smrg# to use, and the last bit must be 1 for this setting to be used.
3781fd23544Smrg# For DMA and UDMA, 0xf (1111) means 'disable'.
3791fd23544Smrg# 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'.
38093d9adc1Smrg# (0xc=1100, 0xa=1010, 0xf=1111)
3811fd23544Smrg# 0x0000 means "use whatever the drive claims to support".
38272b676d7Smrgwd*	at wdc? channel ? drive ? flags 0x0000
38393d9adc1Smrgwd*	at pciide? channel ? drive ? flags 0x0000
3841fd23544Smrg
3851fd23544Smrg# ATAPI bus support
3861fd23544Smrgatapibus* at wdc? channel ?
3871fd23544Smrgatapibus* at pciide? channel ?
3881fd23544Smrg
3891fd23544Smrg# ATAPI devices
39093d9adc1Smrg# flags have the same meaning as for IDE drives.
39193d9adc1Smrgcd*	at atapibus? drive ? flags 0x0000	# ATAPI CD-ROM drives
39293d9adc1Smrgsd*	at atapibus? drive ? flags 0x0000	# ATAPI disk drives
39393d9adc1Smrg#uk*	at atapibus? drive ? flags 0x0000	# ATAPI unknown
39493d9adc1Smrg
39593d9adc1Smrg
39693d9adc1Smrg# Miscellaneous mass storage devices
39793d9adc1Smrg
39893d9adc1Smrg# ISA floppy
39993d9adc1Smrgfdc0	at isa? port 0x3f0 irq 6 drq 2	# standard PC floppy controllers
40093d9adc1Smrg#fdc1	at isa? port 0x370 irq ? drq ?
40193d9adc1Smrgfd*	at fdc? drive ?			# the drives themselves
40293d9adc1Smrg# some machines need you to do this instead of fd*
40393d9adc1Smrg#fd0	at fdc0 drive 0
40493d9adc1Smrg
40593d9adc1Smrg# ISA CD-ROM devices
40693d9adc1Smrg#mcd0	at isa? port 0x300 irq 10	# Mitsumi CD-ROM drives
40793d9adc1Smrg
40893d9adc1Smrg# ISA tape devices
40993d9adc1Smrg# note: the wt driver conflicts unpleasantly with ed devices at the
4101fd23544Smrg# same I/O address. The probe reprograms their EEPROMs. Don't
4111fd23544Smrg# uncomment it unless you are actually using it.
4121fd23544Smrg#wt0	at isa? port 0x308 irq 5 drq 1	# Archive and Wangtek QIC tape drives
41393d9adc1Smrg
41493d9adc1Smrg
41593d9adc1Smrg# Network Interfaces
41693d9adc1Smrg
41793d9adc1Smrg# PCI network interfaces
41872b676d7Smrgde*	at pci? dev ? function ?	# DEC 21x4x-based Ethernet
4191fd23544Smrgen*	at pci? dev ? function ?	# ENI/Adaptec ATM
42072b676d7Smrgep*	at pci? dev ? function ?	# 3Com 3c59x
42172b676d7Smrgex*	at pci? dev ? function ?	# 3Com 90x[B]
42272b676d7Smrgepic*	at pci? dev ? function ?	# SMC EPIC/100 Ethernet
4231fd23544Smrgesh*	at pci? dev ? function ?	# Essential HIPPI card
4241fd23544Smrgfpa*	at pci? dev ? function ?	# DEC DEFPA FDDI
4251fd23544Smrgfxp*	at pci? dev ? function ?	# Intel EtherExpress PRO 10+/100B
4261fd23544Smrgle*	at pci? dev ? function ?	# PCnet-PCI Ethernet
42772b676d7Smrgne*	at pci? dev ? function ?	# NE2000-compatible Ethernet
42872b676d7Smrgsip*	at pci? dev ? function ?	# SiS 900 Ethernet
42972b676d7Smrgtl*	at pci? dev ? function ?	# ThunderLAN-based Ethernet
43072b676d7Smrgvr*	at pci? dev ? function ?	# VIA Rhine Fast Ethernet
43172b676d7Smrglmc*	at pci? dev ? function ?	# Lan Media Corp SSI/HSSI/DS3
43272b676d7Smrgrl*	at pci? dev ? function ?	# Realtek 8129/8139
43372b676d7Smrg
43472b676d7Smrg# EISA network interfaces
43572b676d7Smrgep*	at eisa? slot ?			# 3Com 3c579 Ethernet
43672b676d7Smrgfea*	at eisa? slot ?			# DEC DEFEA FDDI
4371fd23544Smrg
43872b676d7Smrg# ISA Plug-and-Play network interfaces
43972b676d7Smrgep*	at isapnp?			# 3Com 3c509 Ethernet
44072b676d7Smrgne*	at isapnp?			# NE2000-compatible Ethernet
44172b676d7Smrgtr*	at isapnp?			# IBM/3COM TROPIC Token-Ring
44272b676d7Smrg
44372b676d7Smrg# PCMCIA network interfaces
44472b676d7Smrgep*	at pcmcia? function ?		# 3Com 3c589 and 3c562 Ethernet
4451fd23544Smrgmbe*	at pcmcia? function ?		# MB8696x based Ethernet
4461fd23544Smrgne*	at pcmcia? function ?		# NE2000-compatible Ethernet
4471fd23544Smrgsm*	at pcmcia? function ?		# Megahertz Ethernet
4481fd23544Smrgwi*	at pcmcia? function ?		# Lucent WaveLan IEEE (802.11)
4491fd23544Smrg
4501fd23544Smrgmhzc*	at pcmcia? function ?		# Megahertz Ethernet/Modem combo cards
4511fd23544Smrgcom*	at mhzc?
45293d9adc1Smrgsm*	at mhzc?
45393d9adc1Smrg
45493d9adc1Smrg# ISA network interfaces
4551fd23544Smrgate0	at isa? port 0x2a0 irq ?		# AT1700
4561fd23544Smrgcs0	at isa? port 0x300 iomem ? irq ? drq ?	# CS8900 Ethernet
45793d9adc1Smrgec0	at isa? port 0x250 iomem 0xd8000 irq 9	# 3Com 3c503 Ethernet
4581fd23544Smrgeg0	at isa? port 0x280 irq 9		# 3C505 ethernet cards
4591fd23544Smrgel0	at isa? port 0x300 irq 9		# 3C501 ethernet cards
4601fd23544Smrgep0	at isa? port ? irq ?			# 3C509 ethernet cards
4611fd23544Smrgef0	at isa? port 0x360 iomem 0xd0000 irq 7	# 3C507
4621fd23544Smrgai0	at isa? port 0x360 iomem 0xd0000 irq 7	# StarLAN
4631fd23544Smrgfmv0	at isa? port 0x2a0 irq ?		# FMV-180 series
4641fd23544Smrgix0	at isa? port 0x300 irq 10		# EtherExpress/16
4651fd23544Smrgiy0	at isa? port 0x360 irq ?		# EtherExpress PRO 10 ISA
4661fd23544Smrglc0	at isa? port 0x320 iomem ? irq ?	# DEC EtherWORKS III (LEMAC)
4671fd23544Smrgdepca0	at isa? port 0x300 iomem 0xc8000 iosiz 0x8000 irq 5	# DEPCA
4681fd23544Smrgle*	at depca?
4691fd23544Smrgnele0	at isa? port 0x320 irq 9 drq 7		# NE2100
47093d9adc1Smrgle*	at nele?
47193d9adc1Smrgbicc0	at isa? port 0x320 irq 10 drq 7		# BICC IsoLan
47293d9adc1Smrgle*	at bicc?
47393d9adc1Smrgne0	at isa? port 0x280 irq 9		# NE[12]000 ethernet cards
47493d9adc1Smrgne1	at isa? port 0x300 irq 10
47593d9adc1Smrgsm0	at isa? port 0x300 irq 10		# SMC91C9x Ethernet
47693d9adc1Smrgtr0	at isa? port 0xa20 iomem 0xd8000 irq ?  # IBM TROPIC based Token-Ring
47793d9adc1Smrgtr1	at isa? port 0xa24 iomem 0xd0000 irq ?  # IBM TROPIC based Token-Ring
47893d9adc1Smrgtr*	at isa? port ? irq ?			# 3COM TROPIC based Token-Ring
47993d9adc1Smrgwe0	at isa? port 0x280 iomem 0xd0000 irq 9	# WD/SMC Ethernet
48093d9adc1Smrgwe1	at isa? port 0x300 iomem 0xcc000 irq 10
48193d9adc1Smrg
48293d9adc1Smrg# MII/PHY support
48393d9adc1Smrgexphy*	at mii? phy ?			# 3Com internal PHYs
48493d9adc1Smrgicsphy*	at mii? phy ?			# Integrated Circuit Systems ICS1890
48593d9adc1Smrginphy*	at mii? phy ?			# Intel 82555 PHYs
48693d9adc1Smrglxtphy*	at mii? phy ?			# Level One LXT-970 PHYs
48793d9adc1Smrgnsphy*	at mii? phy ?			# NS83840 PHYs
4881fd23544Smrgqsphy*	at mii? phy ?			# Quality Semiconductor QS6612 PHYs
4891fd23544Smrgsqphy*	at mii? phy ?			# Seeq 80220/80221/80223 PHYs
4901fd23544Smrgtlphy*	at mii? phy ?			# ThunderLAN PHYs
4911fd23544Smrgukphy*	at mii? phy ?			# generic unknown PHYs
4921fd23544Smrg
49372b676d7Smrg# USB Controller and Devices
49472b676d7Smrg
49572b676d7Smrg# PCI USB controllers
49672b676d7Smrg#uhci*	at pci?				# Universal Host Controller (Intel)
49772b676d7Smrg#ohci*	at pci?				# Open Host Controller
49872b676d7Smrg
49974c14cd6Smrg# USB bus support
50074c14cd6Smrg#usb*	at uhci?
50172b676d7Smrg#usb*	at ohci?
502
503# USB Hubs
504#uhub*	at usb?
505#uhub*	at uhub? port ? configuration ? interface ?
506
507# USB Mice
508#ums*	at uhub? port ? configuration ? interface ?
509#wsmouse*	at ums?
510
511# USB Keyboards
512#ukbd*	at uhub? port ? configuration ? interface ?
513#wskbd*	at ukbd? console ?
514
515# USB Generic HID devices
516#uhid*	at uhub? port ? configuration ? interface ?
517
518# USB Printer
519#ulpt*	at uhub? port ? configuration ? interface ?
520
521# USB Mass Storage
522#umass*	at uhub? port ? configuration ? interface ?
523#scsibus* at umass? channel ?
524
525# USB Generic driver
526#ugen*	at uhub? port ? configuration ? interface ?
527
528# Audio Devices
529
530# PCI audio devices
531#eap*	at pci? dev ? function ?	# Ensoniq AudioPCI
532#eso*	at pci? dev ? function ?	# ESS Solo-1 PCI AudioDrive
533#sv*	at pci? dev ? function ?	# S3 SonicVibes
534
535# ISA Plug-and-Play audio devices
536#guspnp*	at isapnp?			# Gravis Ultra Sound PnP audio
537#sb*	at isapnp?			# SoundBlaster-compatible audio
538
539# ISA audio devices
540# the "aria" probe might give false hits
541#aria0	at isa? port 0x290 irq 10 		# Aria
542#gus0	at isa? port 0x220 irq 7 drq 1 drq2 6	# Gravis Ultra Sound
543#pas0	at isa? port 0x220 irq 7 drq 1		# ProAudio Spectrum
544#pss0	at isa? port 0x220 irq 7 drq 6  	# Personal Sound System
545#sp0	at pss0 port 0x530 irq 10 drq 0		# 	sound port driver
546#sb0	at isa? port 0x220 irq 7 drq 1 drq2 5	# SoundBlaster
547#wss0	at isa? port 0x530 irq 10 drq 0	drq2 1	# Windows Sound System
548
549# OPL[23] FM syntheziers
550#opl0	at isa? port 0x388	# use only if not attached to sound card
551#opl*	at eso?
552#opl*	at ess?
553#opl*	at sb?
554#opl*	at sv?
555 
556# Audio support
557#audio*	at aria?
558#audio*	at eap?
559#audio*	at eso?
560#audio*	at gus?
561#audio*	at guspnp?
562#audio*	at pas?
563#audio*	at sb?
564#audio*	at sp?
565#audio*	at sv?
566#audio*	at wss?
567
568# MIDI support
569#midi*	at pcppi?		# MIDI interface to the PC speaker
570#midi*	at sb?			# SB MPU401 port
571#midi*	at opl?			# OPL FM synth
572
573# The spkr driver provides a simple tone interface to the built in speaker.
574#spkr0	at pcppi?		# PC speaker
575
576
577# Mice
578
579# ISA busmice
580#lms0	at isa? port 0x23c irq 5	# Logitech bus mouse
581#lms1	at isa? port 0x238 irq 5
582#mms0	at isa? port 0x23c irq 5	# Microsoft InPort mouse
583#mms1	at isa? port 0x238 irq 5
584#wsmouse*	at lms?
585#wsmouse*	at mms?
586# backwards compatible versions
587#olms0	at isa? port 0x23c irq 5	# Logitech bus mouse
588#olms1	at isa? port 0x238 irq 5
589#omms0	at isa? port 0x23c irq 5	# Microsoft InPort mouse
590#omms1	at isa? port 0x238 irq 5
591#opms0	at pc? irq 12		# PS/2 auxiliary port mouse
592#opms0	at vt? irq 12		# PS/2 auxiliary port mouse
593
594# Joysticks
595
596# ISA Plug-and-Play joysticks
597#joy*	at isapnp?			# Game ports (usually on audio cards)
598
599# ISA joysticks. Probe is a little strange; add only if you have one.
600#joy0	at isa? port 0x201
601
602
603# Miscellaneous Devices
604
605# Planetconnect Satellite receiver driver.
606#satlink0 at isa? port 0x300 drq 1
607
608
609# Pull in optional local configuration
610include	"arch/i386/conf/GENERIC.local"
611
612
613# Pseudo-Devices
614
615# disk/mass storage pseudo-devices
616#pseudo-device	ccd		4	# concatenated/striped disk devices
617#pseudo-device	raid		4	# RAIDframe disk driver
618pseudo-device	md		1	# memory disk device (ramdisk)
619#pseudo-device	vnd		4	# disk-like interface to files
620
621# network pseudo-devices
622#pseudo-device	bpfilter	8	# Berkeley packet filter
623#pseudo-device	ipfilter		# IP filter (firewall) and NAT
624pseudo-device	loop			# network loopback
625pseudo-device	ppp		2	# Point-to-Point Protocol
626pseudo-device	sl		2	# Serial Line IP
627#pseudo-device	strip		2	# Starmode Radio IP (Metricom)
628#pseudo-device	tun		2	# network tunneling over tty
629#pseudo-device	gre		2	# generic L3 over IP tunnel
630#pseudo-device	ipip		2	# IP Encapsulation within IP (RFC 2003)
631
632# miscellaneous pseudo-devices
633pseudo-device	pty		64	# pseudo-terminals
634#pseudo-device	tb		1	# tablet line discipline
635#pseudo-device	sequencer	1	# MIDI sequencer
636# rnd works; RND_COM does not on port i386 yet.
637#pseudo-device	rnd			# /dev/random and in-kernel generator
638#options 	RND_COM			# use "com" randomness as well (BROKEN)
639
640# a pseudo device needed for Coda	# also needs CODA (above)
641#pseudo-device	vcoda		4	# coda minicache <-> venus comm.
642