GENERIC revision 1.39
1# $NetBSD: GENERIC,v 1.39 2018/01/23 14:47:56 sevan 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.39 $"
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# Alternate buffer queue strategies for better responsiveness under high
55# disk I/O load.
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
63options 	DDB		# in-kernel debugger
64#options 	DDB_HISTORY_SIZE=100	# Enable history editing in DDB
65#makeoptions	DEBUG="-g"
66
67# Compatibility options
68include 	"conf/compat_netbsd50.config"
69#options 	COMPAT_LINUX	# Linux binary compatibility
70
71# File systems
72file-system 	FFS		# UFS
73file-system	EXT2FS		# second extended file system (linux)
74#file-system	LFS		# log-structured file system
75file-system 	MFS		# memory file system
76file-system 	NFS		# Network File System client
77#file-system	NTFS		# Windows/NT file system (experimental)
78file-system 	CD9660		# ISO 9660 + Rock Ridge file system
79file-system 	MSDOSFS		# MS-DOS file system
80#file-system 	FDESC		# /dev/fd
81file-system 	KERNFS		# /kern
82file-system 	NULLFS		# loopback file system
83#file-system	OVERLAY		# overlay file system
84file-system 	PROCFS		# /proc
85#file-system 	UMAPFS		# NULLFS + uid and gid remapping
86file-system 	UNION		# union file system
87#file-system	CODA		# Coda File System; also needs vcoda (below)
88file-system	PTYFS		# /dev/pts/N support
89file-system	TMPFS		# Efficient memory file-system
90#file-system	UDF		# experimental - OSTA UDF CD/DVD file-system
91
92# File system options
93options 	QUOTA		# legacy UFS quotas
94options 	QUOTA2		# new, in-filesystem UFS quotas
95#options 	DISKLABEL_EI	# disklabel Endian Independent support
96#options 	FFS_EI		# FFS Endian Independent support
97options 	WAPBL		# File system journaling support
98#options	UFS_DIRHASH	# UFS Large Directory Hashing - Experimental
99options 	NFSSERVER	# Network File System server
100#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
101options 	UFS_EXTATTR	# Extended attribute support for UFS1
102#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
103 				# immutable) behave as system flags.
104
105# Networking options
106#options 	GATEWAY		# packet forwarding
107options 	INET		# IP + ICMP + TCP + UDP
108options 	INET6		# IPv6
109#options 	IPSEC		# IP security
110#options 	IPSEC_DEBUG	# debug for IP security
111#options 	MROUTING	# IP multicast routing
112#options 	PIM		# Protocol Independent Multicast
113#options 	NETATALK	# AppleTalk networking protocols
114options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
115options 	PPP_DEFLATE	# Deflate compression support for PPP
116options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
117options 	IPFILTER_LOG	# ipmon(8) log support
118options 	IPFILTER_COMPAT # Compat for IP-Filter
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 	MIIVERBOSE	# verbose PHY autoconfig messages
138options 	SCSIVERBOSE	# human readable SCSI error messages
139options		MCAVERBOSE	# verbose MCA device autoconfig messages
140
141#options 	NFS_BOOT_BOOTP
142options 	NFS_BOOT_BOOTPARAM
143options 	NFS_BOOT_DHCP
144
145#
146# wscons options
147#
148# builtin terminal emulations
149#options 	WSEMUL_VT100		# VT100 / VT220 emulation
150#options 	WSDISPLAY_COMPAT_USL		# wsconscfg VT handling
151# different kernel output - see dev/wscons/wsdisplayvar.h
152#options 	WS_KERNEL_FG=WSCOL_GREEN
153#options 	WS_KERNEL_BG=WSCOL_BLACK
154# see dev/pckbport/wskbdmap_mfii.c for implemented layouts
155#options 	PCKBD_LAYOUT="(KB_DE | KB_NODEAD)"
156# allocate a number of virtual screens at autoconfiguration time
157#options 	WSDISPLAY_DEFAULTSCREENS=4
158# use a large software cursor that doesn't blink
159#options 	PCDISPLAY_SOFTCURSOR
160
161# Kernel root file system and dump configuration.
162config	netbsd	root on ? type ?
163#config	netbsd	root on tlp0 type nfs
164#config	netbsd	root on pcn0 type nfs
165
166
167#
168# Device configuration
169#
170
171mainbus0 at root
172cpu0	at mainbus0
173mca0	at mainbus0
174
175com*	at mca? slot ?
176
177# I/O Planar
178ioplanar* at mca? slot ?
179
180# I/O Planar devices
181com* at ioplanar?
182
183# Basic Bus Support
184
185# SCSI devices
186#sd*	at scsibus? target ? lun ?	# SCSI disk drives
187#st*	at scsibus? target ? lun ?	# SCSI tape drives
188#cd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives
189#ch*	at scsibus? target ? lun ?	# SCSI autochangers
190#ss*	at scsibus? target ? lun ?	# SCSI scanners
191#uk*	at scsibus? target ? lun ?	# SCSI unknown
192
193# Pull in optional local configuration
194cinclude "arch/rs6000/conf/GENERIC.local"
195
196# Pseudo-Devices
197
198# Not yet ready -- prep lacks generic soft interrupts
199#pseudo-device 	crypto		# /dev/crypto device
200#pseudo-device	swcrypto	# software crypto implementation
201
202# disk/mass storage pseudo-devices
203#pseudo-device	ccd			# concatenated/striped disk devices
204#pseudo-device	cgd			# cryptographic disk devices
205#pseudo-device	raid			# RAIDframe disk driver
206#options 	RAID_AUTOCONFIG		# auto-configuration of RAID components
207# Options to enable various other RAIDframe RAID types.
208# options	RF_INCLUDE_EVENODD=1
209# options	RF_INCLUDE_RAID5_RS=1
210# options	RF_INCLUDE_PARITYLOGGING=1
211# options	RF_INCLUDE_CHAINDECLUSTER=1
212# options	RF_INCLUDE_INTERDECLUSTER=1
213# options 	RF_INCLUDE_PARITY_DECLUSTERING=1
214# options	RF_INCLUDE_PARITY_DECLUSTERING_DS=1
215pseudo-device	fss			# file system snapshot device
216pseudo-device	md			# memory disk device (ramdisk)
217pseudo-device	vnd			# disk-like interface to files
218#options 	VND_COMPRESSION		# compressed vnd(4)
219
220# network pseudo-devices
221pseudo-device	loop			# network loopback
222pseudo-device	bpfilter		# Berkeley packet filter
223#pseudo-device	carp			# Common Address Redundancy Protocol
224pseudo-device	ipfilter		# IP filter (firewall) and NAT
225pseudo-device	ppp			# Point-to-Point Protocol
226pseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
227#pseudo-device	sl			# Serial Line IP
228pseudo-device	strip			# Starmode Radio IP (Metricom)
229pseudo-device	tun			# network tunneling over tty
230pseudo-device	tap			# virtual Ethernet
231pseudo-device	gre			# generic L3 over IP tunnel
232pseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC1933)
233#pseudo-device	faith			# IPv[46] tcp relay translation i/f
234pseudo-device	stf			# 6to4 IPv6 over IPv4 encapsulation
235pseudo-device	vlan			# IEEE 802.1q encapsulation
236pseudo-device	bridge			# simple inter-network bridging
237#options	BRIDGE_IPF		# bridge uses IP/IPv6 pfil hooks too
238
239#
240# accept filters
241pseudo-device   accf_data		# "dataready" accept filter
242pseudo-device   accf_http		# "httpready" accept filter
243
244# miscellaneous pseudo-devices
245pseudo-device	pty			# pseudo-terminals
246#pseudo-device	sequencer		# MIDI sequencer
247#options 	RND_COM			# use "com" randomness as well
248pseudo-device	clockctl		# user control of clock subsystem
249pseudo-device	ksyms			# /dev/ksyms
250#pseudo-device	pf			# PF packet filter
251#pseudo-device	pflog			# PF log if
252
253# a pseudo device needed for Coda	# also needs CODA (above)
254#pseudo-device	vcoda			# coda minicache <-> venus comm.
255
256# wscons pseudo-devices
257pseudo-device	wsmux			# mouse & keyboard multiplexor
258pseudo-device	wsfont
259
260# Veriexec
261#options VERIFIED_EXEC
262#
263# a pseudo device needed for veriexec
264#pseudo-device	veriexec
265#
266# Uncomment the fingerprint methods below that are desired. Note that
267# removing fingerprint methods will have almost no impact on the kernel
268# code size.
269#
270#options VERIFIED_EXEC_FP_SHA256
271#options VERIFIED_EXEC_FP_SHA384
272#options VERIFIED_EXEC_FP_SHA512
273