GENERIC revision 1.73
1# $NetBSD: GENERIC,v 1.73 2012/04/29 15:59:32 phx Exp $
2#
3# machine description file for GENERIC NAS
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/sandpoint/conf/std.sandpoint"
22
23options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
24
25#ident 		"GENERIC-$Revision: 1.73 $"
26
27maxusers	32
28
29#options 	ALTIVEC		# Include AltiVec support
30
31# Standard system options
32#options 	INSECURE	# disable kernel security levels
33
34options 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
35options 	KTRACE
36
37#options 	SYSVMSG		# System V message queues
38#options 	SYSVSEM		# System V semaphores
39#options 	SYSVSHM		# System V shared memory
40
41#options 	MODULAR		# module(7) support
42#options 	USERCONF	# userconf(4) support
43
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
55options 	DDB
56#options 	DDB_HISTORY_SIZE=100	# Enable history editing in DDB
57#options 	TRAP_PANICWAIT
58#options 	PMAPCHECK
59#options 	PMAPDEBUG
60options 	MSGBUFSIZE=65536
61
62#makeoptions	DEBUG="-g"
63
64# Compatibility options
65options 	COMPAT_NOMID	# NetBSD 0.8, 386BSD, and BSDI
66options 	COMPAT_09	# NetBSD 0.9
67options 	COMPAT_10	# NetBSD 1.0
68options 	COMPAT_11	# NetBSD 1.1
69options 	COMPAT_12	# NetBSD 1.2, 386BSD, and BSDI
70options 	COMPAT_13	# NetBSD 1.3, 386BSD, and BSDI
71options 	COMPAT_14	# NetBSD 1.4
72options 	COMPAT_15	# NetBSD 1.5
73options 	COMPAT_16	# NetBSD 1.6
74options 	COMPAT_20	# NetBSD 2.0
75options 	COMPAT_30	# NetBSD 3.0
76options 	COMPAT_40	# NetBSD 4.0
77options 	COMPAT_50	# NetBSD 5.0 compatibility.
78options 	COMPAT_43	# 4.3BSD, 386BSD, and BSDI
79#options 	COMPAT_386BSD_MBRPART	# recognize old partition ID
80#options 	COMPAT_LINUX	# binary compatibility with Linux
81#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
82options 	COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
83
84# Wedge support
85#options 	DKWEDGE_AUTODISCOVER	# Automatically add dk(4) instances
86#options 	DKWEDGE_METHOD_GPT	# Supports GPT partitions as wedges
87# The following two options can break /etc/fstab, so handle with care
88#options 	DKWEDGE_METHOD_BSDLABEL	# Support disklabel entries as wedges
89#options 	DKWEDGE_METHOD_MBR	# Support MBR partitions as wedges
90
91# File systems
92file-system 	FFS		# UFS
93file-system 	EXT2FS		# second extended file system (linux)
94#file-system 	LFS		# log-structured file system
95file-system 	MFS		# memory file system
96file-system 	NFS		# Network File System client
97#file-system 	NTFS		# Windows/NT file system (experimental)
98file-system 	CD9660		# ISO 9660 + Rock Ridge file system
99file-system 	MSDOSFS		# MS-DOS file system
100file-system 	FDESC		# /dev/fd
101file-system 	KERNFS		# /kern
102file-system 	NULLFS		# loopback file system
103#file-system 	OVERLAY		# overlay file system
104file-system 	PROCFS		# /proc
105#file-system 	UMAPFS		# NULLFS + uid and gid remapping
106#file-system 	UNION		# union file system
107#file-system	CODA		# Coda File System; also needs vcoda (below)
108#file-system	SMBFS		# experimental - CIFS; also needs nsmb (below)
109file-system	PTYFS		# /dev/ptm support
110file-system	TMPFS		# Efficient memory file-system
111
112# File system options
113options 	QUOTA		# legacy UFS quotas
114options 	QUOTA2		# new, in-filesystem UFS quotas
115#options 	FFS_EI		# FFS Endian Independent support
116options 	WAPBL		# File system journaling support
117options 	NFSSERVER	# Network File System server
118#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
119#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
120
121#options 	NFS_BOOT_DHCP
122options 	NFS_BOOT_BOOTPARAM,NFS_BOOT_BOOTP
123
124# Networking options
125#options 	GATEWAY		# packet forwarding
126options 	INET		# IP + ICMP + TCP + UDP
127options 	INET6		# IPV6
128#options 	IPSEC		# IP security
129#options 	IPSEC_ESP	# IP security (encryption part; define w/IPSEC)
130#options 	IPSEC_NAT_T	# IPsec NAT traversal (NAT-T)
131#options 	IPSEC_DEBUG	# debug for IP security
132#options 	MROUTING	# IP multicast routing
133#options 	PIM		# Protocol Independent Multicast
134#options 	ISO,TPIP	# OSI
135#options 	EON		# OSI tunneling over IP
136#options 	NETATALK	# AppleTalk networking protocols
137#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
138#options 	PPP_DEFLATE	# Deflate compression support for PPP
139#options 	PPP_FILTER	# Active filter support for PPP (requires BPF)
140#options 	PFIL_HOOKS	# pfil(9) packet filter hooks
141#options 	IPFILTER_LOG	# ipmon(8) log support
142#options 	IPFILTER_LOOKUP	# ippool(8) support
143#options 	IPFILTER_COMPAT # Compat for IP-Filter
144#options 	IPFILTER_DEFAULT_BLOCK	# block all packets by default
145#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
146
147#options 	ALTQ		# Manipulate network interfaces' output queues
148#options 	ALTQ_BLUE	# Stochastic Fair Blue
149#options 	ALTQ_CBQ	# Class-Based Queueing
150#options 	ALTQ_CDNR	# Diffserv Traffic Conditioner
151#options 	ALTQ_FIFOQ	# First-In First-Out Queue
152#options 	ALTQ_FLOWVALVE	# RED/flow-valve (red-penalty-box)
153#options 	ALTQ_HFSC	# Hierarchical Fair Service Curve
154#options 	ALTQ_LOCALQ	# Local queueing discipline
155#options 	ALTQ_PRIQ	# Priority Queueing
156#options 	ALTQ_RED	# Random Early Detection
157#options 	ALTQ_RIO	# RED with IN/OUT
158#options 	ALTQ_WFQ	# Weighted Fair Queueing
159
160# These options enable verbose messages for several subsystems.
161# Warning, these may compile large string tables into the kernel!
162#options 	PCIVERBOSE	# verbose PCI device autoconfig messages
163#options 	MIIVERBOSE	# verbose PHY autoconfig messages
164#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
165#options 	SCSIVERBOSE	# human readable SCSI error messages
166#options 	USBVERBOSE	# verbose USB device autoconfig messages
167
168# Kernel root file system and dump configuration
169config		netbsd	root on ? type ?
170
171#
172# Device configuration
173#
174mainbus0	at root
175cpu*		at mainbus0
176
177#cfi0		at mainbus0
178#nor*		at cfi?
179#flash*		at nor?
180
181nhpow0		at mainbus0			# NH230/231 power,LED,buttons
182
183#options 	PCI_NETBSD_CONFIGURE
184pci*		at mainbus0 bus ?
185pchb*		at pci? dev ? function ?	# PCI host bridge
186
187eumb*		at mainbus0
188com0		at eumb? unit 0			# console at 0x4500
189#com1		at eumb? unit 1
190satmgr0 	at eumb? unit 1 		# satmgr at 0x4600
191ociic*		at eumb?
192iic*		at ociic?
193rs5c372rtc*	at iic? addr 0x32
194s390rtc*	at iic? addr 0x30
195pcf8563rtc*	at iic? addr 0x51
196dsrtc*		at iic? addr 0x68
197strtc*		at iic? addr 0x68
198options 	STRTC_NO_WATCHDOG
199options 	STRTC_NO_USERRAM
200
201# PCI IDE controllers - see pciide(4) for supported hardware.
202acardide*	at pci? dev ? function ?	# Acard IDE controllers
203cmdide* 	at pci? dev ? function ?	# CMD tech IDE controllers
204iteide* 	at pci? dev ? function ?	# IT Express IDE controllers
205satalink*	at pci? dev ? function ?	# SiI SATALink controllers
206viaide* 	at pci? dev ? function ?	# VIA IDE controllers
207
208# ATA (IDE) bus support
209atabus* at ata?
210
211# IDE drives
212wd*		at atabus? drive ? flags 0x0000	# the drives themselves
213
214# PCI network interfaces
215ral*	at pci? dev ? function ?	# Ralink Technology RT25x0 802.11a/b/g
216re*	at pci? dev ? function ?	# Realtek 8139C+/8169/8169S/8110S
217skc*	at pci? dev ? function ?	# Marvell Yukon Gigabit Ethernet
218sk*	at skc?				# Marvell Yukon Gigabit Ethernet
219stge*	at pci? dev ? function ?	# Sundance ST1023 Gigabit
220tlp*	at pci? dev ? function ?	# DEC Tulip and similar
221wm*	at pci? dev ? function ?	# Intel 8254x Gigabit Ethernet
222
223inphy*	at mii? phy ?			# Intel 82555 PHYs
224nsphy*	at mii? phy ?			# NS83840 PHYs
225rgephy* at mii? phy ?			# Realtek 8169S/8110S internal PHYs
226makphy* at mii? phy ?			# Marvell Semiconductor 88E1000 PHYs
227ukphy*	at mii? phy ?			# generic unknown PHYs
228
229# GPIO devices
230gpio*	at gpiobus?
231
232# USB Controller and Devices
233ehci*	at pci?	dev ? function ?	# Enhanced Host Controller
234ohci*	at pci?	dev ? function ?	# Open Host Controller
235
236# USB bus support
237usb*	at ehci?
238usb*	at ohci?
239
240# USB Hubs
241uhub*	at usb?
242uhub*	at uhub? port ?
243
244# USB HID devices
245uhidev* at uhub? port ? configuration ? interface ?	# USB HID device
246uthum*	at uhidev? reportid ?				# TEMPerHUM sensors
247uhid*	at uhidev? reportid ?				# USB Generic HID
248
249# USB video
250uvideo* at uhub?			# USB Video Class capture devices
251video*	at videobus?
252
253# USB printer
254ulpt*	at uhub? port ? configuration ? interface ?	# USB Printer
255
256# USB Mass Storage
257umass*	at uhub? port ? configuration ? interface ?
258wd*	at umass?
259
260scsibus* at umass?
261sd*	at scsibus? target ? lun ?	# SCSI disk drives
262cd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives
263
264atapibus* at atapi?
265sd*	at atapibus? drive ? flags 0x0000	# ATAPI disk drives
266cd*	at atapibus? drive ? flags 0x0000	# ATAPI CD-ROM drives
267
268#
269# Pseudo-Devices
270#
271#pseudo-device 	crypto			# /dev/crypto device
272#pseudo-device	swcrypto		# software crypto implementation
273
274# disk/mass storage pseudo-devices
275#pseudo-device	ccd		4	# concatenated/striped disk devices
276#pseudo-device	cgd		4	# cryptographic disk devices
277pseudo-device	fss			# file system snapshot device
278#pseudo-device	putter			# for puffs and pud
279
280pseudo-device	raid		8	# RAIDframe disk driver
281options 	RAID_AUTOCONFIG		# auto-configuration of RAID components
282# Options to enable various other RAIDframe RAID types.
283#options 	RF_INCLUDE_EVENODD=1
284#options 	RF_INCLUDE_RAID5_RS=1
285#options 	RF_INCLUDE_PARITYLOGGING=1
286#options 	RF_INCLUDE_CHAINDECLUSTER=1
287#options 	RF_INCLUDE_INTERDECLUSTER=1
288#options 	RF_INCLUDE_PARITY_DECLUSTERING=1
289#options 	RF_INCLUDE_PARITY_DECLUSTERING_DS=1
290
291pseudo-device	vnd		
292#options 	VND_COMPRESSION		# compressed vnd(4)
293
294# network pseudo-devices
295pseudo-device	loop
296pseudo-device	bpfilter		# packet filter
297#pseudo-device	carp			# Common Address Redundancy Protocol
298#pseudo-device	ppp			# Point-to-Point Protocol
299#pseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
300#pseudo-device	ipfilter
301#pseudo-device	pf			# PF packet filter
302#pseudo-device	pflog			# PF log if
303#pseudo-device	sl			# Serial Line IP
304#pseudo-device	vlan			# IEEE 802.1q encapsulation
305#pseudo-device	tun			# network tunneling over tty
306#pseudo-device	tap			# virtual Ethernet
307#pseudo-device	gre			# generic L3 over IP tunnel
308#pseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC1933)
309#pseudo-device	faith			# IPv[46] tcp relay translation i/f
310#pseudo-device	stf			# 6to4 IPv6 over IPv4 encapsulation
311#pseudo-device	vlan			# IEEE 802.1q encapsulation
312#pseudo-device	bridge			# simple inter-network bridging
313#options 	BRIDGE_IPF		# bridge uses IP/IPv6 pfil hooks too
314#pseudo-device	agr			# IEEE 802.3ad link aggregation
315
316#
317# accept filters
318#pseudo-device	accf_data		# "dataready" accept filter
319#pseudo-device	accf_http		# "httpready" accept filter
320
321# miscellaneous pseudo-devices
322pseudo-device	pty
323pseudo-device	clockctl		# user control of clock subsystem
324pseudo-device	ksyms			# /dev/ksyms
325#pseudo-device	lockstat		# lock profiling
326
327# a pseudo device needed for Coda	# also needs CODA (above)
328#pseudo-device	vcoda		4	# coda minicache <-> venus comm.
329
330# a pseudo device needed for SMBFS
331#pseudo-device	nsmb			# experimental - SMB requester
332
333# userland interface to drivers, including autoconf and properties retrieval
334pseudo-device	drvctl
335
336# Veriexec
337#
338# a pseudo device needed for veriexec
339#pseudo-device	veriexec		1
340#
341# Uncomment the fingerprint methods below that are desired. Note that
342# removing fingerprint methods will have almost no impact on the kernel
343# code size.
344#
345#options 	VERIFIED_EXEC_FP_RMD160
346#options 	VERIFIED_EXEC_FP_SHA256
347#options 	VERIFIED_EXEC_FP_SHA384
348#options 	VERIFIED_EXEC_FP_SHA512
349#options 	VERIFIED_EXEC_FP_SHA1
350#options 	VERIFIED_EXEC_FP_MD5
351
352#options 	PAX_MPROTECT=0		# PaX mprotect(2) restrictions
353#options 	PAX_ASLR=0		# PaX Address Space Layout Randomization
354