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