GENERIC_PS2TINY revision 1.11
1#	$NetBSD: GENERIC_PS2TINY,v 1.11 2002/04/12 08:11:02 gmcgarry 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
14maxusers	16		# estimated number of users
15
16# CPU support.  At least one is REQUIRED.
17options 	I386_CPU
18options 	I486_CPU
19options 	I586_CPU
20#options 	I686_CPU
21
22# CPU-related options.
23options 	MATH_EMULATE	# floating point emulation
24options 	VM86		# virtual 8086 emulation
25options 	USER_LDT	# user-settable LDT; used by WINE
26# eliminate delay no-ops in I/O; recommended on all but very old machines
27#options 	DUMMY_NOPS
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 	UCONSOLE	# users can use TIOCCONS (for xconsole)
50options 	INSECURE	# disable kernel security levels
51
52options 	RTC_OFFSET=-600 # hardware clock is this many mins. west of GMT
53options 	NTP		# NTP phase/frequency locked loop
54
55#options 	KTRACE		# system call tracing via ktrace(1)
56
57options 	SYSVMSG		# System V-like message queues
58options 	SYSVSEM		# System V-like semaphores
59#options 	SEMMNI=10	# number of semaphore identifiers
60#options 	SEMMNS=60	# number of semaphores in system
61#options 	SEMUME=10	# max number of undo entries per process
62#options 	SEMMNU=30	# number of undo structures in system
63options 	SYSVSHM		# System V-like memory sharing
64#options 	SHMMAXPGS=1024	# 1024 pages is the default
65
66options 	LKM		# loadable kernel modules
67
68#options 	USERCONF	# userconf(4) support
69#options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
70
71# Diagnostic/debugging support options
72#options 	DIAGNOSTIC	# expensive kernel consistency checks
73#options 	DEBUG		# expensive debugging checks/support
74#options 	KMEMSTATS	# kernel memory statistics (vmstat -m)
75options 	DDB		# in-kernel debugger
76options 	DDB_HISTORY_SIZE=512	# enable history editing in DDB
77#options 	KGDB		# remote debugger
78#options 	KGDB_DEVNAME="\"com\"",KGDB_DEVADDR=0x3f8,KGDB_DEVRATE=9600
79#makeoptions	DEBUG="-g"	# compile full symbol table
80makeoptions	COPTS="-Os"	# generates smaller code than -O2, -O1
81
82# File systems
83file-system 	FFS		# UFS
84#file-system 	EXT2FS		# second extended file system (linux)
85#file-system 	LFS		# log-structured file system
86#file-system 	MFS		# memory file system
87file-system 	NFS		# Network File System client
88#file-system 	NTFS		# Windows/NT file system (experimental)
89file-system 	CD9660		# ISO 9660 + Rock Ridge file system
90file-system 	MSDOSFS		# MS-DOS file system
91#file-system 	FDESC		# /dev/fd
92file-system 	KERNFS		# /kern
93#file-system 	NULLFS		# loopback file system
94#file-system 	OVERLAY		# overlay file system
95#file-system 	PORTAL		# portal filesystem (still experimental)
96#file-system 	PROCFS		# /proc
97#file-system 	UMAPFS		# NULLFS + uid and gid remapping
98#file-system 	UNION		# union file system
99#file-system	CODA		# Coda File System; also needs vcoda (below)
100
101# File system options
102options 	QUOTA		# UFS quotas
103#options 	FFS_EI		# FFS Endian Independent support
104options 	SOFTDEP		# FFS soft updates support.
105#options 	NFSSERVER	# Network File System server
106#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
107				# immutable) behave as system flags.
108# Networking options
109#options 	GATEWAY		# packet forwarding
110options 	INET		# IP + ICMP + TCP + UDP
111options 	INET6		# IPV6
112#options 	IPSEC		# IP security
113#options 	IPSEC_ESP	# IP security (encryption part; define w/IPSEC)
114#options 	IPSEC_DEBUG	# debug for IP security
115#options 	MROUTING	# IP multicast routing
116#options 	NS		# XNS
117#options 	NSIP		# XNS tunneling over IP
118#options 	ISO,TPIP	# OSI
119#options 	EON		# OSI tunneling over IP
120#options 	CCITT,LLC,HDLC	# X.25
121#options 	NETATALK	# AppleTalk networking protocols
122#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
123#options 	PPP_DEFLATE	# Deflate compression support for PPP
124#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
125#options 	PFIL_HOOKS	# pfil(9) packet filter hooks
126#options 	IPFILTER_LOG	# ipmon(8) log support
127#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
128
129# These options enable verbose messages for several subsystems.
130# Warning, these may compile large string tables into the kernel!
131#options 	EISAVERBOSE	# verbose EISA device autoconfig messages
132#options 	MIIVERBOSE	# verbose PHY autoconfig messages
133#options 	PCIVERBOSE	# verbose PCI device autoconfig messages
134#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
135#options 	PCMCIAVERBOSE	# verbose PCMCIA configuration messages
136#options 	SCSIVERBOSE	# human readable SCSI error messages
137#options 	USBVERBOSE	# verbose USB device autoconfig messages
138#options 	PNPBIOSVERBOSE	# verbose PnP BIOS messages
139#options 	PNPBIOSDEBUG	# more fulsome PnP BIOS debugging messages
140#options 	I2OVERBOSE	# verbose I2O driver messages
141options 	MCAVERBOSE	# verbose MCA device autoconfig messages
142
143options 	NFS_BOOT_DHCP,NFS_BOOT_BOOTPARAM
144
145options 	WSEMUL_VT100	# VT100 / VT220 emulation
146options 	WS_KERNEL_FG=WSCOL_GREEN
147
148# Kernel root file system and dump configuration.
149config		netbsd root on ? type ?
150#config		netbsd root on ? type nfs
151#config		netbsd root on ed0a type ffs
152
153#
154# Device Configuration
155#
156
157mainbus0 at root
158mca0	at mainbus0
159isa0	at mainbus0
160
161#npx0	at isa? port 0xf0 irq 13	# x86 math coprocessor
162
163#pc0	at isa? port 0x60 irq 1
164
165# wscons
166pckbc0		at isa?			# pc keyboard controller
167options 	PCKBCDEBUG
168#pcconskbd*	at pckbc?
169#pms*		at pckbc?		# PS/2 mouse for wsmouse
170#wsmouse*	at pms?
171pckbd*		at pckbc?		# PC keyboard
172wskbd*		at pckbd? console ?
173vga0		at isa?
174wsdisplay*	at vga? console ?
175options 	WSDISPLAY_DEFAULTSCREENS=4
176
177com0	at isa? port 0x3f8 irq 4	# "SERIAL_!"
178lpt0	at isa? port 0x3bc irq 7	# "PARALLEL_1"
179fdc0	at isa? port 0x3f0 irq 6 drq 2	# standard PC floppy controllers
180fd*	at fdc? drive ?			# the drives themselves
181
182# MCA serial interfaces
183com*	at mca? slot ?			# 16x50s on comm boards
184
185# MCA network devices
186elmc*	at mca? slot ?			# 3Com EtherLink/MC (3c523)
187ep*	at mca? slot ?			# 3Com EtherLink III (3c529)
188we*	at mca? slot ?			# WD/SMC Ethernet
189ate*	at mca? slot ?			# Allied Telesis AT1720
190ne*	at mca? slot ?			# Novell NE/2 and clones
191tr*	at mca? slot ?			# IBM Token Ring adapter
192le*	at mca? slot ?			# SKNET Personal/MC2+
193
194# MCA ESDI controllers & disks
195edc*	at mca? slot ?			# IBM ESDI Disk Controllers
196ed*	at edc? drive ?
197
198# MCA SCSI controllers
199aha*	at mca? slot ?			# Adaptec AHA-1640
200esp*	at mca? slot ?			# NCR 53C90
201
202# SCSI bus support
203scsibus* at aha?
204scsibus* at esp?
205
206# SCSI devices
207sd*	at scsibus? target ? lun ?	# SCSI disk drives
208#st*	at scsibus? target ? lun ?	# SCSI tape drives
209cd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives
210#ch*	at scsibus? target ? lun ?	# SCSI autochangers
211#ses*	at scsibus? target ? lun ?	# SCSI Enclosure Services devices
212#ss*	at scsibus? target ? lun ?	# SCSI scanners
213#uk*	at scsibus? target ? lun ?	# SCSI unknown
214
215# network pseudo-devices
216pseudo-device	bpfilter	4	# Berkeley packet filter
217pseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
218pseudo-device	bridge			# simple inter-network bridging
219pseudo-device	loop			# network loopback
220
221# miscellaneous pseudo-devices
222pseudo-device	pty			# pseudo-terminals
223pseudo-device	md		1	# memory disk device (ramdisk)
224# rnd works; RND_COM does not on port i386 yet.
225pseudo-device	rnd			# /dev/random and in-kernel generator
226#options 	RND_COM			# use "com" randomness as well (BROKEN)
227