GENERIC_PS2TINY revision 1.28
11.28Sabs#	$NetBSD: GENERIC_PS2TINY,v 1.28 2004/06/26 07:32:06 abs Exp $
21.1Sjdolecek#
31.1Sjdolecek#	GENERIC-style kernel config for IBM PS/2 with MCA bus. It only contains
41.1Sjdolecek#	IBM PS/2 related stuff and has been generally trimmed down somewhat,
51.1Sjdolecek#	so that the kernel is small enough to be usable for 4MB machines. This
61.1Sjdolecek#	configuration is also used for INSTALL_PS2 kernels.
71.1Sjdolecek#
81.1Sjdolecek#	BEWARE:
91.1Sjdolecek#	 MCA support in NetBSD is still experimental at this
101.1Sjdolecek#	 stage and should be used with caution.
111.1Sjdolecek
121.1Sjdolecekinclude "arch/i386/conf/std.i386"
131.12Satatat
141.12Satatat#options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
151.1Sjdolecek
161.1Sjdolecekmaxusers	16		# estimated number of users
171.1Sjdolecek
181.1Sjdolecek# CPU support.  At least one is REQUIRED.
191.1Sjdolecekoptions 	I386_CPU
201.1Sjdolecekoptions 	I486_CPU
211.1Sjdolecekoptions 	I586_CPU
221.1Sjdolecek#options 	I686_CPU
231.1Sjdolecek
241.1Sjdolecek# CPU-related options.
251.1Sjdolecekoptions 	MATH_EMULATE	# floating point emulation
261.1Sjdolecekoptions 	VM86		# virtual 8086 emulation
271.1Sjdolecekoptions 	USER_LDT	# user-settable LDT; used by WINE
281.1Sjdolecek
291.1Sjdolecek# delay between "rebooting ..." message and hardware reset, in milliseconds
301.1Sjdolecek#options 	CPURESET_DELAY=2000
311.1Sjdolecek
321.1Sjdolecek# This option allows you to force a serial console at the specified
331.1Sjdolecek# I/O address.   see console(4) for details.
341.6Slukem#options 	CONSDEVNAME="\"com\"",CONADDR=0x2f8,CONSPEED=57600
351.1Sjdolecek#	you don't want the option below ON iff you are using the
361.1Sjdolecek#	serial console option of the new boot strap code.
371.1Sjdolecek#options 	CONS_OVERRIDE	# Always use above! independent of boot info
381.1Sjdolecek
391.1Sjdolecek# The following options override the memory sizes passed in from the boot
401.1Sjdolecek# block.  Use them *only* if the boot block is unable to determine the correct
411.1Sjdolecek# values.  Note that the BIOS may *correctly* report less than 640k of base
421.1Sjdolecek# memory if the extended BIOS data area is located at the top of base memory
431.1Sjdolecek# (as is the case on most recent systems).
441.1Sjdolecek#options 	REALBASEMEM=639		# size of base memory (in KB)
451.1Sjdolecek#options 	REALEXTMEM=15360	# size of extended memory (in KB)
461.1Sjdolecek
471.1Sjdolecek# Standard system options
481.1Sjdolecek
491.16Sgrantoptions 	INSECURE	# disable kernel security levels - X needs this
501.1Sjdolecek
511.4Senamioptions 	RTC_OFFSET=-600 # hardware clock is this many mins. west of GMT
521.1Sjdolecekoptions 	NTP		# NTP phase/frequency locked loop
531.1Sjdolecek
541.6Slukem#options 	KTRACE		# system call tracing via ktrace(1)
551.1Sjdolecek
561.1Sjdolecekoptions 	SYSVMSG		# System V-like message queues
571.1Sjdolecekoptions 	SYSVSEM		# System V-like semaphores
581.4Senami#options 	SEMMNI=10	# number of semaphore identifiers
591.4Senami#options 	SEMMNS=60	# number of semaphores in system
601.4Senami#options 	SEMUME=10	# max number of undo entries per process
611.4Senami#options 	SEMMNU=30	# number of undo structures in system
621.1Sjdolecekoptions 	SYSVSHM		# System V-like memory sharing
631.15Swiz#options 	SHMMAXPGS=2048	# 2048 pages is the default
641.1Sjdolecek
651.1Sjdolecekoptions 	LKM		# loadable kernel modules
661.10Sjdolecek
671.18Slukemoptions 	USERCONF	# userconf(4) support
681.25Slukem#options 	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
691.1Sjdolecek
701.1Sjdolecek# Diagnostic/debugging support options
711.6Slukem#options 	DIAGNOSTIC	# expensive kernel consistency checks
721.6Slukem#options 	DEBUG		# expensive debugging checks/support
731.6Slukem#options 	KMEMSTATS	# kernel memory statistics (vmstat -m)
741.6Slukemoptions 	DDB		# in-kernel debugger
751.22Sjmmv#options 	DDB_ONPANIC=1	# see also sysctl(8): `ddb.onpanic'
761.1Sjdolecekoptions 	DDB_HISTORY_SIZE=512	# enable history editing in DDB
771.1Sjdolecek#options 	KGDB		# remote debugger
781.5Slukem#options 	KGDB_DEVNAME="\"com\"",KGDB_DEVADDR=0x3f8,KGDB_DEVRATE=9600
791.1Sjdolecek#makeoptions	DEBUG="-g"	# compile full symbol table
801.1Sjdolecekmakeoptions	COPTS="-Os"	# generates smaller code than -O2, -O1
811.1Sjdolecek
821.1Sjdolecek# File systems
831.1Sjdolecekfile-system 	FFS		# UFS
841.1Sjdolecek#file-system 	EXT2FS		# second extended file system (linux)
851.1Sjdolecek#file-system 	LFS		# log-structured file system
861.1Sjdolecek#file-system 	MFS		# memory file system
871.1Sjdolecekfile-system 	NFS		# Network File System client
881.1Sjdolecek#file-system 	NTFS		# Windows/NT file system (experimental)
891.1Sjdolecekfile-system 	CD9660		# ISO 9660 + Rock Ridge file system
901.1Sjdolecekfile-system 	MSDOSFS		# MS-DOS file system
911.1Sjdolecek#file-system 	FDESC		# /dev/fd
921.2Sjdolecekfile-system 	KERNFS		# /kern
931.1Sjdolecek#file-system 	NULLFS		# loopback file system
941.1Sjdolecek#file-system 	OVERLAY		# overlay file system
951.1Sjdolecek#file-system 	PORTAL		# portal filesystem (still experimental)
961.1Sjdolecek#file-system 	PROCFS		# /proc
971.1Sjdolecek#file-system 	UMAPFS		# NULLFS + uid and gid remapping
981.1Sjdolecek#file-system 	UNION		# union file system
991.1Sjdolecek#file-system	CODA		# Coda File System; also needs vcoda (below)
1001.1Sjdolecek
1011.1Sjdolecek# File system options
1021.1Sjdolecekoptions 	QUOTA		# UFS quotas
1031.1Sjdolecek#options 	FFS_EI		# FFS Endian Independent support
1041.6Slukemoptions 	SOFTDEP		# FFS soft updates support.
1051.1Sjdolecek#options 	NFSSERVER	# Network File System server
1061.1Sjdolecek#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
1071.1Sjdolecek				# immutable) behave as system flags.
1081.1Sjdolecek# Networking options
1091.1Sjdolecek#options 	GATEWAY		# packet forwarding
1101.1Sjdolecekoptions 	INET		# IP + ICMP + TCP + UDP
1111.1Sjdolecekoptions 	INET6		# IPV6
1121.1Sjdolecek#options 	IPSEC		# IP security
1131.1Sjdolecek#options 	IPSEC_ESP	# IP security (encryption part; define w/IPSEC)
1141.1Sjdolecek#options 	IPSEC_DEBUG	# debug for IP security
1151.1Sjdolecek#options 	MROUTING	# IP multicast routing
1161.1Sjdolecek#options 	NS		# XNS
1171.1Sjdolecek#options 	NSIP		# XNS tunneling over IP
1181.1Sjdolecek#options 	ISO,TPIP	# OSI
1191.1Sjdolecek#options 	EON		# OSI tunneling over IP
1201.1Sjdolecek#options 	CCITT,LLC,HDLC	# X.25
1211.1Sjdolecek#options 	NETATALK	# AppleTalk networking protocols
1221.1Sjdolecek#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
1231.1Sjdolecek#options 	PPP_DEFLATE	# Deflate compression support for PPP
1241.1Sjdolecek#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
1251.1Sjdolecek#options 	PFIL_HOOKS	# pfil(9) packet filter hooks
1261.1Sjdolecek#options 	IPFILTER_LOG	# ipmon(8) log support
1271.25Slukem#options 	IPFILTER_DEFAULT_BLOCK	# block all packets by default
1281.1Sjdolecek#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
1291.1Sjdolecek
1301.28Sabs#options 	ALTQ		# Manipulate network interfaces' output queues
1311.28Sabs#options 	ALTQ_BLUE	# Stochastic Fair Blue
1321.28Sabs#options 	ALTQ_CBQ	# Class-Based Queueing
1331.28Sabs#options 	ALTQ_CDNR	# Diffserv Traffic Conditioner
1341.28Sabs#options 	ALTQ_FIFOQ	# First-In First-Out Queue
1351.28Sabs#options 	ALTQ_FLOWVALVE	# RED/flow-valve (red-penalty-box)
1361.28Sabs#options 	ALTQ_HFSC	# Hierarchical Fair Service Curve
1371.28Sabs#options 	ALTQ_LOCALQ	# Local queueing discipline
1381.28Sabs#options 	ALTQ_PRIQ	# Priority Queueing
1391.28Sabs#options 	ALTQ_RED	# Random Early Detection
1401.28Sabs#options 	ALTQ_RIO	# RED with IN/OUT
1411.28Sabs#options 	ALTQ_WFQ	# Weighted Fair Queueing
1421.28Sabs
1431.1Sjdolecek# These options enable verbose messages for several subsystems.
1441.1Sjdolecek# Warning, these may compile large string tables into the kernel!
1451.1Sjdolecek#options 	EISAVERBOSE	# verbose EISA device autoconfig messages
1461.1Sjdolecek#options 	MIIVERBOSE	# verbose PHY autoconfig messages
1471.1Sjdolecek#options 	PCIVERBOSE	# verbose PCI device autoconfig messages
1481.1Sjdolecek#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
1491.1Sjdolecek#options 	PCMCIAVERBOSE	# verbose PCMCIA configuration messages
1501.1Sjdolecek#options 	SCSIVERBOSE	# human readable SCSI error messages
1511.1Sjdolecek#options 	USBVERBOSE	# verbose USB device autoconfig messages
1521.1Sjdolecek#options 	PNPBIOSVERBOSE	# verbose PnP BIOS messages
1531.4Senami#options 	PNPBIOSDEBUG	# more fulsome PnP BIOS debugging messages
1541.1Sjdolecek#options 	I2OVERBOSE	# verbose I2O driver messages
1551.6Slukemoptions 	MCAVERBOSE	# verbose MCA device autoconfig messages
1561.1Sjdolecek
1571.4Senamioptions 	NFS_BOOT_DHCP,NFS_BOOT_BOOTPARAM
1581.1Sjdolecek
1591.6Slukemoptions 	WSEMUL_VT100	# VT100 / VT220 emulation
1601.1Sjdolecekoptions 	WS_KERNEL_FG=WSCOL_GREEN
1611.1Sjdolecek
1621.1Sjdolecek# Kernel root file system and dump configuration.
1631.6Slukemconfig		netbsd root on ? type ?
1641.6Slukem#config		netbsd root on ? type nfs
1651.6Slukem#config		netbsd root on ed0a type ffs
1661.1Sjdolecek
1671.1Sjdolecek#
1681.1Sjdolecek# Device Configuration
1691.1Sjdolecek#
1701.1Sjdolecek
1711.1Sjdolecekmainbus0 at root
1721.21Sfvdlcpu0	at mainbus0
1731.1Sjdolecekmca0	at mainbus0
1741.1Sjdolecekisa0	at mainbus0
1751.1Sjdolecek
1761.6Slukem#npx0	at isa? port 0xf0 irq 13	# x86 math coprocessor
1771.1Sjdolecek
1781.6Slukem#pc0	at isa? port 0x60 irq 1
1791.1Sjdolecek
1801.1Sjdolecek# wscons
1811.1Sjdolecekpckbc0		at isa?			# pc keyboard controller
1821.4Senamioptions 	PCKBCDEBUG
1831.1Sjdolecek#pcconskbd*	at pckbc?
1841.1Sjdolecek#pms*		at pckbc?		# PS/2 mouse for wsmouse
1851.1Sjdolecek#wsmouse*	at pms?
1861.6Slukempckbd*		at pckbc?		# PC keyboard
1871.1Sjdolecekwskbd*		at pckbd? console ?
1881.1Sjdolecekvga0		at isa?
1891.1Sjdolecekwsdisplay*	at vga? console ?
1901.4Senamioptions 	WSDISPLAY_DEFAULTSCREENS=4
1911.1Sjdolecek
1921.1Sjdolecekcom0	at isa? port 0x3f8 irq 4	# "SERIAL_!"
1931.1Sjdoleceklpt0	at isa? port 0x3bc irq 7	# "PARALLEL_1"
1941.1Sjdolecekfdc0	at isa? port 0x3f0 irq 6 drq 2	# standard PC floppy controllers
1951.1Sjdolecekfd*	at fdc? drive ?			# the drives themselves
1961.1Sjdolecek
1971.1Sjdolecek# MCA serial interfaces
1981.1Sjdolecekcom*	at mca? slot ?			# 16x50s on comm boards
1991.1Sjdolecek
2001.1Sjdolecek# MCA network devices
2011.1Sjdolecekelmc*	at mca? slot ?			# 3Com EtherLink/MC (3c523)
2021.1Sjdolecekep*	at mca? slot ?			# 3Com EtherLink III (3c529)
2031.1Sjdolecekwe*	at mca? slot ?			# WD/SMC Ethernet
2041.1Sjdolecekate*	at mca? slot ?			# Allied Telesis AT1720
2051.1Sjdolecekne*	at mca? slot ?			# Novell NE/2 and clones
2061.1Sjdolecektr*	at mca? slot ?			# IBM Token Ring adapter
2071.1Sjdolecekle*	at mca? slot ?			# SKNET Personal/MC2+
2081.1Sjdolecek
2091.1Sjdolecek# MCA ESDI controllers & disks
2101.1Sjdolecekedc*	at mca? slot ?			# IBM ESDI Disk Controllers
2111.7Sjdoleceked*	at edc? drive ?
2121.1Sjdolecek
2131.1Sjdolecek# MCA SCSI controllers
2141.1Sjdolecekaha*	at mca? slot ?			# Adaptec AHA-1640
2151.8Sjdolecekesp*	at mca? slot ?			# NCR 53C90
2161.1Sjdolecek
2171.1Sjdolecek# SCSI bus support
2181.14Slukemscsibus* at scsi?
2191.1Sjdolecek
2201.1Sjdolecek# SCSI devices
2211.1Sjdoleceksd*	at scsibus? target ? lun ?	# SCSI disk drives
2221.1Sjdolecek#st*	at scsibus? target ? lun ?	# SCSI tape drives
2231.1Sjdolecekcd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives
2241.1Sjdolecek#ch*	at scsibus? target ? lun ?	# SCSI autochangers
2251.1Sjdolecek#ses*	at scsibus? target ? lun ?	# SCSI Enclosure Services devices
2261.1Sjdolecek#ss*	at scsibus? target ? lun ?	# SCSI scanners
2271.1Sjdolecek#uk*	at scsibus? target ? lun ?	# SCSI unknown
2281.1Sjdolecek
2291.1Sjdolecek# network pseudo-devices
2301.1Sjdolecekpseudo-device	bpfilter	4	# Berkeley packet filter
2311.9Smartinpseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
2321.3Satatatpseudo-device	bridge			# simple inter-network bridging
2331.1Sjdolecekpseudo-device	loop			# network loopback
2341.1Sjdolecek
2351.1Sjdolecek# miscellaneous pseudo-devices
2361.1Sjdolecekpseudo-device	pty			# pseudo-terminals
2371.1Sjdolecekpseudo-device	md		1	# memory disk device (ramdisk)
2381.1Sjdolecek# rnd works; RND_COM does not on port i386 yet.
2391.1Sjdolecekpseudo-device	rnd			# /dev/random and in-kernel generator
2401.1Sjdolecek#options 	RND_COM			# use "com" randomness as well (BROKEN)
2411.13Slukempseudo-device	clockctl		# user control of clock subsystem
242