GENERIC revision 1.30
1# $NetBSD: GENERIC,v 1.30 2014/08/23 20:26:59 dholland Exp $
2#
3# GENERIC machine description file
4# 
5# This machine description file is used to generate the default NetBSD
6# kernel.  The generic kernel does not include all options, subsystems
7# and device drivers, but should be useful for most applications.
8#
9# The machine description file can be customised for your specific
10# machine to reduce the kernel size and improve its performance.
11#
12# For further information on compiling NetBSD kernels, see the config(8)
13# man page.
14#
15# For further information on hardware support for this architecture, see
16# the intro(4) man page.  For further information about kernel options
17# for this architecture, see the options(4) man page.  For an explanation
18# of each device driver in this file see the section 4 man page for the
19# device.
20
21include 	"arch/rs6000/conf/std.rs6000"
22
23options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
24
25#makeoptions	COPTS="-O2 -mno-powerpc -mno-power"	# wheeee
26
27#ident		"GENERIC-$Revision: 1.30 $"
28
29maxusers	32
30
31# Platform support
32
33options		PIC_IOCC
34
35# Standard system options
36
37options 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
38options 	NTP		# NTP phase/frequency locked loop
39
40options 	KTRACE		# system call tracing via ktrace(1)
41
42options 	SYSVMSG		# System V-like message queues
43options 	SYSVSEM		# System V-like semaphores
44#options 	SEMMNI=10	# number of semaphore identifiers
45#options 	SEMMNS=60	# number of semaphores in system
46#options 	SEMUME=10	# max number of undo entries per process
47#options 	SEMMNU=30	# number of undo structures in system
48options 	SYSVSHM		# System V-like memory sharing
49
50options 	USERCONF	# userconf(4) support
51#options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
52options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
53
54# Enable experimental buffer queue strategy for better responsiveness under 
55# high disk I/O load. Use it with caution - it's not proven to be stable yet.
56#options 	BUFQ_READPRIO
57#options 	BUFQ_PRIOCSCAN
58
59# Diagnostic/debugging support options
60#options 	DIAGNOSTIC	# cheap kernel consistency checks
61options 	DEBUG		# expensive debugging checks/support
62options		PMAPDEBUG
63#options 	KMEMSTATS	# kernel memory statistics (vmstat -m)
64options 	DDB		# in-kernel debugger
65#options 	DDB_HISTORY_SIZE=100	# Enable history editing in DDB
66#makeoptions	DEBUG="-g"
67
68# Compatibility options
69#options 	COMPAT_13	# NetBSD 1.3,
70#options 	COMPAT_14	# NetBSD 1.4,
71#options 	COMPAT_15	# NetBSD 1.5,
72#options 	COMPAT_16	# NetBSD 1.6,
73#options 	COMPAT_20	# NetBSD 2.0,
74#options 	COMPAT_30	# NetBSD 3.0,
75#options 	COMPAT_40	# NetBSD 4.0,
76options 	COMPAT_50	# NetBSD 5.0,
77options 	COMPAT_60	# NetBSD 6.0, and
78options 	COMPAT_70	# NetBSD 7.0 binary compatibility.
79options 	COMPAT_43	# and 4.3BSD
80#options 	COMPAT_LINUX	# Linux binary compatibility
81#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
82options		COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
83
84# File systems
85file-system 	FFS		# UFS
86file-system	EXT2FS		# second extended file system (linux)
87#file-system	LFS		# log-structured file system
88file-system 	MFS		# memory file system
89file-system 	NFS		# Network File System client
90#file-system	NTFS		# Windows/NT file system (experimental)
91file-system 	CD9660		# ISO 9660 + Rock Ridge file system
92file-system 	MSDOSFS		# MS-DOS file system
93#file-system 	FDESC		# /dev/fd
94file-system 	KERNFS		# /kern
95file-system 	NULLFS		# loopback file system
96#file-system	OVERLAY		# overlay file system
97file-system 	PROCFS		# /proc
98#file-system 	UMAPFS		# NULLFS + uid and gid remapping
99file-system 	UNION		# union file system
100#file-system	CODA		# Coda File System; also needs vcoda (below)
101file-system	PTYFS		# /dev/pts/N support
102file-system	TMPFS		# Efficient memory file-system
103#file-system	UDF		# experimental - OSTA UDF CD/DVD file-system
104
105# File system options
106options 	QUOTA		# legacy UFS quotas
107options 	QUOTA2		# new, in-filesystem UFS quotas
108#options 	FFS_EI		# FFS Endian Independent support
109options 	WAPBL		# File system journaling support
110#options	UFS_DIRHASH	# UFS Large Directory Hashing - Experimental
111options 	NFSSERVER	# Network File System server
112#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
113#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
114 				# immutable) behave as system flags.
115
116# Networking options
117#options 	GATEWAY		# packet forwarding
118options 	INET		# IP + ICMP + TCP + UDP
119options 	INET6		# IPv6
120#options 	IPSEC		# IP security
121#options 	IPSEC_DEBUG	# debug for IP security
122#options 	MROUTING	# IP multicast routing
123#options 	PIM		# Protocol Independent Multicast
124#options 	NETATALK	# AppleTalk networking protocols
125options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
126options 	PPP_DEFLATE	# Deflate compression support for PPP
127options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
128options 	IPFILTER_LOG	# ipmon(8) log support
129options 	IPFILTER_COMPAT # Compat for IP-Filter
130#options 	IPFILTER_DEFAULT_BLOCK	# block all packets by default
131#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
132
133#options 	ALTQ		# Manipulate network interfaces' output queues
134#options 	ALTQ_BLUE	# Stochastic Fair Blue
135#options 	ALTQ_CBQ	# Class-Based Queueing
136#options 	ALTQ_CDNR	# Diffserv Traffic Conditioner
137#options 	ALTQ_FIFOQ	# First-In First-Out Queue
138#options 	ALTQ_FLOWVALVE	# RED/flow-valve (red-penalty-box)
139#options 	ALTQ_HFSC	# Hierarchical Fair Service Curve
140#options 	ALTQ_LOCALQ	# Local queueing discipline
141#options 	ALTQ_PRIQ	# Priority Queueing
142#options 	ALTQ_RED	# Random Early Detection
143#options 	ALTQ_RIO	# RED with IN/OUT
144#options 	ALTQ_WFQ	# Weighted Fair Queueing
145
146# These options enable verbose messages for several subsystems.
147# Warning, these may compile large string tables into the kernel!
148#options 	MIIVERBOSE	# verbose PHY autoconfig messages
149options 	SCSIVERBOSE	# human readable SCSI error messages
150options		MCAVERBOSE	# verbose MCA device autoconfig messages
151
152#options 	NFS_BOOT_BOOTP
153options 	NFS_BOOT_BOOTPARAM
154options 	NFS_BOOT_DHCP
155
156#
157# wscons options
158#
159# builtin terminal emulations
160options 	WSEMUL_VT100		# VT100 / VT220 emulation
161options 	WSDISPLAY_COMPAT_USL		# wsconscfg VT handling
162# different kernel output - see dev/wscons/wsdisplayvar.h
163options 	WS_KERNEL_FG=WSCOL_GREEN
164#options 	WS_KERNEL_BG=WSCOL_BLACK
165# see dev/pckbport/wskbdmap_mfii.c for implemented layouts
166#options 	PCKBD_LAYOUT="(KB_DE | KB_NODEAD)"
167# allocate a number of virtual screens at autoconfiguration time
168#options 	WSDISPLAY_DEFAULTSCREENS=4
169# use a large software cursor that doesn't blink
170options 	PCDISPLAY_SOFTCURSOR
171
172# Kernel root file system and dump configuration.
173config	netbsd	root on ? type ?
174#config	netbsd	root on tlp0 type nfs
175#config	netbsd	root on pcn0 type nfs
176
177
178#
179# Device configuration
180#
181
182mainbus0 at root
183cpu0	at mainbus0
184mca0	at mainbus0
185
186com*	at mca? slot ?
187
188# I/O Planar
189ioplanar* at mca? slot ?
190
191# I/O Planar devices
192com* at ioplanar?
193
194# Basic Bus Support
195
196# SCSI devices
197#sd*	at scsibus? target ? lun ?	# SCSI disk drives
198#st*	at scsibus? target ? lun ?	# SCSI tape drives
199#cd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives
200#ch*	at scsibus? target ? lun ?	# SCSI autochangers
201#ss*	at scsibus? target ? lun ?	# SCSI scanners
202#uk*	at scsibus? target ? lun ?	# SCSI unknown
203
204# Pull in optional local configuration
205cinclude "arch/rs6000/conf/GENERIC.local"
206
207# Pseudo-Devices
208
209# Not yet ready -- prep lacks generic soft interrupts
210#pseudo-device 	crypto		# /dev/crypto device
211#pseudo-device	swcrypto	# software crypto implementation
212
213# disk/mass storage pseudo-devices
214#pseudo-device	ccd			# concatenated/striped disk devices
215#pseudo-device	cgd			# cryptographic disk devices
216#pseudo-device	raid			# RAIDframe disk driver
217#options 	RAID_AUTOCONFIG		# auto-configuration of RAID components
218# Options to enable various other RAIDframe RAID types.
219# options	RF_INCLUDE_EVENODD=1
220# options	RF_INCLUDE_RAID5_RS=1
221# options	RF_INCLUDE_PARITYLOGGING=1
222# options	RF_INCLUDE_CHAINDECLUSTER=1
223# options	RF_INCLUDE_INTERDECLUSTER=1
224# options 	RF_INCLUDE_PARITY_DECLUSTERING=1
225# options	RF_INCLUDE_PARITY_DECLUSTERING_DS=1
226pseudo-device	fss			# file system snapshot device
227pseudo-device	md			# memory disk device (ramdisk)
228pseudo-device	vnd			# disk-like interface to files
229#options 	VND_COMPRESSION		# compressed vnd(4)
230
231# network pseudo-devices
232pseudo-device	loop			# network loopback
233pseudo-device	bpfilter		# Berkeley packet filter
234#pseudo-device	carp			# Common Address Redundancy Protocol
235pseudo-device	ipfilter		# IP filter (firewall) and NAT
236pseudo-device	ppp			# Point-to-Point Protocol
237pseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
238#pseudo-device	sl			# Serial Line IP
239pseudo-device	strip			# Starmode Radio IP (Metricom)
240pseudo-device	tun			# network tunneling over tty
241pseudo-device	tap			# virtual Ethernet
242pseudo-device	gre			# generic L3 over IP tunnel
243pseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC1933)
244#pseudo-device	faith			# IPv[46] tcp relay translation i/f
245pseudo-device	stf			# 6to4 IPv6 over IPv4 encapsulation
246pseudo-device	vlan			# IEEE 802.1q encapsulation
247pseudo-device	bridge			# simple inter-network bridging
248#options	BRIDGE_IPF		# bridge uses IP/IPv6 pfil hooks too
249
250#
251# accept filters
252pseudo-device   accf_data		# "dataready" accept filter
253pseudo-device   accf_http		# "httpready" accept filter
254
255# miscellaneous pseudo-devices
256pseudo-device	pty			# pseudo-terminals
257#pseudo-device	sequencer		# MIDI sequencer
258#options 	RND_COM			# use "com" randomness as well
259pseudo-device	clockctl		# user control of clock subsystem
260pseudo-device	ksyms			# /dev/ksyms
261#pseudo-device	pf			# PF packet filter
262#pseudo-device	pflog			# PF log if
263
264# a pseudo device needed for Coda	# also needs CODA (above)
265#pseudo-device	vcoda			# coda minicache <-> venus comm.
266
267# wscons pseudo-devices
268pseudo-device	wsmux			# mouse & keyboard multiplexor
269pseudo-device	wsfont
270
271# Veriexec
272#options VERIFIED_EXEC
273#
274# a pseudo device needed for veriexec
275#pseudo-device	veriexec
276#
277# Uncomment the fingerprint methods below that are desired. Note that
278# removing fingerprint methods will have almost no impact on the kernel
279# code size.
280#
281#options VERIFIED_EXEC_FP_RMD160
282#options VERIFIED_EXEC_FP_SHA256
283#options VERIFIED_EXEC_FP_SHA384
284#options VERIFIED_EXEC_FP_SHA512
285#options VERIFIED_EXEC_FP_SHA1
286#options VERIFIED_EXEC_FP_MD5
287