11.82Schristos#	$NetBSD: GENERIC_PS2TINY,v 1.82 2024/01/29 18:27:13 christos 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 	USER_LDT	# user-settable LDT; used by WINE
201.1Sjdolecek
211.1Sjdolecek# delay between "rebooting ..." message and hardware reset, in milliseconds
221.1Sjdolecek#options 	CPURESET_DELAY=2000
231.1Sjdolecek
241.1Sjdolecek# This option allows you to force a serial console at the specified
251.1Sjdolecek# I/O address.   see console(4) for details.
261.6Slukem#options 	CONSDEVNAME="\"com\"",CONADDR=0x2f8,CONSPEED=57600
271.1Sjdolecek#	you don't want the option below ON iff you are using the
281.1Sjdolecek#	serial console option of the new boot strap code.
291.1Sjdolecek#options 	CONS_OVERRIDE	# Always use above! independent of boot info
301.1Sjdolecek
311.1Sjdolecek# The following options override the memory sizes passed in from the boot
321.1Sjdolecek# block.  Use them *only* if the boot block is unable to determine the correct
331.1Sjdolecek# values.  Note that the BIOS may *correctly* report less than 640k of base
341.1Sjdolecek# memory if the extended BIOS data area is located at the top of base memory
351.1Sjdolecek# (as is the case on most recent systems).
361.1Sjdolecek#options 	REALBASEMEM=639		# size of base memory (in KB)
371.1Sjdolecek#options 	REALEXTMEM=15360	# size of extended memory (in KB)
381.1Sjdolecek
391.1Sjdolecek# Standard system options
401.1Sjdolecek
411.16Sgrantoptions 	INSECURE	# disable kernel security levels - X needs this
421.1Sjdolecek
431.4Senamioptions 	RTC_OFFSET=-600 # hardware clock is this many mins. west of GMT
441.1Sjdolecekoptions 	NTP		# NTP phase/frequency locked loop
451.1Sjdolecek
461.6Slukem#options 	KTRACE		# system call tracing via ktrace(1)
471.1Sjdolecek
481.1Sjdolecekoptions 	SYSVMSG		# System V-like message queues
491.1Sjdolecekoptions 	SYSVSEM		# System V-like semaphores
501.1Sjdolecekoptions 	SYSVSHM		# System V-like memory sharing
511.10Sjdolecek
521.18Slukemoptions 	USERCONF	# userconf(4) support
531.25Slukem#options 	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
541.30Satatat#options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
551.1Sjdolecek
561.1Sjdolecek# Diagnostic/debugging support options
571.73Sdholland#options 	DIAGNOSTIC	# inexpensive kernel consistency checks
581.6Slukem#options 	DEBUG		# expensive debugging checks/support
591.6Slukemoptions 	DDB		# in-kernel debugger
601.75Suebayasipseudo-device	ksyms
611.72Sszptvlfn#options 	DDB_ONPANIC=1	# see also sysctl(7): `ddb.onpanic'
621.1Sjdolecekoptions 	DDB_HISTORY_SIZE=512	# enable history editing in DDB
631.1Sjdolecek#options 	KGDB		# remote debugger
641.5Slukem#options 	KGDB_DEVNAME="\"com\"",KGDB_DEVADDR=0x3f8,KGDB_DEVRATE=9600
651.62Sryo#makeoptions	DEBUG="-g"	# compile full symbol table
661.62Sryomakeoptions	COPTS="-Os"	# generates smaller code than -O2, -O1
671.56Stronmakeoptions	USE_SSP="no"
681.1Sjdolecek
691.1Sjdolecek# File systems
701.59Sdhollandfile-system	FFS		# UFS
711.59Sdholland#file-system	EXT2FS		# second extended file system (linux)
721.59Sdholland#file-system	LFS		# log-structured file system
731.59Sdholland#file-system	MFS		# memory file system
741.59Sdhollandfile-system	NFS		# Network File System client
751.59Sdholland#file-system	NTFS		# Windows/NT file system (experimental)
761.59Sdhollandfile-system	CD9660		# ISO 9660 + Rock Ridge file system
771.59Sdhollandfile-system	MSDOSFS		# MS-DOS file system
781.59Sdholland#file-system	FDESC		# /dev/fd
791.59Sdhollandfile-system	KERNFS		# /kern
801.59Sdholland#file-system	NULLFS		# loopback file system
811.59Sdholland#file-system	OVERLAY		# overlay file system
821.59Sdholland#file-system	PROCFS		# /proc
831.59Sdholland#file-system	UMAPFS		# NULLFS + uid and gid remapping
841.59Sdholland#file-system	UNION		# union file system
851.59Sdholland#file-system	CODA		# Coda File System; also needs vcoda (below)
861.1Sjdolecek
871.1Sjdolecek# File system options
881.1Sjdolecekoptions 	QUOTA		# UFS quotas
891.79Srin#options 	DISKLABEL_EI	# disklabel Endian Independent support
901.1Sjdolecek#options 	FFS_EI		# FFS Endian Independent support
911.64Sdhollandoptions 	WAPBL		# File system journaling support
921.39Stsutsuioptions 	FFS_NO_SNAPSHOT	# No FFS snapshot support
931.1Sjdolecek#options 	NFSSERVER	# Network File System server
941.1Sjdolecek# Networking options
951.1Sjdolecek#options 	GATEWAY		# packet forwarding
961.1Sjdolecekoptions 	INET		# IP + ICMP + TCP + UDP
971.58Sdhollandoptions 	INET6		# IPv6
981.1Sjdolecek#options 	IPSEC		# IP security
991.1Sjdolecek#options 	IPSEC_DEBUG	# debug for IP security
1001.1Sjdolecek#options 	MROUTING	# IP multicast routing
1011.31Smanu#options 	PIM		# Protocol Independent Multicast
1021.1Sjdolecek#options 	NETATALK	# AppleTalk networking protocols
1031.1Sjdolecek#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
1041.1Sjdolecek#options 	PPP_DEFLATE	# Deflate compression support for PPP
1051.1Sjdolecek#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
1061.1Sjdolecek#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
1071.1Sjdolecek
1081.28Sabs#options 	ALTQ		# Manipulate network interfaces' output queues
1091.28Sabs#options 	ALTQ_BLUE	# Stochastic Fair Blue
1101.28Sabs#options 	ALTQ_CBQ	# Class-Based Queueing
1111.28Sabs#options 	ALTQ_CDNR	# Diffserv Traffic Conditioner
1121.28Sabs#options 	ALTQ_FIFOQ	# First-In First-Out Queue
1131.28Sabs#options 	ALTQ_FLOWVALVE	# RED/flow-valve (red-penalty-box)
1141.28Sabs#options 	ALTQ_HFSC	# Hierarchical Fair Service Curve
1151.28Sabs#options 	ALTQ_LOCALQ	# Local queueing discipline
1161.28Sabs#options 	ALTQ_PRIQ	# Priority Queueing
1171.28Sabs#options 	ALTQ_RED	# Random Early Detection
1181.28Sabs#options 	ALTQ_RIO	# RED with IN/OUT
1191.28Sabs#options 	ALTQ_WFQ	# Weighted Fair Queueing
1201.28Sabs
1211.1Sjdolecek# These options enable verbose messages for several subsystems.
1221.1Sjdolecek# Warning, these may compile large string tables into the kernel!
1231.1Sjdolecek#options 	EISAVERBOSE	# verbose EISA device autoconfig messages
1241.1Sjdolecek#options 	MIIVERBOSE	# verbose PHY autoconfig messages
1251.1Sjdolecek#options 	PCIVERBOSE	# verbose PCI device autoconfig messages
1261.1Sjdolecek#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
1271.1Sjdolecek#options 	PCMCIAVERBOSE	# verbose PCMCIA configuration messages
1281.1Sjdolecek#options 	SCSIVERBOSE	# human readable SCSI error messages
1291.1Sjdolecek#options 	USBVERBOSE	# verbose USB device autoconfig messages
1301.1Sjdolecek#options 	PNPBIOSVERBOSE	# verbose PnP BIOS messages
1311.4Senami#options 	PNPBIOSDEBUG	# more fulsome PnP BIOS debugging messages
1321.6Slukemoptions 	MCAVERBOSE	# verbose MCA device autoconfig messages
1331.1Sjdolecek
1341.4Senamioptions 	NFS_BOOT_DHCP,NFS_BOOT_BOOTPARAM
1351.1Sjdolecek
1361.1Sjdolecek# Kernel root file system and dump configuration.
1371.6Slukemconfig		netbsd root on ? type ?
1381.6Slukem#config		netbsd root on ? type nfs
1391.6Slukem#config		netbsd root on ed0a type ffs
1401.1Sjdolecek
1411.1Sjdolecek#
1421.1Sjdolecek# Device Configuration
1431.1Sjdolecek#
1441.1Sjdolecek
1451.1Sjdolecekmca0	at mainbus0
1461.1Sjdolecekisa0	at mainbus0
1471.1Sjdolecek
1481.1Sjdolecek# wscons
1491.58Sdhollandpckbc0		at isa?			# PC keyboard controller
1501.4Senamioptions 	PCKBCDEBUG
1511.1Sjdolecek#pcconskbd*	at pckbc?
1521.1Sjdolecek#pms*		at pckbc?		# PS/2 mouse for wsmouse
1531.1Sjdolecek#wsmouse*	at pms?
1541.6Slukempckbd*		at pckbc?		# PC keyboard
1551.1Sjdolecekwskbd*		at pckbd? console ?
1561.1Sjdolecekvga0		at isa?
1571.1Sjdolecekwsdisplay*	at vga? console ?
1581.66Sabs
1591.66Sabsoptions 	WSEMUL_VT100	# VT100 / VT220 emulation
1601.66Sabsoptions 	WSDISPLAY_COMPAT_USL		# wsconscfg VT handling
1611.66Sabsoptions 	WS_KERNEL_FG=WSCOL_GREEN
1621.4Senamioptions 	WSDISPLAY_DEFAULTSCREENS=4
1631.1Sjdolecek
1641.1Sjdolecekcom0	at isa? port 0x3f8 irq 4	# "SERIAL_!"
1651.1Sjdoleceklpt0	at isa? port 0x3bc irq 7	# "PARALLEL_1"
1661.1Sjdolecekfdc0	at isa? port 0x3f0 irq 6 drq 2	# standard PC floppy controllers
1671.1Sjdolecekfd*	at fdc? drive ?			# the drives themselves
1681.1Sjdolecek
1691.1Sjdolecek# MCA serial interfaces
1701.1Sjdolecekcom*	at mca? slot ?			# 16x50s on comm boards
1711.1Sjdolecek
1721.1Sjdolecek# MCA network devices
1731.1Sjdolecekelmc*	at mca? slot ?			# 3Com EtherLink/MC (3c523)
1741.1Sjdolecekep*	at mca? slot ?			# 3Com EtherLink III (3c529)
1751.1Sjdolecekwe*	at mca? slot ?			# WD/SMC Ethernet
1761.1Sjdolecekate*	at mca? slot ?			# Allied Telesis AT1720
1771.1Sjdolecekne*	at mca? slot ?			# Novell NE/2 and clones
1781.35Sjdolecektra*	at mca? slot ?			# Tiara LANCard/E and clones
1791.1Sjdolecekle*	at mca? slot ?			# SKNET Personal/MC2+
1801.1Sjdolecek
1811.1Sjdolecek# MCA ESDI controllers & disks
1821.1Sjdolecekedc*	at mca? slot ?			# IBM ESDI Disk Controllers
1831.7Sjdoleceked*	at edc? drive ?
1841.1Sjdolecek
1851.1Sjdolecek# MCA SCSI controllers
1861.1Sjdolecekaha*	at mca? slot ?			# Adaptec AHA-1640
1871.8Sjdolecekesp*	at mca? slot ?			# NCR 53C90
1881.1Sjdolecek
1891.1Sjdolecek# SCSI bus support
1901.14Slukemscsibus* at scsi?
1911.1Sjdolecek
1921.1Sjdolecek# SCSI devices
1931.1Sjdoleceksd*	at scsibus? target ? lun ?	# SCSI disk drives
1941.1Sjdolecek#st*	at scsibus? target ? lun ?	# SCSI tape drives
1951.1Sjdolecekcd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives
1961.1Sjdolecek#ch*	at scsibus? target ? lun ?	# SCSI autochangers
1971.1Sjdolecek#ses*	at scsibus? target ? lun ?	# SCSI Enclosure Services devices
1981.1Sjdolecek#ss*	at scsibus? target ? lun ?	# SCSI scanners
1991.1Sjdolecek#uk*	at scsibus? target ? lun ?	# SCSI unknown
2001.1Sjdolecek
2011.1Sjdolecek# network pseudo-devices
2021.40Scubepseudo-device	bpfilter		# Berkeley packet filter
2031.9Smartinpseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
2041.3Satatatpseudo-device	bridge			# simple inter-network bridging
2051.1Sjdolecekpseudo-device	loop			# network loopback
2061.1Sjdolecek
2071.1Sjdolecek# miscellaneous pseudo-devices
2081.1Sjdolecekpseudo-device	pty			# pseudo-terminals
2091.61Shannkenpseudo-device	md			# memory disk device (ramdisk)
2101.1Sjdolecek# rnd works; RND_COM does not on port i386 yet.
2111.1Sjdolecek#options 	RND_COM			# use "com" randomness as well (BROKEN)
2121.13Slukempseudo-device	clockctl		# user control of clock subsystem
2131.60Spookapseudo-device	fss			# file system snapshot device
214