GENERIC revision 1.110
11.110Sthorpej#	$NetBSD: GENERIC,v 1.110 1997/10/18 01:42:22 thorpej Exp $
21.1Smycroft#
31.1Smycroft#	GENERIC -- everything that's currently supported
41.1Smycroft#
51.1Smycroft
61.61Sfvdlinclude "arch/i386/conf/std.i386"
71.14Scgd
81.110Sthorpejmaxusers	32		# estimated number of users
91.110Sthorpej
101.110Sthorpej# CPU support.  At least one is REQUIRED.
111.110Sthorpejoptions 	I386_CPU
121.82Smellonoptions 	I486_CPU
131.82Smellonoptions 	I586_CPU
141.110Sthorpejoptions 	I686_CPU	
151.110Sthorpej
161.110Sthorpej# CPU-related options.
171.82Smellonoptions 	MATH_EMULATE	# floating point emulation
181.102Smycroft#options 	VM86		# virtual 8086 emulation
191.102Smycroftoptions 	USER_LDT	# user-settable LDT; used by WINE
201.110Sthorpej#options 	DUMMY_NOPS	# speed hack; recommended
211.110Sthorpej
221.110Sthorpej# Misc. i386-specific options
231.110Sthorpejoptions 	XSERVER		# X server support in console drivers
241.110Sthorpej
251.110Sthorpej# This option allows you to force a serial console at the specified
261.110Sthorpej# I/O address.
271.110Sthorpej#options 	"CONSDEVNAME=\"com\"",CONADDR=0x3f8,CONSPEED=9600
281.32Sthorpej
291.101Smycroft# The following options override the memory sizes passed in from the boot
301.101Smycroft# block.  Use them *only* if the boot block is unable to determine the correct
311.101Smycroft# values.  Note that the BIOS may *correctly* report less that 640k of base
321.101Smycroft# memory if the extended BIOS data area is located at the top of base memory
331.101Smycroft# (as is the case on most recent systems).
341.101Smycroft#options 	REALBASEMEM=...	# size of base memory
351.101Smycroft#options 	REALEXTMEM=...	# size of extended memory
361.1Smycroft
371.110Sthorpej# Standard system options
381.110Sthorpej
391.110Sthorpejoptions 	UCONSOLE	# users can use TIOCCONS (for xconsole)
401.110Sthorpejoptions 	INSECURE	# disable kernel security levels
411.1Smycroft
421.82Smellonoptions 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
431.82Smellon#options 	NTP		# NTP phase/frequency locked loop
441.1Smycroft
451.98Smikeloptions 	KTRACE		# system call tracing via ktrace(1)
461.1Smycroft
471.82Smellonoptions 	SYSVMSG		# System V-like message queues
481.82Smellonoptions 	SYSVSEM		# System V-like semaphores
491.82Smellonoptions 	SYSVSHM		# System V-like memory sharing
501.82Smellon#options 	SHMMAXPGS=1024	# 1024 pages is the default
511.82Smellon
521.110Sthorpejoptions 	LKM		# loadable kernel modules
531.110Sthorpej
541.110Sthorpej# Diagnostic/debugging support options
551.110Sthorpejoptions 	DIAGNOSTIC	# cheap kernel consistency checks
561.110Sthorpej#options 	DEBUG		# expensive debugging checks/support
571.110Sthorpejoptions 	KMEMSTATS	# kernel memory statistics (vmstat -m)
581.110Sthorpejoptions 	DDB		# in-kernel debugger
591.110Sthorpej#options 	KGDB		# remote debugger
601.110Sthorpej#options 	"KGDB_DEVNAME=\"com\"",KGDBADDR=0x3f8,KGDBRATE=9600
611.110Sthorpej#makeoptions	DEBUG="-g"	# compile full symbol table
621.110Sthorpej
631.110Sthorpej# Compatbility options
641.82Smellonoptions 	COMPAT_NOMID	# compatibility with 386BSD, BSDI, NetBSD 0.8,
651.82Smellonoptions 	COMPAT_09	# NetBSD 0.9,
661.82Smellonoptions 	COMPAT_10	# NetBSD 1.0,
671.82Smellonoptions 	COMPAT_11	# NetBSD 1.1,
681.55Smycroftoptions 	COMPAT_12	# NetBSD 1.2,
691.82Smellonoptions 	COMPAT_43	# and 4.3BSD
701.1Smycroft
711.82Smellonoptions 	COMPAT_SVR4	# binary compatibility with SVR4
721.82Smellonoptions 	COMPAT_IBCS2	# binary compatibility with SCO and ISC
731.82Smellonoptions 	COMPAT_LINUX	# binary compatibility with Linux
741.82Smellonoptions 	COMPAT_FREEBSD	# binary compatibility with FreeBSD
751.59Smycroft
761.110Sthorpej# Executable format options
771.82Smellonoptions 	EXEC_ELF32	# 32-bit ELF executables (SVR4, Linux)
781.1Smycroft
791.110Sthorpej# File systems
801.71Sthorpejfile-system 	FFS		# UFS
811.80Sperryfile-system 	EXT2FS		# second extended file system (linux)
821.71Sthorpejfile-system 	LFS		# log-structured file system
831.71Sthorpejfile-system 	MFS		# memory file system
841.71Sthorpejfile-system 	NFS		# Network File System client
851.71Sthorpejfile-system 	CD9660		# ISO 9660 + Rock Ridge file system
861.71Sthorpejfile-system 	MSDOSFS		# MS-DOS file system
871.71Sthorpejfile-system 	FDESC		# /dev/fd
881.71Sthorpejfile-system 	KERNFS		# /kern
891.71Sthorpejfile-system 	NULLFS		# loopback file system
901.71Sthorpejfile-system 	PORTAL		# portal filesystem (still experimental)
911.71Sthorpejfile-system 	PROCFS		# /proc
921.71Sthorpejfile-system 	UMAPFS		# NULLFS + uid and gid remapping
931.71Sthorpejfile-system 	UNION		# union file system
941.71Sthorpej
951.110Sthorpej# File system options
961.82Smellonoptions 	QUOTA		# UFS quotas
971.82Smellonoptions 	NFSSERVER	# Network File System server
981.82Smellonoptions 	FIFO		# FIFOs; RECOMMENDED
991.81Sveego#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
1001.80Sperry				# immutable) behave as system flags.
1011.110Sthorpej# Networking options
1021.82Smellon#options 	GATEWAY		# packet forwarding
1031.82Smellonoptions 	INET		# IP + ICMP + TCP + UDP
1041.82Smellon#options 	MROUTING	# IP multicast routing
1051.82Smellonoptions 	NS		# XNS
1061.82Smellon#options 	NSIP		# XNS tunneling over IP
1071.82Smellonoptions 	ISO,TPIP	# OSI
1081.82Smellonoptions 	EON		# OSI tunneling over IP
1091.82Smellonoptions 	CCITT,LLC,HDLC	# X.25
1101.110Sthorpejoptions 	NETATALK	# AppleTalk networking protocols
1111.110Sthorpej#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
1121.110Sthorpej#options 	PPP_DEFLATE	# Deflate compression support for PPP
1131.110Sthorpej#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
1141.82Smellon#options 	PFIL_HOOKS	# pfil(9) packet filter hooks
1151.1Smycroft
1161.110Sthorpej# Compatibility with 4.2BSD implementation of TCP/IP.  Not suggested.
1171.110Sthorpej#options 	TCP_COMPAT_42
1181.1Smycroft
1191.110Sthorpej# These options enable verbose messages for autoconfiguration of
1201.110Sthorpej# the corresponding bus.  Warning, these may compile large string
1211.110Sthorpej# tables into the kernel!
1221.63Sthorpejoptions 	EISAVERBOSE	# verbose EISA device messages
1231.63Sthorpejoptions 	PCIVERBOSE	# verbose PCI device messages
1241.98Smikeloptions 	SCSIVERBOSE	# verbose SCSI error messages
1251.110Sthorpej#options 	PCMCIAVERBOSE	# verbose PCMCIA configuration messages
1261.110Sthorpej
1271.110Sthorpej# Kernel root file system and dump configuration.
1281.110Sthorpejconfig		netbsd	root on ? type ?
1291.110Sthorpej#config		netbsd	root on sd0a type ffs
1301.110Sthorpej#config		netbsd	root on ? type nfs
1311.110Sthorpej
1321.110Sthorpej#
1331.110Sthorpej# Device configuration
1341.110Sthorpej#
1351.63Sthorpej
1361.31Scgdmainbus0 at root
1371.31Scgd
1381.110Sthorpej#apm0	at mainbus0			# Advanced power management
1391.1Smycroft
1401.110Sthorpej# PCI bus support
1411.110Sthorpejpci*	at mainbus? bus ?
1421.110Sthorpejpci*	at pchb? bus ?
1431.30Scgdpci*	at ppb? bus ?
1441.110Sthorpej
1451.110Sthorpej# PCI devices
1461.110Sthorpejahc*	at pci? dev ? function ?	# Adaptec [23]94x, aic78x0 SCSI
1471.110Sthorpejbha*	at pci? dev ? function ?	# BusLogic 9xx SCSI
1481.110Sthorpejcy*	at pci? dev ? function ?	# Cyclades Cyclom-Y serial boards
1491.110Sthorpejde*	at pci? dev ? function ?	# DEC 21x4x-based Ethernet
1501.110Sthorpejen*	at pci? dev ? function ?	# ENI/Adaptec ATM
1511.110Sthorpejep*	at pci? dev ? function ?	# 3Com 3c59x/3c90x Ethernet
1521.110Sthorpejfpa*	at pci? dev ? function ?	# DEC DEFPA FDDI
1531.110Sthorpejfxp*	at pci? dev ? function ?	# Intel EtherExpress PRO 10+/100B
1541.110Sthorpejisp*	at pci? dev ? function ?	# Qlogic ISP [12]0x0 SCSI/FibreChannel
1551.110Sthorpejle*	at pci? dev ? function ?	# PCnet-PCI Ethernet
1561.110Sthorpejncr*	at pci? dev ? function ?	# NCR 53c8xx SCSI
1571.110Sthorpejne*	at pci? dev ? function ?	# NE2000-compatible Ethernet
1581.63Sthorpejpchb*	at pci? dev ? function ?	# PCI-Host bridges
1591.63Sthorpejpcib*	at pci? dev ? function ?	# PCI-ISA bridges
1601.110Sthorpejppb*	at pci? dev ? function ?	# PCI-PCI bridges
1611.110Sthorpejtl*	at pci? dev ? function ?	# Thunderland-based Ethernet
1621.110Sthorpej
1631.110Sthorpej# EISA bus support
1641.110Sthorpejeisa*	at mainbus?
1651.110Sthorpej
1661.110Sthorpej# EISA devices
1671.110Sthorpejahb*	at eisa? slot ?			# Adaptec 174[02] SCSI
1681.110Sthorpejahc*	at eisa? slot ?			# Adaptec 274x, aic7770 SCSI
1691.110Sthorpejbha*	at eisa? slot ?			# BusLogic 7xx SCSI
1701.110Sthorpejep*	at eisa? slot ?			# 3Com 3c579 Ethernet
1711.110Sthorpejfea*	at eisa? slot ?			# DEC DEFEA FDDI
1721.110Sthorpejuha*	at eisa? slot ?			# UltraStor 24f SCSI
1731.110Sthorpej
1741.110Sthorpej# ISA bus support
1751.110Sthorpejisa*	at mainbus?
1761.110Sthorpejisa*	at pcib?
1771.63Sthorpej
1781.110Sthorpej# ISA devices
1791.110Sthorpej
1801.110Sthorpej# ISA floppy, IDE, CD-ROM, and tape devices
1811.110Sthorpejfdc0	at isa? port 0x3f0 irq 6 drq 2	# standard PC floppy controllers
1821.110Sthorpej#fdc1	at isa? port 0x370 irq ? drq ?
1831.110Sthorpejfd*	at fdc? drive ?			# the drives themselves
1841.110Sthorpej
1851.110Sthorpejwdc0	at isa? port 0x1f0 irq 14	# ST506, ESDI, and IDE controllers
1861.110Sthorpejwdc1	at isa? port 0x170 irq 15
1871.110Sthorpejwd*	at wdc? drive ?			# the drives themsevles
1881.63Sthorpej
1891.110Sthorpej#mcd0	at isa? port 0x300 irq 10	# Mitsumi CD-ROM drives
1901.30Scgd
1911.110Sthorpej# note: the wt driver conflicts unpleasantly with ed devices at the
1921.110Sthorpej# same I/O address. The probe reprograms their eeproms. Don't
1931.110Sthorpej# uncomment it unless you are actually using it.
1941.110Sthorpej#wt0	at isa? port 0x300 irq 5 drq 1	# Archive and Wangtek QIC tape drives
1951.1Smycroft
1961.110Sthorpej# ISA SCSI controllers
1971.110Sthorpejaha0	at isa? port 0x330 irq ? drq ?	# Adaptec 154[02] SCSI
1981.110Sthorpejaha1	at isa? port 0x334 irq ? drq ?
1991.110Sthorpejahc0	at isa? port ? irq ?		# Adaptec 284x SCSI
2001.110Sthorpejaic0	at isa? port 0x340 irq 11	# Adaptec 152[02] SCSI
2011.110Sthorpejbha0	at isa? port 0x330 irq ? drq ?	# BusLogic [57]4X SCSI
2021.110Sthorpejbha1	at isa? port 0x334 irq ? drq ?
2031.110Sthorpejsea0	at isa? iomem 0xc8000 irq 5	# Seagate/Future Domain SCSI
2041.110Sthorpejuha0	at isa? port 0x330 irq ? drq ?	# UltraStor [13]4f SCSI
2051.110Sthorpejuha1	at isa? port 0x334 irq ? drq ?
2061.110Sthorpejwds0	at isa? port 0x350 irq 15 drq 6	# WD7000 and TMC-7000 controllers
2071.110Sthorpejwds1	at isa? port 0x358 irq 11 drq 5
2081.1Smycroft
2091.110Sthorpej# ISA serial interfaces
2101.89Sperry#options 	COM_HAYESP		# adds Hayes ESP serial board support
2111.2Smycroftcom0	at isa? port 0x3f8 irq 4	# standard PC serial ports
2121.2Smycroftcom1	at isa? port 0x2f8 irq 3
2131.2Smycroftcom2	at isa? port 0x3e8 irq 5
2141.2Smycroft#com3	at isa? port 0x2e8 irq 9
2151.8Smycroft#ast0	at isa? port 0x1a0 irq 5	# AST 4-port serial cards
2161.34Scgd#com*	at ast? slave ?
2171.8Smycroft#boca0	at isa? port 0x100 irq 5	# BOCA 8-port serial cards
2181.8Smycroft#com*	at boca? slave ?
2191.1Smycroft#rtfps0	at isa? port 0x1230 irq 10	# RT 4-port serial cards
2201.1Smycroft#com*	at rtfps? slave ?
2211.58Schristos#cy0	at isa? iomem 0xd4000 irq 12	# Cyclades serial cards
2221.88Smikel
2231.110Sthorpej# ISA console.  You can only configure one of these!
2241.110Sthorpejpc0	at isa? port 0x60 irq 1		# pccons generic PC console driver
2251.110Sthorpej#vt0	at isa? port 0x60 irq 1		# PCVT console driver
2261.1Smycroft
2271.110Sthorpej# ISA mice
2281.1Smycroftlms0	at isa? port 0x23c irq 5	# Logitech bus mouse
2291.1Smycroftlms1	at isa? port 0x238 irq 5
2301.1Smycroftmms0	at isa? port 0x23c irq 5	# Microsoft InPort mouse
2311.1Smycroftmms1	at isa? port 0x238 irq 5
2321.36Sthorpej#pms0	at pckbd? irq 12		# PS/2 auxiliary port mouse
2331.1Smycroft
2341.110Sthorpej# ISA audio devices
2351.110Sthorpejgus0	at isa? port 0x220 irq 7 drq 1 drq2 6	# Gravis Ultra Sound
2361.110Sthorpejpas0	at isa? port 0x220 irq 7 drq 1		# ProAudio Spectrum
2371.110Sthorpejpss0	at isa? port 0x220 irq 7 drq 6  	# Personal Sound System
2381.110Sthorpejsp0	at pss0 port 0x530 irq 10 drq 0		# 	sound port driver
2391.110Sthorpejsb0	at isa? port 0x220 irq 7 drq 1 drq2 5	# SoundBlaster
2401.110Sthorpejwss0	at isa? port 0x530 irq 10 drq 0	drq2 1	# Windows Sound System
2411.1Smycroft
2421.110Sthorpej# ISA network interfaces
2431.104Sthorpejed0	at isa? port 0x280 iomem 0xd0000 irq 9	# WD/SMC and 3C503
2441.4Smycrofted1	at isa? port 0x250 iomem 0xd8000 irq 9	#   ethernet cards
2451.4Smycrofted2	at isa? port 0x300 iomem 0xcc000 irq 10
2461.1Smycroft#eg0	at isa? ...				# 3C505 ethernet cards
2471.19Smycroftel0	at isa? port 0x300 irq 9		# 3C501 ethernet cards
2481.1Smycroftep0	at isa? port ? irq ?			# 3C509 ethernet cards
2491.108Sthorpejfe0	at isa? port 0x2a0 irq ?		# AT1700
2501.44Sscottrie0	at isa? port 0x360 iomem 0xd0000 irq 7	# StarLAN and 3C507
2511.44Sscottrie1	at isa? port 0x300 irq 10		# EtherExpress
2521.110Sthorpejiy0	at isa? port ? irq ?			# EtherExpress PRO 10 ISA
2531.110Sthorpejlc0	at isa? port ? iomem ? irq ?		# DEC EtherWORKS III (LEMAC)
2541.1Smycroft#le0	at isa? port 0x320 irq 10 drq 7		# IsoLan, NE2100, and DEPCA
2551.104Sthorpejne0	at isa? port 0x280 irq 9		# NE[12]000 ethernet cards
2561.104Sthorpejne1	at isa? port 0x300 irq 10
2571.15Sbrezak
2581.110Sthorpej# ISA PCMCIA controllers
2591.110Sthorpejpcic0	at isa? port 0x3e0 iomem 0xd0000 iosiz 0x4000
2601.110Sthorpejpcic1	at isa? port 0x3e2 iomem 0xd4000 iosiz 0x4000
2611.110Sthorpej
2621.110Sthorpej# ISA misc. devices
2631.110Sthorpejlpt0	at isa? port 0x378 irq 7	# standard PC parallel ports
2641.110Sthorpejlpt1	at isa? port 0x278
2651.110Sthorpejlpt2	at isa? port 0x3bc
2661.1Smycroft
2671.110Sthorpej# Planetconnect Satellite receiver driver.
2681.110Sthorpej#satlink0 at isa? port 0x300 drq 1
2691.40Sperry
2701.40Sperry# Joystick driver. Probe is a little strange; add only if you have one.
2711.40Sperry#joy0	at isa? port 0x201
2721.68Schristos
2731.110Sthorpej#spkr0	at pckbd? port 0x61		# PC speaker
2741.110Sthorpej
2751.110Sthorpejnpx0	at isa? port 0xf0 irq 13	# x86 math coprocessor
2761.105Sthorpej
2771.110Sthorpej# ISA Plug-and-Play support
2781.110Sthorpejisapnp0	at isa?
2791.105Sthorpej
2801.110Sthorpej# ISA Plug-and-Play devices
2811.110Sthorpejcom*	at isapnp?			# Modems and serial boards
2821.110Sthorpejep*	at isapnp?			# 3Com 3c509 Ethernet
2831.110Sthorpejguspnp*	at isapnp?			# Gravis Ultra Sound PnP audio
2841.110Sthorpejjoy*	at isapnp?			# Game ports (usually on audio cards)
2851.110Sthorpejne*	at isapnp?			# NE2000-compatible Ethernet
2861.110Sthorpejsb*	at isapnp?			# SoundBlaster-compatible audio
2871.105Sthorpej
2881.110Sthorpej# PCMCIA bus support
2891.105Sthorpejpcmcia*	at pcic? controller ? socket ?
2901.105Sthorpej
2911.110Sthorpej# PCMCIA devices
2921.110Sthorpejaic*	at pcmcia? function ?		# Adaptec APA-1460 SCSI
2931.110Sthorpejcom*	at pcmcia? function ?		# Modems and serial cards
2941.110Sthorpejep*	at pcmcia? function ?		# 3Com 3c589 and 3c562 Ethernet
2951.110Sthorpejne*	at pcmcia? function ?		# NE2000-compatible Ethernet
2961.110Sthorpejsm*	at pcmcia? function ?		# Megahertz Ethernet
2971.110Sthorpej
2981.110Sthorpej# Audio support
2991.110Sthorpejaudio*	at gus?
3001.110Sthorpejaudio*	at guspnp?
3011.110Sthorpejaudio*	at pas?
3021.110Sthorpejaudio*	at sb?
3031.110Sthorpejaudio*	at sp?
3041.110Sthorpejaudio*	at wss?
3051.110Sthorpej
3061.110Sthorpej# SCSI bus support
3071.110Sthorpejscsibus* at aha?
3081.110Sthorpejscsibus* at ahb?
3091.110Sthorpejscsibus* at ahc?
3101.110Sthorpejscsibus* at aic?
3111.110Sthorpejscsibus* at bha?
3121.110Sthorpejscsibus* at isp?
3131.110Sthorpejscsibus* at ncr?
3141.110Sthorpejscsibus* at sea?
3151.110Sthorpejscsibus* at uha?
3161.110Sthorpejscsibus* at wds?
3171.110Sthorpej
3181.110Sthorpej# SCSI devices
3191.110Sthorpejsd*	at scsibus? target ? lun ?	# SCSI disk drives
3201.110Sthorpejst*	at scsibus? target ? lun ?	# SCSI tape drives
3211.110Sthorpejcd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives
3221.110Sthorpejch*	at scsibus? target ? lun ?	# SCSI autochangers
3231.110Sthorpejss*	at scsibus? target ? lun ?	# SCSI scanners
3241.110Sthorpejuk*	at scsibus? target ? lun ?	# SCSI unknown
3251.110Sthorpej
3261.110Sthorpej# ATAPI bus support
3271.110Sthorpejatapibus* at wdc?
3281.110Sthorpej
3291.110Sthorpej# ATAPI devices
3301.110Sthorpejcd*	at atapibus? drive ?		# ATAPI CD-ROM drives
3311.110Sthorpej
3321.110Sthorpej# MII bus support
3331.110Sthorpejmii*	at tl?
3341.110Sthorpej
3351.110Sthorpej# MII PHY devices
3361.110Sthorpejtlphy*	at mii? dev ?			# Thunderland PHYs
3371.110Sthorpejnsphy*	at mii? dev ?			# NS and compatible PHYs
3381.84Shpeyerl
3391.110Sthorpej# Pull in optional local configuration
3401.57Smycroftinclude	"arch/i386/conf/GENERIC.local"
3411.1Smycroft
3421.110Sthorpej# Pseudo devices
3431.110Sthorpejpseudo-device	bpfilter	8	# Berkeley packet filter
3441.110Sthorpejpseudo-device	ccd		4	# concatenated/striped disk devices
3451.110Sthorpejpseudo-device	ipfilter		# IP filter (firewall) and NAT
3461.110Sthorpejpseudo-device	loop			# network loopback
3471.110Sthorpejpseudo-device	md		1	# memory disk device (ramdisk)
3481.110Sthorpejpseudo-device	ppp		2	# Point-to-Point Protocol
3491.110Sthorpejpseudo-device	pty		64	# pseudo-terminals
3501.103Sexplorer#pseudo-device	rnd			# /dev/random and in-kernel generator
3511.110Sthorpejpseudo-device	sl		2	# Serial Line IP
3521.110Sthorpejpseudo-device	strip		2	# Starmode Radio IP (Metricom)
3531.110Sthorpejpseudo-device	tb		1	# tablet line discipline
3541.110Sthorpejpseudo-device	tun		2	# network tunneling over tty
3551.110Sthorpejpseudo-device	vnd		4	# disk-like interface to files
356