GENERIC_PS2TINY revision 1.56
11.56Stron#	$NetBSD: GENERIC_PS2TINY,v 1.56 2009/11/25 17:08:08 tron 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-related options.
191.1Sjdolecekoptions 	VM86		# virtual 8086 emulation
201.1Sjdolecekoptions 	USER_LDT	# user-settable LDT; used by WINE
211.1Sjdolecek
221.1Sjdolecek# delay between "rebooting ..." message and hardware reset, in milliseconds
231.1Sjdolecek#options 	CPURESET_DELAY=2000
241.1Sjdolecek
251.1Sjdolecek# This option allows you to force a serial console at the specified
261.1Sjdolecek# I/O address.   see console(4) for details.
271.6Slukem#options 	CONSDEVNAME="\"com\"",CONADDR=0x2f8,CONSPEED=57600
281.1Sjdolecek#	you don't want the option below ON iff you are using the
291.1Sjdolecek#	serial console option of the new boot strap code.
301.1Sjdolecek#options 	CONS_OVERRIDE	# Always use above! independent of boot info
311.1Sjdolecek
321.1Sjdolecek# The following options override the memory sizes passed in from the boot
331.1Sjdolecek# block.  Use them *only* if the boot block is unable to determine the correct
341.1Sjdolecek# values.  Note that the BIOS may *correctly* report less than 640k of base
351.1Sjdolecek# memory if the extended BIOS data area is located at the top of base memory
361.1Sjdolecek# (as is the case on most recent systems).
371.1Sjdolecek#options 	REALBASEMEM=639		# size of base memory (in KB)
381.1Sjdolecek#options 	REALEXTMEM=15360	# size of extended memory (in KB)
391.1Sjdolecek
401.1Sjdolecek# Standard system options
411.1Sjdolecek
421.16Sgrantoptions 	INSECURE	# disable kernel security levels - X needs this
431.1Sjdolecek
441.4Senamioptions 	RTC_OFFSET=-600 # hardware clock is this many mins. west of GMT
451.1Sjdolecekoptions 	NTP		# NTP phase/frequency locked loop
461.1Sjdolecek
471.6Slukem#options 	KTRACE		# system call tracing via ktrace(1)
481.1Sjdolecek
491.1Sjdolecekoptions 	SYSVMSG		# System V-like message queues
501.1Sjdolecekoptions 	SYSVSEM		# System V-like semaphores
511.1Sjdolecekoptions 	SYSVSHM		# System V-like memory sharing
521.29Sbouyeroptions 	P1003_1B_SEMAPHORE # p1003.1b semaphore support
531.1Sjdolecek
541.10Sjdolecek
551.18Slukemoptions 	USERCONF	# userconf(4) support
561.25Slukem#options 	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
571.30Satatat#options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
581.1Sjdolecek
591.1Sjdolecek# Diagnostic/debugging support options
601.6Slukem#options 	DIAGNOSTIC	# expensive kernel consistency checks
611.6Slukem#options 	DEBUG		# expensive debugging checks/support
621.6Slukem#options 	KMEMSTATS	# kernel memory statistics (vmstat -m)
631.6Slukemoptions 	DDB		# in-kernel debugger
641.22Sjmmv#options 	DDB_ONPANIC=1	# see also sysctl(8): `ddb.onpanic'
651.1Sjdolecekoptions 	DDB_HISTORY_SIZE=512	# enable history editing in DDB
661.1Sjdolecek#options 	KGDB		# remote debugger
671.5Slukem#options 	KGDB_DEVNAME="\"com\"",KGDB_DEVADDR=0x3f8,KGDB_DEVRATE=9600
681.50Smartti#makeoptions 	DEBUG="-g"	# compile full symbol table
691.50Smarttimakeoptions 	COPTS="-Os"	# generates smaller code than -O2, -O1
701.56Stronmakeoptions	USE_SSP="no"
711.1Sjdolecek
721.1Sjdolecek# File systems
731.1Sjdolecekfile-system 	FFS		# UFS
741.1Sjdolecek#file-system 	EXT2FS		# second extended file system (linux)
751.1Sjdolecek#file-system 	LFS		# log-structured file system
761.1Sjdolecek#file-system 	MFS		# memory file system
771.1Sjdolecekfile-system 	NFS		# Network File System client
781.1Sjdolecek#file-system 	NTFS		# Windows/NT file system (experimental)
791.1Sjdolecekfile-system 	CD9660		# ISO 9660 + Rock Ridge file system
801.1Sjdolecekfile-system 	MSDOSFS		# MS-DOS file system
811.1Sjdolecek#file-system 	FDESC		# /dev/fd
821.2Sjdolecekfile-system 	KERNFS		# /kern
831.1Sjdolecek#file-system 	NULLFS		# loopback file system
841.1Sjdolecek#file-system 	OVERLAY		# overlay file system
851.1Sjdolecek#file-system 	PORTAL		# portal filesystem (still experimental)
861.1Sjdolecek#file-system 	PROCFS		# /proc
871.1Sjdolecek#file-system 	UMAPFS		# NULLFS + uid and gid remapping
881.1Sjdolecek#file-system 	UNION		# union file system
891.45Smartti#file-system 	CODA		# Coda File System; also needs vcoda (below)
901.1Sjdolecek
911.1Sjdolecek# File system options
921.1Sjdolecekoptions 	QUOTA		# UFS quotas
931.1Sjdolecek#options 	FFS_EI		# FFS Endian Independent support
941.53Ssimonboptions 	WAPBL		# File system journaling support - Experimental
951.39Stsutsuioptions 	FFS_NO_SNAPSHOT	# No FFS snapshot support
961.1Sjdolecek#options 	NFSSERVER	# Network File System server
971.1Sjdolecek#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
981.1Sjdolecek				# immutable) behave as system flags.
991.1Sjdolecek# Networking options
1001.1Sjdolecek#options 	GATEWAY		# packet forwarding
1011.1Sjdolecekoptions 	INET		# IP + ICMP + TCP + UDP
1021.1Sjdolecekoptions 	INET6		# IPV6
1031.1Sjdolecek#options 	IPSEC		# IP security
1041.1Sjdolecek#options 	IPSEC_ESP	# IP security (encryption part; define w/IPSEC)
1051.36Stron#options 	IPSEC_NAT_T	# IPsec NAT traversal (NAT-T)
1061.1Sjdolecek#options 	IPSEC_DEBUG	# debug for IP security
1071.1Sjdolecek#options 	MROUTING	# IP multicast routing
1081.31Smanu#options 	PIM		# Protocol Independent Multicast
1091.1Sjdolecek#options 	ISO,TPIP	# OSI
1101.1Sjdolecek#options 	EON		# OSI tunneling over IP
1111.1Sjdolecek#options 	NETATALK	# AppleTalk networking protocols
1121.1Sjdolecek#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
1131.1Sjdolecek#options 	PPP_DEFLATE	# Deflate compression support for PPP
1141.1Sjdolecek#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
1151.1Sjdolecek#options 	PFIL_HOOKS	# pfil(9) packet filter hooks
1161.1Sjdolecek#options 	IPFILTER_LOG	# ipmon(8) log support
1171.41Schristos#options 	IPFILTER_LOOKUP	# ippool(8) support
1181.25Slukem#options 	IPFILTER_DEFAULT_BLOCK	# block all packets by default
1191.1Sjdolecek#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
1201.1Sjdolecek
1211.28Sabs#options 	ALTQ		# Manipulate network interfaces' output queues
1221.28Sabs#options 	ALTQ_BLUE	# Stochastic Fair Blue
1231.28Sabs#options 	ALTQ_CBQ	# Class-Based Queueing
1241.28Sabs#options 	ALTQ_CDNR	# Diffserv Traffic Conditioner
1251.28Sabs#options 	ALTQ_FIFOQ	# First-In First-Out Queue
1261.28Sabs#options 	ALTQ_FLOWVALVE	# RED/flow-valve (red-penalty-box)
1271.28Sabs#options 	ALTQ_HFSC	# Hierarchical Fair Service Curve
1281.28Sabs#options 	ALTQ_LOCALQ	# Local queueing discipline
1291.28Sabs#options 	ALTQ_PRIQ	# Priority Queueing
1301.28Sabs#options 	ALTQ_RED	# Random Early Detection
1311.28Sabs#options 	ALTQ_RIO	# RED with IN/OUT
1321.28Sabs#options 	ALTQ_WFQ	# Weighted Fair Queueing
1331.28Sabs
1341.1Sjdolecek# These options enable verbose messages for several subsystems.
1351.1Sjdolecek# Warning, these may compile large string tables into the kernel!
1361.1Sjdolecek#options 	EISAVERBOSE	# verbose EISA device autoconfig messages
1371.1Sjdolecek#options 	MIIVERBOSE	# verbose PHY autoconfig messages
1381.1Sjdolecek#options 	PCIVERBOSE	# verbose PCI device autoconfig messages
1391.1Sjdolecek#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
1401.1Sjdolecek#options 	PCMCIAVERBOSE	# verbose PCMCIA configuration messages
1411.1Sjdolecek#options 	SCSIVERBOSE	# human readable SCSI error messages
1421.1Sjdolecek#options 	USBVERBOSE	# verbose USB device autoconfig messages
1431.1Sjdolecek#options 	PNPBIOSVERBOSE	# verbose PnP BIOS messages
1441.4Senami#options 	PNPBIOSDEBUG	# more fulsome PnP BIOS debugging messages
1451.6Slukemoptions 	MCAVERBOSE	# verbose MCA device autoconfig messages
1461.1Sjdolecek
1471.4Senamioptions 	NFS_BOOT_DHCP,NFS_BOOT_BOOTPARAM
1481.1Sjdolecek
1491.6Slukemoptions 	WSEMUL_VT100	# VT100 / VT220 emulation
1501.1Sjdolecekoptions 	WS_KERNEL_FG=WSCOL_GREEN
1511.1Sjdolecek
1521.1Sjdolecek# Kernel root file system and dump configuration.
1531.6Slukemconfig		netbsd root on ? type ?
1541.6Slukem#config		netbsd root on ? type nfs
1551.6Slukem#config		netbsd root on ed0a type ffs
1561.1Sjdolecek
1571.1Sjdolecek#
1581.1Sjdolecek# Device Configuration
1591.1Sjdolecek#
1601.1Sjdolecek
1611.1Sjdolecekmca0	at mainbus0
1621.1Sjdolecekisa0	at mainbus0
1631.1Sjdolecek
1641.6Slukem#npx0	at isa? port 0xf0 irq 13	# x86 math coprocessor
1651.1Sjdolecek
1661.1Sjdolecek# wscons
1671.1Sjdolecekpckbc0		at isa?			# pc keyboard controller
1681.4Senamioptions 	PCKBCDEBUG
1691.1Sjdolecek#pcconskbd*	at pckbc?
1701.1Sjdolecek#pms*		at pckbc?		# PS/2 mouse for wsmouse
1711.1Sjdolecek#wsmouse*	at pms?
1721.6Slukempckbd*		at pckbc?		# PC keyboard
1731.1Sjdolecekwskbd*		at pckbd? console ?
1741.1Sjdolecekvga0		at isa?
1751.1Sjdolecekwsdisplay*	at vga? console ?
1761.4Senamioptions 	WSDISPLAY_DEFAULTSCREENS=4
1771.1Sjdolecek
1781.1Sjdolecekcom0	at isa? port 0x3f8 irq 4	# "SERIAL_!"
1791.1Sjdoleceklpt0	at isa? port 0x3bc irq 7	# "PARALLEL_1"
1801.1Sjdolecekfdc0	at isa? port 0x3f0 irq 6 drq 2	# standard PC floppy controllers
1811.1Sjdolecekfd*	at fdc? drive ?			# the drives themselves
1821.1Sjdolecek
1831.1Sjdolecek# MCA serial interfaces
1841.1Sjdolecekcom*	at mca? slot ?			# 16x50s on comm boards
1851.1Sjdolecek
1861.1Sjdolecek# MCA network devices
1871.1Sjdolecekelmc*	at mca? slot ?			# 3Com EtherLink/MC (3c523)
1881.1Sjdolecekep*	at mca? slot ?			# 3Com EtherLink III (3c529)
1891.1Sjdolecekwe*	at mca? slot ?			# WD/SMC Ethernet
1901.1Sjdolecekate*	at mca? slot ?			# Allied Telesis AT1720
1911.1Sjdolecekne*	at mca? slot ?			# Novell NE/2 and clones
1921.1Sjdolecektr*	at mca? slot ?			# IBM Token Ring adapter
1931.35Sjdolecektra*	at mca? slot ?			# Tiara LANCard/E and clones
1941.1Sjdolecekle*	at mca? slot ?			# SKNET Personal/MC2+
1951.1Sjdolecek
1961.1Sjdolecek# MCA ESDI controllers & disks
1971.1Sjdolecekedc*	at mca? slot ?			# IBM ESDI Disk Controllers
1981.7Sjdoleceked*	at edc? drive ?
1991.1Sjdolecek
2001.1Sjdolecek# MCA SCSI controllers
2011.1Sjdolecekaha*	at mca? slot ?			# Adaptec AHA-1640
2021.8Sjdolecekesp*	at mca? slot ?			# NCR 53C90
2031.1Sjdolecek
2041.1Sjdolecek# SCSI bus support
2051.14Slukemscsibus* at scsi?
2061.1Sjdolecek
2071.1Sjdolecek# SCSI devices
2081.1Sjdoleceksd*	at scsibus? target ? lun ?	# SCSI disk drives
2091.1Sjdolecek#st*	at scsibus? target ? lun ?	# SCSI tape drives
2101.1Sjdolecekcd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives
2111.1Sjdolecek#ch*	at scsibus? target ? lun ?	# SCSI autochangers
2121.1Sjdolecek#ses*	at scsibus? target ? lun ?	# SCSI Enclosure Services devices
2131.1Sjdolecek#ss*	at scsibus? target ? lun ?	# SCSI scanners
2141.1Sjdolecek#uk*	at scsibus? target ? lun ?	# SCSI unknown
2151.1Sjdolecek
2161.1Sjdolecek# network pseudo-devices
2171.40Scubepseudo-device	bpfilter		# Berkeley packet filter
2181.9Smartinpseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
2191.3Satatatpseudo-device	bridge			# simple inter-network bridging
2201.1Sjdolecekpseudo-device	loop			# network loopback
2211.1Sjdolecek
2221.1Sjdolecek# miscellaneous pseudo-devices
2231.1Sjdolecekpseudo-device	pty			# pseudo-terminals
2241.1Sjdolecekpseudo-device	md		1	# memory disk device (ramdisk)
2251.1Sjdolecek# rnd works; RND_COM does not on port i386 yet.
2261.1Sjdolecekpseudo-device	rnd			# /dev/random and in-kernel generator
2271.1Sjdolecek#options 	RND_COM			# use "com" randomness as well (BROKEN)
2281.13Slukempseudo-device	clockctl		# user control of clock subsystem
2291.32Shannkenpseudo-device	fss		4	# file system snapshot device
230