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