GENERIC_PS2TINY revision 1.34
1#	$NetBSD: GENERIC_PS2TINY,v 1.34 2005/02/18 21:05:52 dsl Exp $
2#
3#	GENERIC-style kernel config for IBM PS/2 with MCA bus. It only contains
4#	IBM PS/2 related stuff and has been generally trimmed down somewhat,
5#	so that the kernel is small enough to be usable for 4MB machines. This
6#	configuration is also used for INSTALL_PS2 kernels.
7#
8#	BEWARE:
9#	 MCA support in NetBSD is still experimental at this
10#	 stage and should be used with caution.
11
12include "arch/i386/conf/std.i386"
13
14#options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
15
16maxusers	16		# estimated number of users
17
18# CPU support.  At least one is REQUIRED.
19options 	I386_CPU
20options 	I486_CPU
21options 	I586_CPU
22#options 	I686_CPU
23
24# CPU-related options.
25options 	MATH_EMULATE	# floating point emulation
26options 	VM86		# virtual 8086 emulation
27options 	USER_LDT	# user-settable LDT; used by WINE
28
29# delay between "rebooting ..." message and hardware reset, in milliseconds
30#options 	CPURESET_DELAY=2000
31
32# This option allows you to force a serial console at the specified
33# I/O address.   see console(4) for details.
34#options 	CONSDEVNAME="\"com\"",CONADDR=0x2f8,CONSPEED=57600
35#	you don't want the option below ON iff you are using the
36#	serial console option of the new boot strap code.
37#options 	CONS_OVERRIDE	# Always use above! independent of boot info
38
39# The following options override the memory sizes passed in from the boot
40# block.  Use them *only* if the boot block is unable to determine the correct
41# values.  Note that the BIOS may *correctly* report less than 640k of base
42# memory if the extended BIOS data area is located at the top of base memory
43# (as is the case on most recent systems).
44#options 	REALBASEMEM=639		# size of base memory (in KB)
45#options 	REALEXTMEM=15360	# size of extended memory (in KB)
46
47# Standard system options
48
49options 	INSECURE	# disable kernel security levels - X needs this
50
51options 	RTC_OFFSET=-600 # hardware clock is this many mins. west of GMT
52options 	NTP		# NTP phase/frequency locked loop
53
54#options 	KTRACE		# system call tracing via ktrace(1)
55
56options 	SYSVMSG		# System V-like message queues
57options 	SYSVSEM		# System V-like semaphores
58#options 	SEMMNI=10	# number of semaphore identifiers
59#options 	SEMMNS=60	# number of semaphores in system
60#options 	SEMUME=10	# max number of undo entries per process
61#options 	SEMMNU=30	# number of undo structures in system
62options 	SYSVSHM		# System V-like memory sharing
63#options 	SHMMAXPGS=2048	# 2048 pages is the default
64options 	P1003_1B_SEMAPHORE # p1003.1b semaphore support
65
66options 	LKM		# loadable kernel modules
67
68options 	USERCONF	# userconf(4) support
69#options 	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
70#options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
71
72# Diagnostic/debugging support options
73#options 	DIAGNOSTIC	# expensive kernel consistency checks
74#options 	DEBUG		# expensive debugging checks/support
75#options 	KMEMSTATS	# kernel memory statistics (vmstat -m)
76options 	DDB		# in-kernel debugger
77#options 	DDB_ONPANIC=1	# see also sysctl(8): `ddb.onpanic'
78options 	DDB_HISTORY_SIZE=512	# enable history editing in DDB
79#options 	KGDB		# remote debugger
80#options 	KGDB_DEVNAME="\"com\"",KGDB_DEVADDR=0x3f8,KGDB_DEVRATE=9600
81#makeoptions	DEBUG="-g"	# compile full symbol table
82makeoptions	COPTS="-Os"	# generates smaller code than -O2, -O1
83
84# File systems
85file-system 	FFS		# UFS
86#file-system 	EXT2FS		# second extended file system (linux)
87#file-system 	LFS		# log-structured file system
88#file-system 	MFS		# memory file system
89file-system 	NFS		# Network File System client
90#file-system 	NTFS		# Windows/NT file system (experimental)
91file-system 	CD9660		# ISO 9660 + Rock Ridge file system
92file-system 	MSDOSFS		# MS-DOS file system
93#file-system 	FDESC		# /dev/fd
94file-system 	KERNFS		# /kern
95#file-system 	NULLFS		# loopback file system
96#file-system 	OVERLAY		# overlay file system
97#file-system 	PORTAL		# portal filesystem (still experimental)
98#file-system 	PROCFS		# /proc
99#file-system 	UMAPFS		# NULLFS + uid and gid remapping
100#file-system 	UNION		# union file system
101#file-system	CODA		# Coda File System; also needs vcoda (below)
102
103# File system options
104options 	QUOTA		# UFS quotas
105#options 	FFS_EI		# FFS Endian Independent support
106options 	SOFTDEP		# FFS soft updates support.
107options 	FFS_NO_SNAPSHOT	# ffs snapshots
108#options 	NFSSERVER	# Network File System server
109#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
110				# immutable) behave as system flags.
111# Networking options
112#options 	GATEWAY		# packet forwarding
113options 	INET		# IP + ICMP + TCP + UDP
114options 	INET6		# IPV6
115#options 	IPSEC		# IP security
116#options 	IPSEC_ESP	# IP security (encryption part; define w/IPSEC)
117#options 	IPSEC_DEBUG	# debug for IP security
118#options 	MROUTING	# IP multicast routing
119#options 	PIM		# Protocol Independent Multicast
120#options 	NS		# XNS
121#options 	NSIP		# XNS tunneling over IP
122#options 	ISO,TPIP	# OSI
123#options 	EON		# OSI tunneling over IP
124#options 	CCITT,LLC,HDLC	# X.25
125#options 	NETATALK	# AppleTalk networking protocols
126#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
127#options 	PPP_DEFLATE	# Deflate compression support for PPP
128#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
129#options 	PFIL_HOOKS	# pfil(9) packet filter hooks
130#options 	IPFILTER_LOG	# ipmon(8) log support
131#options 	IPFILTER_DEFAULT_BLOCK	# block all packets by default
132#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
133
134#options 	ALTQ		# Manipulate network interfaces' output queues
135#options 	ALTQ_BLUE	# Stochastic Fair Blue
136#options 	ALTQ_CBQ	# Class-Based Queueing
137#options 	ALTQ_CDNR	# Diffserv Traffic Conditioner
138#options 	ALTQ_FIFOQ	# First-In First-Out Queue
139#options 	ALTQ_FLOWVALVE	# RED/flow-valve (red-penalty-box)
140#options 	ALTQ_HFSC	# Hierarchical Fair Service Curve
141#options 	ALTQ_LOCALQ	# Local queueing discipline
142#options 	ALTQ_PRIQ	# Priority Queueing
143#options 	ALTQ_RED	# Random Early Detection
144#options 	ALTQ_RIO	# RED with IN/OUT
145#options 	ALTQ_WFQ	# Weighted Fair Queueing
146
147# These options enable verbose messages for several subsystems.
148# Warning, these may compile large string tables into the kernel!
149#options 	EISAVERBOSE	# verbose EISA device autoconfig messages
150#options 	MIIVERBOSE	# verbose PHY autoconfig messages
151#options 	PCIVERBOSE	# verbose PCI device autoconfig messages
152#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
153#options 	PCMCIAVERBOSE	# verbose PCMCIA configuration messages
154#options 	SCSIVERBOSE	# human readable SCSI error messages
155#options 	USBVERBOSE	# verbose USB device autoconfig messages
156#options 	PNPBIOSVERBOSE	# verbose PnP BIOS messages
157#options 	PNPBIOSDEBUG	# more fulsome PnP BIOS debugging messages
158#options 	I2OVERBOSE	# verbose I2O driver messages
159options 	MCAVERBOSE	# verbose MCA device autoconfig messages
160
161options 	NFS_BOOT_DHCP,NFS_BOOT_BOOTPARAM
162
163options 	WSEMUL_VT100	# VT100 / VT220 emulation
164options 	WS_KERNEL_FG=WSCOL_GREEN
165
166# Kernel root file system and dump configuration.
167config		netbsd root on ? type ?
168#config		netbsd root on ? type nfs
169#config		netbsd root on ed0a type ffs
170
171#
172# Device Configuration
173#
174
175mainbus0 at root
176cpu0	at mainbus0
177mca0	at mainbus0
178isa0	at mainbus0
179
180#npx0	at isa? port 0xf0 irq 13	# x86 math coprocessor
181
182#pc0	at isa? port 0x60 irq 1
183
184# wscons
185pckbc0		at isa?			# pc keyboard controller
186options 	PCKBCDEBUG
187#pcconskbd*	at pckbc?
188#pms*		at pckbc?		# PS/2 mouse for wsmouse
189#wsmouse*	at pms?
190pckbd*		at pckbc?		# PC keyboard
191wskbd*		at pckbd? console ?
192vga0		at isa?
193wsdisplay*	at vga? console ?
194options 	WSDISPLAY_DEFAULTSCREENS=4
195
196com0	at isa? port 0x3f8 irq 4	# "SERIAL_!"
197lpt0	at isa? port 0x3bc irq 7	# "PARALLEL_1"
198fdc0	at isa? port 0x3f0 irq 6 drq 2	# standard PC floppy controllers
199fd*	at fdc? drive ?			# the drives themselves
200
201# MCA serial interfaces
202com*	at mca? slot ?			# 16x50s on comm boards
203
204# MCA network devices
205elmc*	at mca? slot ?			# 3Com EtherLink/MC (3c523)
206ep*	at mca? slot ?			# 3Com EtherLink III (3c529)
207we*	at mca? slot ?			# WD/SMC Ethernet
208ate*	at mca? slot ?			# Allied Telesis AT1720
209ne*	at mca? slot ?			# Novell NE/2 and clones
210tr*	at mca? slot ?			# IBM Token Ring adapter
211le*	at mca? slot ?			# SKNET Personal/MC2+
212
213# MCA ESDI controllers & disks
214edc*	at mca? slot ?			# IBM ESDI Disk Controllers
215ed*	at edc? drive ?
216
217# MCA SCSI controllers
218aha*	at mca? slot ?			# Adaptec AHA-1640
219esp*	at mca? slot ?			# NCR 53C90
220
221# SCSI bus support
222scsibus* at scsi?
223
224# SCSI devices
225sd*	at scsibus? target ? lun ?	# SCSI disk drives
226#st*	at scsibus? target ? lun ?	# SCSI tape drives
227cd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives
228#ch*	at scsibus? target ? lun ?	# SCSI autochangers
229#ses*	at scsibus? target ? lun ?	# SCSI Enclosure Services devices
230#ss*	at scsibus? target ? lun ?	# SCSI scanners
231#uk*	at scsibus? target ? lun ?	# SCSI unknown
232
233# network pseudo-devices
234pseudo-device	bpfilter	4	# Berkeley packet filter
235pseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
236pseudo-device	bridge			# simple inter-network bridging
237pseudo-device	loop			# network loopback
238
239# miscellaneous pseudo-devices
240pseudo-device	pty			# pseudo-terminals
241pseudo-device	md		1	# memory disk device (ramdisk)
242# rnd works; RND_COM does not on port i386 yet.
243pseudo-device	rnd			# /dev/random and in-kernel generator
244#options 	RND_COM			# use "com" randomness as well (BROKEN)
245pseudo-device	clockctl		# user control of clock subsystem
246pseudo-device	fss		4	# file system snapshot device
247