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