GENERIC revision 1.1
1#	$NetBSD: GENERIC,v 1.1 2000/02/29 15:21:25 nonaka Exp $
2#
3#	GENERIC config file
4#
5
6include "arch/prep/conf/std.prep"
7
8#ident		"GENERIC-$Revision: 1.1 $"
9
10maxusers	32
11
12# Standard system options
13
14options 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
15#options 	NTP		# NTP phase/frequency locked loop
16
17options 	KTRACE		# system call tracing via ktrace(1)
18
19options 	SYSVMSG		# System V-like message queues
20options 	SYSVSEM		# System V-like semaphores
21options 	SYSVSHM		# System V-like memory sharing
22#options 	SHMMAXPGS=1024	# 1024 pages is the default
23
24#options 	LKM		# loadable kernel modules
25
26# Diagnostic/debugging support options
27options 	DIAGNOSTIC	# cheap kernel consistency checks
28#options 	DEBUG		# expensive debugging checks/support
29#options 	KMEMSTATS	# kernel memory statistics (vmstat -m)
30options 	DDB		# in-kernel debugger
31#options 	DDB_HISTORY_SIZE=100    # Enable history editing in DDB
32#makeoptions	DEBUG="-g"
33
34# Compatibility options
35options 	COMPAT_13	# NetBSD 1.3,
36options 	COMPAT_14	# NetBSD 1.4,
37options 	COMPAT_43	# and 4.3BSD
38
39# File systems
40#file-system 	FFS		# UFS
41#file-system	EXT2FS		# second extended file system (linux)
42#file-system	LFS		# log-structured file system
43file-system 	MFS		# memory file system
44file-system 	NFS		# Network File System client
45#file-system	NTFS		# Windows/NT file system (experimental)
46#file-system 	CD9660		# ISO 9660 + Rock Ridge file system
47#file-system 	MSDOSFS		# MS-DOS file system
48#file-system 	FDESC		# /dev/fd
49file-system 	KERNFS		# /kern
50#file-system 	NULLFS		# loopback file system
51#file-system	OVERLAY		# overlay file system
52#file-system 	PORTAL		# portal filesystem (still experimental)
53file-system 	PROCFS		# /proc
54#file-system 	UMAPFS		# NULLFS + uid and gid remapping
55#file-system 	UNION		# union file system
56#file-system	CODA		# Coda File System; also needs vcoda (below)
57
58# File system options
59#options 	QUOTA		# UFS quotas
60#options 	FFS_EI		# FFS Endian Independant support
61#options 	SOFTDEP		# FFS soft updates support.
62#options 	NFSSERVER	# Network File System server
63#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
64 				# immutable) behave as system flags.
65
66# Pull in config fragments for kernel crypto.  This is required for
67# options IPSEC etc. to work. If you want to run with IPSEC, uncomment
68# one of these, based on whether you use crypto-us or crypto-intl, and
69# adjust the prefixes as necessary.
70
71#prefix ../crypto-us/sys
72#cinclude "conf/files.crypto-us"
73#prefix
74
75#prefix ../crypto-intl/sys
76#cinclude "conf/files.crypto-intl"
77#prefix
78
79# Networking options
80#options 	GATEWAY		# packet forwarding
81options 	INET		# IP + ICMP + TCP + UDP
82options 	INET6		# IPv6
83#options 	IPSEC		# IP security
84#options 	IPSEC_ESP	# IP security (encryption part; define w/IPSEC)
85#options 	IPSEC_DEBUG	# debug for IP security
86#options 	MROUTING	# IP multicast routing
87#options 	NETATALK	# AppleTalk networking protocols
88options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
89options 	PPP_DEFLATE	# Deflate compression support for PPP
90options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
91options 	PFIL_HOOKS	# pfil(9) packet filter hooks
92options 	IPFILTER_LOG	# ipmon(8) log support
93
94# Compatibility with 4.2BSD implementation of TCP/IP.  Not recommended.
95#options 	TCP_COMPAT_42
96
97# These options enable verbose messages for several subsystems.
98# Warning, these may compile large string tables into the kernel!
99options 	PCIVERBOSE	# verbose PCI device autoconfig messages
100
101options 	NFS_BOOT_BOOTP
102options 	NFS_BOOT_BOOTPARAM
103options 	NFS_BOOT_DHCP
104
105#
106# wscons options
107#
108# builtin terminal emulations
109options 	WSEMUL_VT100		# VT100 / VT220 emulation
110# different kernel output - see dev/wscons/wsdisplayvar.h
111options 	WS_KERNEL_FG=WSCOL_GREEN
112#options 	WS_KERNEL_BG=WSCOL_BLACK
113# see dev/pckbc/wskbdmap_mfii.c for implemented layouts
114#options 	PCKBD_LAYOUT="(KB_DE | KB_NODEAD)"
115# allocate a number of virtual screens at autoconfiguration time
116#options 	WSDISPLAY_DEFAULTSCREENS=4
117# use a large software cursor that doesn't blink
118options 	PCDISPLAY_SOFTCURSOR
119
120# Kernel root file system and dump configuration.
121config	netbsd	root on ? type ?
122#config	netbsd	root on ne0 type nfs
123#config	netbsd	root on ep0 type nfs
124
125#
126# Device configuration
127#
128
129mainbus0 at root
130cpu0	at mainbus0
131
132# Basic Bus Support
133
134# PCI bus support
135pci0	at mainbus0 bus ?
136pci*	at pchb? bus ?
137
138# PCI bridges
139pchb*	at pci? dev ? function ?	# PCI-Host bridges
140pcib*	at pci? dev ? function ?	# PCI-ISA bridges
141
142# ISA bus support
143isa*	at pcib?			# ISA on PCI-ISA bridge
144
145# Console Devices
146
147# ISA console.
148#pc0	at isa? port 0x60 irq 1		# generic PC console device
149
150# Keyboard layout configuration for pccons
151#options	FRENCH_KBD
152#options	FINNISH_KBD
153#options	GERMAN_KBD
154#options	NORWEGIAN_KBD
155
156# wscons
157pckbc0		at isa?			# pc keyboard controller
158pckbd*		at pckbc?		# PC keyboard
159pms*		at pckbc?		# PS/2 mouse for wsmouse
160pmsi*		at pckbc?		# PS/2 "Intelli"mouse for wsmouse
161vga*		at pci?
162wsdisplay*	at vga? console ?
163wskbd*		at pckbd? console ?
164wsmouse*	at pms? mux 0
165wsmouse*	at pmsi? mux 0
166
167pcppi0	at isa?				# PC prog. periph. interface
168isabeep0 at pcppi?			# "keyboard" beep
169
170mcclock0 at isa? port 0x70		# mc146818 and compatible
171
172# Serial Devices
173
174# ISA serial interfaces
175com0	at isa? port 0x3f8 irq 4	# standard PC serial ports
176com1	at isa? port 0x2f8 irq 3
177
178# Parallel Printer Interfaces
179
180# ISA parallel printer interfaces
181lpt0	at isa? port 0x3bc irq 7	# standard PC parallel ports
182
183# Network Interfaces
184
185# PCI network interfaces
186ep*	at pci? dev ? function ?	# 3Com 3c59x
187ne*	at pci? dev ? function ?	# NE2000-compatible Ethernet
188
189# MII/PHY support
190
191# Joysticks
192
193# ISA joysticks. Probe is a little strange; add only if you have one.
194joy0	at isa? port 0x201
195
196# Pseudo-Devices
197
198# disk/mass storage pseudo-devices
199pseudo-device	ccd		4	# concatenated/striped disk devices
200#pseudo-device	raid		4	# RAIDframe disk driver
201#options 	RAID_AUTOCONFIG		# auto-configuration of RAID components
202pseudo-device	md		1	# memory disk device (ramdisk)
203pseudo-device	vnd		4	# disk-like interface to files
204
205# network pseudo-devices
206pseudo-device	loop			# network loopback
207pseudo-device	bpfilter	8	# Berkeley packet filter
208pseudo-device	ipfilter		# IP filter (firewall) and NAT
209pseudo-device	ppp		2	# Point-to-Point Protocol
210pseudo-device	sl		2	# Serial Line IP
211pseudo-device	strip		2	# Starmode Radio IP (Metricom)
212pseudo-device	tun		2	# network tunneling over tty
213pseudo-device	gre		2	# generic L3 over IP tunnel
214pseudo-device	ipip		2	# IP Encapsulation within IP (RFC 2003)
215pseudo-device	gif		4	# IPv[46] over IPv[46] tunnel (RFC1933)
216#pseudo-device	faith		2	# IPv[46] tcp relay translation i/f
217
218# miscellaneous pseudo-devices
219pseudo-device	pty		64	# pseudo-terminals
220#pseudo-device	tb		1	# tablet line discipline
221#pseudo-device	sequencer	1	# MIDI sequencer
222#pseudo-device	rnd			# /dev/random and in-kernel generator
223#options	RND_COM			# use "com" randomness as well
224
225# a pseudo device needed for Coda	# also needs CODA (above)
226#pseudo-device	vcoda		4	# coda minicache <-> venus comm.
227
228# mouse & keyboard multiplexor pseudo-devices
229pseudo-device	wsmux		2
230