GENERIC revision 1.107
1# $NetBSD: GENERIC,v 1.107 2007/12/31 15:31:50 ad 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.107 $"
26
27maxusers	32
28
29#options 	IPKDBUSERHACK	# Allow access to mapped memory via kgdb
30#options 	DEBUG_BY_TOOLS	# Allow debugging from toolsnet
31# HMAC key to be used for debugging sessions
32#options 	IPKDBKEY="\"HMAC pass phrase text\""
33#options 	IPKDBSECURE	# Allow debugging even when securelevel > 0
34makeoptions	DEBUG="-g"
35
36#options 	DEBUG
37#options 	DIAGNOSTIC
38options 	TRAP_PANICWAIT
39options 	DDB
40#options 	DDB_HISTORY_SIZE=100	# Enable history editing in DDB
41options 	KTRACE
42options 	USERCONF		# userconf(4) support
43#options	PIPE_SOCKETPAIR		# smaller, but slower pipe(2)
44options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
45
46# Enable experimental buffer queue strategy for better responsiveness under 
47# high disk I/O load. Use it with caution - it's not proven to be stable yet.
48#options 	BUFQ_READPRIO
49#options 	BUFQ_PRIOCSCAN
50
51#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
52options 	COMPAT_43
53options 	COMPAT_09
54options 	COMPAT_10
55options 	COMPAT_12
56options 	COMPAT_13
57options 	COMPAT_14
58options 	COMPAT_15
59options 	COMPAT_16
60options 	COMPAT_20
61options 	COMPAT_30	# NetBSD 3.0 compatibility.
62options 	COMPAT_386BSD_MBRPART	# recognize old partition ID
63#options 	COMPAT_LINUX		# Linux binary compatibility
64options		COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
65
66file-system 	FFS
67file-system 	MFS
68file-system 	NFS
69file-system 	CD9660
70file-system 	MSDOSFS
71file-system 	FDESC
72file-system 	KERNFS
73file-system 	NULLFS
74file-system 	OVERLAY
75file-system 	PORTAL
76file-system 	PROCFS
77file-system 	UMAPFS
78file-system 	UNION
79file-system	PTYFS		# /dev/pts/N support
80#file-system	TMPFS		# Efficient memory file-system
81#file-system	UDF		# experimental - OSTA UDF CD/DVD file-system
82
83#options 	FFS_EI		# FFS Endian Independant support
84options 	SOFTDEP		# FFS soft updates support.
85#options	UFS_DIRHASH	# UFS Large Directory Hashing - Experimental
86#options 	NFSSERVER
87#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
88
89options 	INET
90options 	INET6		# IPV6
91#options 	IPSEC		# IP security
92#options 	IPSEC_ESP	# IP security (encryption part; define w/IPSEC)
93#options 	IPSEC_NAT_T	# IPsec NAT traversal (NAT-T)
94#options 	IPSEC_DEBUG	# debug for IP security
95
96#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
97
98#options 	ALTQ		# Manipulate network interfaces' output queues
99#options 	ALTQ_BLUE	# Stochastic Fair Blue
100#options 	ALTQ_CBQ	# Class-Based Queueing
101#options 	ALTQ_CDNR	# Diffserv Traffic Conditioner
102#options 	ALTQ_FIFOQ	# First-In First-Out Queue
103#options 	ALTQ_FLOWVALVE	# RED/flow-valve (red-penalty-box)
104#options 	ALTQ_HFSC	# Hierarchical Fair Service Curve
105#options 	ALTQ_LOCALQ	# Local queueing discipline
106#options 	ALTQ_PRIQ	# Priority Queueing
107#options 	ALTQ_RED	# Random Early Detection
108#options 	ALTQ_RIO	# RED with IN/OUT
109#options 	ALTQ_WFQ	# Weighted Fair Queueing
110
111options 	NFS_BOOT_BOOTPARAM,NFS_BOOT_BOOTP
112
113config		netbsd	root on ? type ?
114
115#pseudo-device 	crypto			# /dev/crypto device
116#pseudo-device	swcrypto		# software crypto implementation
117#pseudo-device	cgd		4	# cryptographic disk devices
118pseudo-device	vnd		
119#options 	VND_COMPRESSION		# compressed vnd(4)
120pseudo-device	loop
121pseudo-device	bpfilter		# packet filter
122#pseudo-device	carp			# Common Address Redundancy Protocol
123pseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC1933)
124#pseudo-device	faith			# IPv[46] tcp relay translation i/f
125pseudo-device	stf			# 6to4 IPv6 over IPv4 encapsulation
126pseudo-device	vlan			# IEEE 802.1q encapsulation
127pseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
128pseudo-device	bridge			# simple inter-network bridging
129#options	BRIDGE_IPF		# bridge uses IP/IPv6 pfil hooks too
130pseudo-device	agr			# IEEE 802.3ad link aggregation
131pseudo-device	pty			# pseudo-terminals
132pseudo-device	raid		8	# RAIDframe disk driver
133options 	RAID_AUTOCONFIG		# auto-configuration of RAID components
134# Options to enable various other RAIDframe RAID types.
135# options	RF_INCLUDE_EVENODD=1
136# options	RF_INCLUDE_RAID5_RS=1
137# options	RF_INCLUDE_PARITYLOGGING=1
138# options	RF_INCLUDE_CHAINDECLUSTER=1
139# options	RF_INCLUDE_INTERDECLUSTER=1
140# options 	RF_INCLUDE_PARITY_DECLUSTERING=1
141# options	RF_INCLUDE_PARITY_DECLUSTERING_DS=1
142pseudo-device	fss		4	# file system snapshot device
143#pseudo-device	gre			# generic L3 over IP tunnel
144pseudo-device	wsmux
145pseudo-device	clockctl		# user control of clock subsystem
146
147# random number generator pseudo-device
148pseudo-device	rnd			# /dev/random and in-kernel generator
149#options 	RND_COM			# use "com" randomness as well (BROKEN)
150pseudo-device	ksyms			# /dev/ksyms
151#pseudo-device	pf			# PF packet filter
152#pseudo-device	pflog			# PF log if
153
154# Veriexec
155#
156# a pseudo device needed for veriexec
157#pseudo-device	veriexec		1
158#
159# Uncomment the fingerprint methods below that are desired. Note that
160# removing fingerprint methods will have almost no impact on the kernel
161# code size.
162#
163#options VERIFIED_EXEC_FP_RMD160
164#options VERIFIED_EXEC_FP_SHA256
165#options VERIFIED_EXEC_FP_SHA384
166#options VERIFIED_EXEC_FP_SHA512
167#options VERIFIED_EXEC_FP_SHA1
168#options VERIFIED_EXEC_FP_MD5
169
170#
171# device
172#
173options 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
174
175options 	PCIVERBOSE	# verbose PCI device messages
176#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
177options 	PCI_NETBSD_CONFIGURE
178
179mainbus0 at root
180
181cpu*	at mainbus0
182pci0	at mainbus0 bus ?
183
184ppb*	at pci? dev ? function ?	# PCI-PCI bridges
185pci*	at ppb? bus ?
186pchb*	at pci? dev ? function ?	# PCI-Host bridges
187pcib*	at pci? dev ? function ?	# PCI-ISA bridges
188
189isa*	at pcib?			# ISA on PCI-ISA bridge
190
191mcclock0 at isa? port 0x70		# time-of-day clock
192
193#pc0	at isa? port 0x60 irq 1		# generic PC console device
194
195com0	at isa? port 0x3f8 irq 4	# standard PC serial ports
196com1	at isa? port 0x2f8 irq 3
197#com2	at isa? port 0x380 irq 16
198#com3	at isa? port 0x388 irq 17
199
200lpt0	at isa? port 0x378 irq 7	# standard PC parallel ports
201#lpt1	at isa? port 0x278
202#lpt2	at isa? port 0x3bc
203
204#lms0	at isa? port 0x23c irq 5	# Logitech bus mouse
205#lms1	at isa? port 0x238 irq 5
206#mms0	at isa? port 0x23c irq 5	# Microsoft InPort mouse
207#mms1	at isa? port 0x238 irq 5
208
209pckbc0	at isa?
210pckbd*	at pckbc?
211#pms*	at pckbc?
212#vga0	at isa?
213vga*	at pci?
214#pfb*	at pci?
215wsdisplay*	at vga? console ?
216#wsdisplay*	at pfb? console ?
217wskbd*		at pckbd? console ?
218#wsmouse*	at pms? mux 0
219
220# Cryptographic Devices
221
222# PCI cryptographic devices
223#hifn*	at pci? dev ? function ?	# Hifn 7755/7811/795x
224#ubsec*	at pci? dev ? function ?	# Broadcom 5501/5601/580x/582x
225
226#siop*	at pci? dev ? function ?	# NCR 538XX SCSI controllers
227#scsibus* at siop?
228#esiop*	at pci? dev ? function ?	# NCR 53875 and newer SCSI controllers
229#scsibus* at esiop?
230
231#sd*	at scsibus? target ? lun ?	# SCSI disk drives
232#st*	at scsibus? target ? lun ?	# SCSI tape drives
233#cd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives
234#ch*	at scsibus? target ? lun ?	# SCSI autochangers
235#ss*	at scsibus? target ? lun ?	# SCSI scanners
236#uk*	at scsibus? target ? lun ?	# SCSI unknown
237
238fdc0	at isa? port 0x3f0 irq 6 drq 2	# standard PC floppy controllers
239#fdc1	at isa? port 0x370 irq ? drq ?
240fd0	at fdc? drive 1
241#fd*	at fdc? drive ?
242
243wdc0	at isa? port 0x1f0 irq 14	# ST506, ESDI, and IDE controllers
244atabus* at ata?
245wd*	at atabus? drive ?
246
247ne0	at isa? port 0x300 irq 5	# NE[12]000 ethernet cards
248#ipkdbif0 at ne?
249
250#wss0	at isa? port 0x530 irq 10 drq 0	# Windows Sound System
251
252#attimer0	at isa?
253#pcppi0 at isa?
254#spkr0	at pcppi?
255
256# Joystick driver. Probe is a little strange; add only if you have one.
257#joy0	at isa? port 0x201
258