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