GENERIC revision 1.155
1# $NetBSD: GENERIC,v 1.155 2017/09/13 22:24:42 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/bebox/conf/std.bebox"
22
23options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
24
25#ident 		"GENERIC-$Revision: 1.155 $"
26
27maxusers	32
28
29# Standard system options
30
31options 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
32options 	NTP		# NTP phase/frequency locked loop
33
34options 	KTRACE		# system call tracing via ktrace(1)
35
36options 	SYSVMSG		# System V-like message queues
37options 	SYSVSEM		# System V-like semaphores
38options 	SYSVSHM		# System V-like memory sharing
39
40options 	USERCONF	# userconf(4) support
41#options 	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
42options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
43
44# Enable experimental buffer queue strategy for better responsiveness under
45# high disk I/O load. Use it with caution - it's not proven to be stable yet.
46#options 	BUFQ_READPRIO
47#options 	BUFQ_PRIOCSCAN
48
49# Diagnostic/debugging support options
50#options 	DIAGNOSTIC	# cheap kernel consistency checks
51#options 	DEBUG		# expensive debugging checks/support
52options 	DDB		# in-kernel debugger
53options 	DDB_ONPANIC=1	# see also sysctl(7): `ddb.onpanic'
54options 	DDB_HISTORY_SIZE=512	# Enable history editing in DDB
55#makeoptions	DEBUG="-g"
56
57options 	COMPAT_09	# NetBSD 0.9,
58options 	COMPAT_10	# NetBSD 1.0,
59options 	COMPAT_11	# NetBSD 1.1,
60options 	COMPAT_12	# NetBSD 1.2,
61options 	COMPAT_13	# NetBSD 1.3,
62options 	COMPAT_14	# NetBSD 1.4,
63options 	COMPAT_15	# NetBSD 1.5,
64options 	COMPAT_16	# NetBSD 1.6,
65options 	COMPAT_20	# NetBSD 2.0,
66options 	COMPAT_30	# NetBSD 3.0,
67options 	COMPAT_40	# NetBSD 4.0,
68options 	COMPAT_50	# NetBSD 5.0,
69options 	COMPAT_60	# NetBSD 6.0, and
70options 	COMPAT_70	# NetBSD 7.0 binary compatibility.
71options 	COMPAT_43	# 4.3BSD binary compatibility.
72#options 	COMPAT_386BSD_MBRPART	# recognize old partition ID
73#options 	COMPAT_LINUX	# Linux binary compatibility
74options		COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
75
76# File systems
77file-system	FFS		# UFS
78#file-system	EXT2FS		# second extended file system (linux)
79#file-system	LFS		# log-structured file system
80file-system	MFS		# memory file system
81file-system	NFS		# Network File System client
82file-system	CD9660		# ISO 9660 + Rock Ridge file system
83file-system	MSDOSFS		# MS-DOS file system
84#file-system	FDESC		# /dev/fd
85file-system	KERNFS		# /kern
86file-system	NULLFS		# loopback file system
87#file-system	OVERLAY		# overlay file system
88file-system	PROCFS		# /proc
89#file-system	UMAPFS		# NULLFS + uid and gid remapping
90file-system	UNION		# union file system
91#file-system	CODA		# Coda File System; also needs vcoda (below)
92#file-system	SMBFS		# CIFS; also needs nsmb (below)
93file-system	PTYFS		# /dev/pts/N support
94file-system	TMPFS		# Efficient memory file-system
95#file-system	UDF		# experimental - OSTA UDF CD/DVD file-system
96#file-system	HFS		# experimental - Apple HFS+ (read-only)
97
98# File system options
99options 	QUOTA		# legacy UFS quotas
100options 	QUOTA2		# new, in-filesystem UFS quotas
101#options 	DISKLABEL_EI	# disklabel Endian Independent support
102#options 	FFS_EI		# FFS Endian Independent support
103options 	WAPBL		# File system journaling support
104#options 	UFS_DIRHASH	# UFS Large Directory Hashing - Experimental
105#options 	NFSSERVER	# Network File System server
106#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
107options 	UFS_EXTATTR	# Extended attribute support for UFS1
108#options 	EXT2FS_SYSTEM_FLAGS	# makes ext2fs file flags (append and
109				# immutable) behave as system flags.
110#options 	APPLE_UFS	# Apple UFS support in FFS
111
112# Networking options
113#options 	GATEWAY		# packet forwarding
114options 	INET		# IP + ICMP + TCP + UDP
115options 	INET6		# IPV6
116#options 	IPSEC		# IP security
117#options 	IPSEC_DEBUG	# debug for IP security
118#options 	MROUTING	# IP multicast routing
119#options 	PIM		# Protocol Independent Multicast
120#options 	NETATALK	# AppleTalk networking protocols
121#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
122#options 	PPP_DEFLATE	# Deflate compression support for PPP
123#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
124#options 	IPFILTER_LOG	# ipmon(8) log support
125#options 	IPFILTER_LOOKUP	# ippool(8) support
126options 	IPFILTER_COMPAT # Compat for IP-Filter
127#options 	IPFILTER_DEFAULT_BLOCK	# block all packets by default
128#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
129
130#options 	ALTQ		# Manipulate network interfaces' output queues
131#options 	ALTQ_BLUE	# Stochastic Fair Blue
132#options 	ALTQ_CBQ	# Class-Based Queueing
133#options 	ALTQ_CDNR	# Diffserv Traffic Conditioner
134#options 	ALTQ_FIFOQ	# First-In First-Out Queue
135#options 	ALTQ_FLOWVALVE	# RED/flow-valve (red-penalty-box)
136#options 	ALTQ_HFSC	# Hierarchical Fair Service Curve
137#options 	ALTQ_LOCALQ	# Local queueing discipline
138#options 	ALTQ_PRIQ	# Priority Queueing
139#options 	ALTQ_RED	# Random Early Detection
140#options 	ALTQ_RIO	# RED with IN/OUT
141#options 	ALTQ_WFQ	# Weighted Fair Queueing
142
143# These options enable verbose messages for several subsystems.
144# Warning, these may compile large string tables into the kernel!
145options 	PCIVERBOSE	# verbose PCI device autoconfig messages
146options 	MIIVERBOSE	# verbose PHY autoconfig messages
147#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
148options 	SCSIVERBOSE	# human readable SCSI error messages
149
150#options 	NFS_BOOT_BOOTPARAM,NFS_BOOT_BOOTP
151
152# wscons options
153# builtin terminal emulations
154#options 	WSEMUL_SUN		# sun terminal emulation
155options 	WSEMUL_VT100		# VT100 / VT220 emulation
156options 	WS_DEFAULT_FG=WSCOL_LIGHT_WHITE
157# compatibility to other console drivers
158options 	WSDISPLAY_COMPAT_USL	# wsconscfg VT handling
159options 	WSDISPLAY_COMPAT_RAWKBD	# can get raw scancodes
160
161config		netbsd	root on ? type ?
162
163mainbus0 at root
164
165cpu*	at mainbus0
166pci0	at mainbus0 bus ?
167
168pci*	at ppb? bus ?
169
170ppb*	at pci? dev ? function ?	# PCI-PCI bridges
171pchb*	at pci? dev ? function ?	# PCI-Host bridges
172pcib*	at pci? dev ? function ?	# PCI-ISA bridges
173
174isa*	at pcib?			# ISA on PCI-ISA bridge
175
176# Console Devices
177
178# wscons
179pckbc0		at isa?			# pc keyboard controller
180pckbd*		at pckbc?		# PC keyboard
181pms*		at pckbc?		# PS/2 mouse for wsmouse
182#options	PMS_DISABLE_POWERHOOK	# Disable PS/2 reset on resume
183#options 	PMS_SYNAPTICS_TOUCHPAD	# Enable support for Synaptics Touchpads
184genfb*		at pci? dev ? function ?
185options 	WSFB_FAKE_VGA_FB
186vga*		at pci? dev ? function ?
187wsdisplay*	at vga? console ?
188wskbd*		at pckbd? console ?
189wsmouse*	at pms? mux 0
190
191# make sure the console display is always wsdisplay0
192wsdisplay0	at wsemuldisplaydev? console 1
193wsdisplay*	at wsemuldisplaydev?
194
195com0	at isa? port 0x3f8 irq 4	# standard PC serial ports
196com1	at isa? port 0x2f8 irq 3
197com2	at isa? port 0x380 irq 22
198com3	at isa? port 0x388 irq 23
199
200lpt0	at isa? port 0x378 irq 7	# standard PC parallel ports
201
202mcclock0 at isa? port 0x70		# time-of-day clock
203attimer0 at isa?
204#pcppi0	at isa?
205#spkr*	at pcppi?
206
207wss0	at isa? port 0x82c irq 30 drq 6 drq2 7	# Windows Sound System
208
209# Audio support
210audio*	at audiobus?
211
212spkr*	at audio?			# PC speaker (synthesized)
213
214# MIDI support
215#midi*	at pcppi?			# MIDI interface to the PC speaker
216
217# Joystick driver. Probe is a little strange; add only if you have one.
218joy0	at isa? port 0x201
219
220siop*	at pci? dev ? function ?	# NCR 538XX SCSI controllers
221scsibus* at siop?
222
223sd*	at scsibus? target ? lun ?	# SCSI disk drives
224#st*	at scsibus? target ? lun ?	# SCSI tape drives
225cd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives
226#ch*	at scsibus? target ? lun ?	# SCSI autochangers
227#ss*	at scsibus? target ? lun ?	# SCSI scanners
228#uk*	at scsibus? target ? lun ?	# SCSI unknown
229
230fdc0	at isa? port 0x3f0 irq 6 drq 2	# standard PC floppy controllers
231fd0	at fdc? drive 1
232#fd*	at fdc? drive ?
233
234wdc0	at isa? port 0x1f0 irq 14	# ST506, ESDI, and IDE controllers
235
236atabus* at ata?
237wd*	at atabus? drive ?
238
239# ATAPI bus support
240atapibus* at atapi?
241
242# ATAPI devices
243# flags have the same meaning as for IDE drives.
244cd*	at atapibus? drive ? flags 0x0000	# ATAPI CD-ROM drives
245#sd*	at atapibus? drive ? flags 0x0000	# ATAPI disk drives
246#st*	at atapibus? drive ? flags 0x0000	# ATAPI tape drives
247#uk*	at atapibus? drive ? flags 0x0000	# ATAPI unknown
248
249# Network devices
250ec0	at isa? port 0x250 iomem 0xd8000 irq 9	# 3Com 3c503 Ethernet
251ne0	at isa? port 0x300 irq 5	# NE[12]000 ethernet cards
252fxp*	at pci? dev ? function ?	# Intel EtherExpress PRO 10+/100B
253ne*	at pci? dev ? function ?	# NE2000-compatible Ethernet
254tlp*	at pci? dev ? function ?	# DECchip 21x4x and clones
255
256# MII/PHY support
257ukphy*  at mii? phy ?                   # generic unknown PHYs
258
259# TV cards
260
261# Brooktree 848/849/878/879 based TV cards
262bktr*	at pci? dev ? function ?	# Brooktree video/audio capture/tuner
263
264
265# Pseudo-Devices
266
267pseudo-device	crypto			# /dev/crypto device
268					# (disabled, requires generic softints)
269pseudo-device	swcrypto		# software crypto implementation
270
271# disk/mass storage pseudo-devices
272#pseudo-device	bio			# RAID control device driver
273pseudo-device	ccd			# concatenated/striped disk devices
274pseudo-device	cgd			# cryptographic disk devices
275#pseudo-device	raid			# RAIDframe disk driver
276#options 	RAID_AUTOCONFIG		# auto-configuration of RAID components
277# Options to enable various other RAIDframe RAID types.
278#options 	RF_INCLUDE_EVENODD=1
279#options 	RF_INCLUDE_RAID5_RS=1
280#options 	RF_INCLUDE_PARITYLOGGING=1
281#options 	RF_INCLUDE_CHAINDECLUSTER=1
282#options 	RF_INCLUDE_INTERDECLUSTER=1
283#options 	RF_INCLUDE_PARITY_DECLUSTERING=1
284#options 	RF_INCLUDE_PARITY_DECLUSTERING_DS=1
285pseudo-device	fss			# file system snapshot device
286
287pseudo-device	md			# memory disk device
288pseudo-device	vnd			# disk-like interface to files
289options 	VND_COMPRESSION		# compressed vnd(4)
290
291# network pseudo-devices
292pseudo-device	bpfilter		# packet filter
293#pseudo-device	carp			# Common Address Redundancy Protocol
294pseudo-device	ipfilter		# IP filter (firewall) and NAT
295pseudo-device	loop			# network loopback
296pseudo-device	ppp			# Point-to-Point Protocol
297pseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
298pseudo-device	sl			# Serial Line IP
299#pseudo-device	strip			# Starmode Radio IP (Metricom)
300#pseudo-device	irframetty		# IrDA frame line discipline
301pseudo-device	tap			# virtual Ethernet
302pseudo-device	tun			# network tunneling over tty
303#pseudo-device	gre			# generic L3 over IP tunnel
304#pseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC1933)
305#pseudo-device	faith			# IPv[46] tcp relay translation i/f
306#pseudo-device	stf			# 6to4 IPv6 over IPv4 encapsulation
307#pseudo-device	vlan			# IEEE 802.1q encapsulation
308#pseudo-device	bridge			# simple inter-network bridging
309#options	BRIDGE_IPF		# bridge uses IP/IPv6 pfil hooks too
310#pseudo-device	agr			# IEEE 802.3ad link aggregation
311#pseudo-device	pf			# PF packet filter
312#pseudo-device	pflog			# PF log if
313# srt is EXPERIMENTAL
314#pseudo-device	srt			# source-address-based routing
315
316#
317# accept filters
318pseudo-device   accf_data		# "dataready" accept filter
319pseudo-device   accf_http		# "httpready" accept filter
320
321# miscellaneous pseudo-devices
322pseudo-device	pty			# pseudo-terminals
323pseudo-device	sequencer		# MIDI sequencer
324#options 	RND_COM			# use "com" randomness as well (BROKEN)
325pseudo-device	clockctl		# user control of clock subsystem
326pseudo-device	ksyms			# /dev/ksyms
327pseudo-device	lockstat		# lock profiling
328#pseudo-device	bcsp			# BlueCore Serial Protocol
329#pseudo-device	btuart			# Bluetooth HCI UART (H4)
330
331# a pseudo device needed for Coda	# also needs CODA (above)
332#pseudo-device	vcoda			# coda minicache <-> venus comm.
333
334# a pseudo device needed for SMBFS
335#pseudo-device	nsmb			# experimental - SMB requester
336
337# wscons pseudo-devices
338pseudo-device	wsmux			# mouse & keyboard multiplexor
339pseudo-device	wsfont
340
341# pseudo audio device driver
342#pseudo-device	pad
343
344# userland interface to drivers, including autoconf and properties retrieval
345#pseudo-device	drvctl
346
347#options 	FILEASSOC		# fileassoc(9) - required for Veriexec
348					# and PAX_SEGVGUARD
349
350
351# Veriexec
352#
353# a pseudo device needed for veriexec
354#pseudo-device	veriexec
355#
356# Uncomment the fingerprint methods below that are desired. Note that
357# removing fingerprint methods will have almost no impact on the kernel
358# code size.
359#
360#options 	VERIFIED_EXEC_FP_SHA256
361#options 	VERIFIED_EXEC_FP_SHA384
362#options 	VERIFIED_EXEC_FP_SHA512
363
364#options 	PAX_MPROTECT=0		# PaX mprotect(2) restrictions
365#options 	PAX_ASLR=0		# PaX Address Space Layout Randomization
366