GENERIC revision 1.42
1# $NetBSD: GENERIC,v 1.42 2008/11/24 11:41:14 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/sandpoint/conf/std.sandpoint"
22
23options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
24
25#ident 		"GENERIC-$Revision: 1.42 $"
26
27maxusers	32
28
29options 	ALTIVEC		# Include AltiVec support
30
31#options 	IPKDBUSERHACK	# Allow access to mapped memory via kgdb
32#options 	DEBUG_BY_TOOLS	# Allow debugging from toolsnet
33# HMAC key to be used for debugging sessions
34#options 	IPKDBKEY="\"HMAC pass phrase text\""
35#options 	IPKDBSECURE	# Allow debugging even when securelevel > 0
36#makeoptions	DEBUG="-g"
37
38#options 	DEBUG
39options 	DIAGNOSTIC
40options 	TRAP_PANICWAIT
41options 	DDB
42#options 	DDB_HISTORY_SIZE=100	# Enable history editing in DDB
43options 	KTRACE
44#options 	PMAPCHECK
45#options 	PMAPDEBUG
46#options 	SYMTAB_SPACE=300000
47#options 	USERCONF	# userconf(4) support
48#options	PIPE_SOCKETPAIR		# smaller, but slower pipe(2)
49options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
50
51# Compatibility options
52options 	COMPAT_NOMID	# NetBSD 0.8, 386BSD, and BSDI
53options 	COMPAT_09	# NetBSD 0.9
54options 	COMPAT_10	# NetBSD 1.0
55options 	COMPAT_11	# NetBSD 1.1
56options 	COMPAT_12	# NetBSD 1.2, 386BSD, and BSDI
57options 	COMPAT_13	# NetBSD 1.3, 386BSD, and BSDI
58options 	COMPAT_14	# NetBSD 1.4
59options 	COMPAT_15	# NetBSD 1.5
60options 	COMPAT_16	# NetBSD 1.6
61options 	COMPAT_20	# NetBSD 2.0
62options 	COMPAT_30	# NetBSD 3.0
63options 	COMPAT_40	# NetBSD 4.0
64options 	COMPAT_43	# 4.3BSD, 386BSD, and BSDI
65#options 	COMPAT_386BSD_MBRPART	# recognize old partition ID
66#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
67
68options 	COMPAT_LINUX	# binary compatibility with Linux
69options		COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
70
71options 	MSGBUFSIZE=65536
72
73file-system 	FFS		# UFS
74file-system 	EXT2FS		# second extended file system (linux)
75#file-system 	LFS		# log-structured file system
76file-system 	MFS		# memory file system
77file-system 	NFS		# Network File System client
78#file-system 	NTFS		# Windows/NT file system (experimental)
79#file-system 	CD9660		# ISO 9660 + Rock Ridge file system
80#file-system 	MSDOSFS		# MS-DOS file system
81file-system 	FDESC		# /dev/fd
82file-system 	KERNFS		# /kern
83file-system 	NULLFS		# loopback file system
84#file-system 	OVERLAY		# overlay file system
85#file-system 	PORTAL		# portal filesystem (still experimental)
86#file-system 	PROCFS		# /proc
87#file-system 	UMAPFS		# NULLFS + uid and gid remapping
88#file-system 	UNION		# union file system
89#file-system	CODA		# Coda File System; also needs vcoda (below)
90#file-system	SMBFS		# experimental - CIFS; also needs nsmb (below)
91file-system	PTYFS		# /dev/ptm support
92file-system	TMPFS		# Efficient memory file-system
93
94# File system options
95options 	QUOTA		# UFS quotas
96#options 	FFS_EI		# FFS Endian Independent support
97options 	WAPBL		# File system journaling support - Experimental
98options 	NFSSERVER	# Network File System server
99#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
100#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
101
102options 	INET
103#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
104
105#options 	ALTQ		# Manipulate network interfaces' output queues
106#options 	ALTQ_BLUE	# Stochastic Fair Blue
107#options 	ALTQ_CBQ	# Class-Based Queueing
108#options 	ALTQ_CDNR	# Diffserv Traffic Conditioner
109#options 	ALTQ_FIFOQ	# First-In First-Out Queue
110#options 	ALTQ_FLOWVALVE	# RED/flow-valve (red-penalty-box)
111#options 	ALTQ_HFSC	# Hierarchical Fair Service Curve
112#options 	ALTQ_LOCALQ	# Local queueing discipline
113#options 	ALTQ_PRIQ	# Priority Queueing
114#options 	ALTQ_RED	# Random Early Detection
115#options 	ALTQ_RIO	# RED with IN/OUT
116#options 	ALTQ_WFQ	# Weighted Fair Queueing
117
118options 	NFS_BOOT_BOOTPARAM,NFS_BOOT_BOOTP
119
120config		netbsd	root on ? type ?
121
122# network psuedo-devices
123pseudo-device	bpfilter		# packet filter
124pseudo-device	vlan			# IEEE 802.1q encapsulation
125#pseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
126#pseudo-device	bridge			# simple inter-network bridging
127#options	BRIDGE_IPF		# bridge uses IP/IPv6 pfil hooks too
128#pseudo-device	ipfilter
129pseudo-device	loop
130
131# mouse & keyboard multiplexor pseudo-devices
132#pseudo-device	wsmux
133
134#
135# accept filters
136pseudo-device   accf_data		# "dataready" accept filter
137pseudo-device   accf_http		# "httpready" accept filter
138
139# miscellaneous pseudo-devices
140pseudo-device	rnd			# /dev/random and in-kernel generator
141pseudo-device	vnd		
142#options 	VND_COMPRESSION		# compressed vnd(4)
143#pseudo-device	cgd		4	# cryptographic disk devices
144pseudo-device	pty
145pseudo-device	clockctl		# user control of clock subsystem
146pseudo-device	ksyms			# /dev/ksyms
147#pseudo-device	pf			# PF packet filter
148#pseudo-device	pflog			# PF log if
149
150#
151# device
152#
153options 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
154
155options 	PCIVERBOSE	# verbose PCI device messages
156#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
157options 	PCI_NETBSD_CONFIGURE	# Have NetBSD configure PCI I/O & Mem
158
159mainbus0 at root
160
161cpu*	at mainbus0
162pci*	at mainbus0 bus ?
163
164pchb*	at pci? dev ? function ?	# PCI host bridge
165pcib*	at pci? dev ? function ?	# Winbond 83C553 PCI-ISA bridges
166
167eumb*	at mainbus0
168com*	at eumb?
169ociic*	at eumb?
170iic*	at ociic?
171
172isa*	at pcib?			# ISA on PCI-ISA bridge
173
174mcclock0 at isa? port 0x70		# time-of-day clock
175
176# PCI IDE controllers - see pciide(4) for supported hardware.
177#pciide*	at pci? dev ? function ? flags 0x0000	# GENERIC pciide driver
178slide*		at pci? dev ? function ?	# 83C533 IDE controllers
179viaide*		at pci? dev ? function ?	# VIA/AMD/Nvidia IDE controllers
180cmdide*		at pci? dev ? function ?	# CMD tech IDE controllers
181iteide*		at pci? dev ? function ?	# IT Express IDE controllers
182satalink*	at pci? dev ? function ?	# SiI SATALink controllers
183
184# ATA (IDE) bus support
185atabus* at ata?
186
187# IDE drives
188wd*		at atabus? drive ? flags 0x0000	# the drives themselves
189
190#vga*	at pci? dev ? function ?
191
192# PCI network interfaces
193fxp*	at pci? dev ? function ?	# Intel EtherExpress PRO 10+/100B
194tlp*	at pci? dev ? function ?	# DEC Tulip and similar
195re*	at pci? dev ? function ?	# Realtek 8139C+/8169/8169S/8110S
196mskc*	at pci? dev ? function ?	# Marvell Yukon 2 Gigabit Ethernet
197msk*	at mskc?			# Marvell Yukon 2 Gigabit Ethernet
198wm*	at pci? dev ? function ?	# Intel 8254x gigabit
199
200inphy*	at mii? phy ?			# Intel 82555 PHYs
201nsphy*	at mii? phy ?			# NS83840 PHYs
202rgephy* at mii? phy ?			# Realtek 8169S/8110S internal PHYs
203makphy* at mii? phy ?			# Marvell Semiconductor 88E1000 PHYs
204ukphy*	at mii? phy ?			# generic unknown PHYs
205
206# USB Controller and Devices
207ehci*	at pci?	dev ? function ?	# Enhanced Host Controller
208ohci*	at pci?	dev ? function ?	# Open Host Controller
209uhci*	at pci?	dev ? function ?	# Universal Host Controller (Intel)
210
211# USB bus support
212usb*	at ehci?
213usb*	at ohci?
214usb*	at uhci?
215
216# USB Hubs
217uhub*	at usb?
218uhub*	at uhub? port ?
219
220# USB Mass Storage
221umass*	at uhub? port ? configuration ? interface ?
222wd*	at umass?
223
224pckbc0		at isa?			# PS/2 keyboard controller
225pckbd*		at pckbc?		# PC keyboard
226pms*		at pckbc?		# PS/2 mouse for wsmouse
227#wsdisplay*	at vga? console ?
228wskbd*	 	at pckbd? console ?
229wsmouse* 	at pms? mux 0
230
231attimer0	at isa?
232pcppi0		at isa?
233midi*		at pcppi?		# MIDI interface to the PC speaker
234#sysbeep0	at pcppi?
235
236com0	at isa? port 0x3f8 irq 4	# standard PC serial ports
237com1	at isa? port 0x2f8 irq 3
238
239#lpt0	at isa? port 0x278 irq 7	# standard PC parallel ports
240
241#fdc0	at isa? port 0x3f0 irq 6 drq 2	# standard PC floppy controllers
242#fd*	at fdc? drive ?			# the drives themselves
243
244#adw*	at pci? dev ? function ?	# AdvanSys 9x0UW[D], 3940U[2,3]W SCSI
245#dpt*	at pci? dev ? function ?	# DPT SmartCache/SmartRAID
246siop*	at pci? dev ? function ?	# NCR/Symbios 53c8xx SCSI
247
248#scsibus* at adw?
249#scsibus* at dpt?
250scsibus* at siop?
251scsibus* at umass?
252
253sd*	at scsibus? target ? lun ?	# SCSI disk drives
254#st*	at scsibus? target ? lun ?	# SCSI tape drives
255#cd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives
256#ch*	at scsibus? target ? lun ?	# SCSI autochangers
257#ses*	at scsibus? target ? lun ?	# SCSI Enclosure Services devices
258#ss*	at scsibus? target ? lun ?	# SCSI scanners
259#uk*	at scsibus? target ? lun ?	# SCSI unknown
260
261#atapibus* at atapi?
262#cd*	at atapibus? drive ? flags 0x0000	# ATAPI CD-ROM drives
263#sd*	at atapibus? drive ? flags 0x0000	# ATAPI disk drives
264#st*	at atapibus? drive ? flags 0x0000	# ATAPI tape drives
265#uk*	at atapibus? drive ? flags 0x0000	# ATAPI unknown
266
267# Veriexec
268#
269# a pseudo device needed for veriexec
270#pseudo-device	veriexec		1
271#
272# Uncomment the fingerprint methods below that are desired. Note that
273# removing fingerprint methods will have almost no impact on the kernel
274# code size.
275#
276#options VERIFIED_EXEC_FP_RMD160
277#options VERIFIED_EXEC_FP_SHA256
278#options VERIFIED_EXEC_FP_SHA384
279#options VERIFIED_EXEC_FP_SHA512
280#options VERIFIED_EXEC_FP_SHA1
281#options VERIFIED_EXEC_FP_MD5
282