GENERIC revision 1.67
1# $NetBSD: GENERIC,v 1.67 2007/11/04 14:34:23 xtraeme 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/mipsco/conf/std.mipsco"
22
23options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
24
25maxusers	16
26
27options 	MIPS1			# R2000/R3000 support
28
29# Standard system options
30options 	KTRACE			# system call tracing support
31#options 	SYSTRACE		# system call vetting via systrace(1)
32options 	SYSVMSG			# System V message queues
33options 	SYSVSEM			# System V semaphores
34options 	SYSVSHM			# System V shared memory
35options 	P1003_1B_SEMAPHORE # p1003.1b semaphore support
36#options 	LKM			# loadable kernel modules
37#options 	NTP			# network time protocol
38options 	HZ=25
39options 	USERCONF		# userconf(4) support
40#options	PIPE_SOCKETPAIR		# smaller, but slower pipe(2)
41options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
42
43# Enable experimental buffer queue strategy for better responsiveness under 
44# high disk I/O load. Use it with caution - it's not proven to be stable yet.
45#options 	BUFQ_READPRIO
46#options 	BUFQ_PRIOCSCAN
47
48# Debugging options
49options 	DDB			# kernel dynamic debugger
50options 	DDB_HISTORY_SIZE=100	# enable history editing in DDB
51#options 	DEBUG			# extra kernel debugging support
52#options 	DIAGNOSTIC		# extra kernel sanity checking
53options 	SCSIVERBOSE		# Verbose SCSI errors
54
55#options 	KGDB			# Remote kernel debug using gdb
56#options 	KGDB_DEV=0x0100		# KGDB port (this is serial0)
57#options 	KGDB_DEVRATE=19200	# KGDB Baud Rate (default=19200)
58#makeoptions	DEBUG="-g"		# Build kernel with debug symbols
59
60# Compatibility options
61options 	COMPAT_43		# compatibility with 4.3BSD binaries
62#options 	COMPAT_10		# NetBSD 1.0 binary compatibility
63#options 	COMPAT_11		# NetBSD 1.1 binary compatibility
64#options 	COMPAT_12		# NetBSD 1.2 binary compatibility
65options 	COMPAT_13		# NetBSD 1.3 binary compatibility
66options 	COMPAT_14		# NetBSD 1.4 binary compatibility
67options 	COMPAT_15		# NetBSD 1.5 binary compatibility
68options 	COMPAT_16		# NetBSD 1.6 binary compatibility
69options 	COMPAT_20		# NetBSD 2.0 binary compatibility
70options 	COMPAT_30		# NetBSD 3.0 compatibility.
71#options 	EXEC_AOUT		# exec a.out binaries
72#options 	EXEC_ECOFF		# exec ecoff binaries
73#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
74options		COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
75
76# Filesystem options
77file-system	FFS		# Berkeley Fast Filesystem
78file-system	NFS		# Sun NFS-compatible filesystem client
79file-system	KERNFS		# kernel data-structure filesystem
80#file-system	NULLFS		# NULL layered filesystem
81#file-system	MFS		# memory-based filesystem
82#file-system	FDESC		# user file descriptor filesystem
83#file-system	UMAPFS		# uid/gid remapping filesystem
84#file-system	LFS		# Log-based filesystem (still experimental)
85#file-system	PORTAL		# portal filesystem (still experimental)
86file-system	PROCFS		# /proc
87file-system	CD9660		# ISO 9660 + Rock Ridge file system
88#file-system	UNION		# union file system
89#file-system	MSDOSFS		# MS-DOS FAT filesystem(s).
90file-system	PTYFS		# /dev/pts/N support
91#file-system	TMPFS		# Efficient memory file-system
92#file-system	UDF		# experimental - OSTA UDF CD/DVD file-system
93#
94options 	NFSSERVER	# Sun NFS-compatible filesystem server
95options 	QUOTA		# FFS quotas
96#options 	FFS_EI		# FFS Endian Independant support
97#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
98
99# Networking options
100options 	INET		# Internet protocols
101#options 	GATEWAY		# IP packet forwarding
102#options 	MROUTING	# packet forwarding of multicast packets
103#options 	PIM		# Protocol Independent Multicast
104#options 	ISO,TPIP	# OSI networking
105#options 	EON		# OSI tunneling over IP
106#options 	NETATALK	# AppleTalk (over Ethernet) protocol
107#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
108#options 	PPP_DEFLATE	# Deflate compression support for PPP
109#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
110#options 	PFIL_HOOKS	# pfil(9) packet filter hooks
111#options 	IPFILTER_LOG	# ipmon(8) log support
112#options 	IPFILTER_LOOKUP	# ippool(8) support
113#options 	IPFILTER_DEFAULT_BLOCK	# block all packets by default
114#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
115
116#options 	ALTQ		# Manipulate network interfaces' output queues
117#options 	ALTQ_BLUE	# Stochastic Fair Blue
118#options 	ALTQ_CBQ	# Class-Based Queueing
119#options 	ALTQ_CDNR	# Diffserv Traffic Conditioner
120#options 	ALTQ_FIFOQ	# First-In First-Out Queue
121#options 	ALTQ_FLOWVALVE	# RED/flow-valve (red-penalty-box)
122#options 	ALTQ_HFSC	# Hierarchical Fair Service Curve
123#options 	ALTQ_LOCALQ	# Local queueing discipline
124#options 	ALTQ_PRIQ	# Priority Queueing
125#options 	ALTQ_RED	# Random Early Detection
126#options 	ALTQ_RIO	# RED with IN/OUT
127#options 	ALTQ_WFQ	# Weighted Fair Queueing
128
129config		netbsd	root on ? type ?
130
131mainbus0 at root
132
133cpu0	at mainbus0
134obio0	at mainbus0
135
136mkclock0 at obio0 addr 0xbd000000	# MK48T02 realtime clock
137
138rambo0	at obio0 addr 0xbc000000	# RAMBO DMA & timer asic
139
140le0	at obio0 addr 0xba000000	# onboard LANCE ethernet
141
142# Not currently implemented
143#kb0	at obio0 addr 0xbfd00000	# keyboard
144#fb0	at obio0 addr 0x88000000	# framebuffer
145
146fd0	at obio0 addr 0xbe000000	# i82072 floppy disk controller
147
148zsc0	at obio0 addr 0xbb000000	# Base address for Z8530 SCC
149zstty0	at zsc0 channel 0		# tty00
150zstty1	at zsc0 channel 1		# tty01
151
152asc0	at obio0 addr 0xb8000000	# onboard NCR 53c94 SCSI controller
153
154scsibus0 at asc0
155
156sd*	at scsibus? target ? lun ?	# SCSI disks
157st*	at scsibus? target ? lun ?	# SCSI tapes
158cd*	at scsibus? target ? lun ?	# SCSI CD-ROMs
159ch*	at scsibus? target ? lun ?	# SCSI changer devices
160
161pseudo-device	loop			# loopback interface; required
162pseudo-device	pty			# pseudo-terminals
163#pseudo-device	sl			# SLIP interfaces
164#pseudo-device	ppp			# PPP interfaces
165#pseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
166pseudo-device	tun			# Network "tunnel" device
167pseudo-device	tap			# virtual Ethernet
168#pseudo-device	gre			# generic L3 over IP tunnel
169pseudo-device	bpfilter		# Berkeley Packet Filter
170#pseudo-device	carp			# Common Address Redundancy Protocol
171#pseudo-device	vnd			# disk-like interface to files
172#options 	VND_COMPRESSION		# compressed vnd(4)
173#pseudo-device	ccd		4	# concatenated and striped disks
174#pseudo-device	cgd		4	# cryptographic disks
175#pseudo-device	raid		8	# RAIDframe disk driver
176# Options to enable various other RAIDframe RAID types.
177# options	RF_INCLUDE_EVENODD=1
178# options	RF_INCLUDE_RAID5_RS=1
179# options	RF_INCLUDE_PARITYLOGGING=1
180# options	RF_INCLUDE_CHAINDECLUSTER=1
181# options	RF_INCLUDE_INTERDECLUSTER=1
182# options 	RF_INCLUDE_PARITY_DECLUSTERING=1
183# options	RF_INCLUDE_PARITY_DECLUSTERING_DS=1
184pseudo-device	fss		4	# file system snapshot device
185#pseudo-device	strip			# radio clock
186#pseudo-device	ipfilter		# ip filter
187pseudo-device	vlan			# IEEE 802.1q encapsulation
188pseudo-device	bridge			# simple inter-network bridging
189#options	BRIDGE_IPF		# bridge uses IP/IPv6 pfil hooks too
190pseudo-device	agr			# IEEE 802.3ad link aggregation
191pseudo-device	clockctl		# user control of clock subsystem
192
193# random number generator pseudo-device
194pseudo-device	rnd			# /dev/random and in-kernel generator
195#options 	RND_COM			# use "com" randomness as well (BROKEN)
196pseudo-device	ksyms			# /dev/ksyms
197#pseudo-device	pf			# PF packet filter
198#pseudo-device	pflog			# PF log if
199
200# Veriexec
201#
202# a pseudo device needed for veriexec
203#pseudo-device	veriexec		1
204#
205# Uncomment the fingerprint methods below that are desired. Note that
206# removing fingerprint methods will have almost no impact on the kernel
207# code size.
208#
209#options VERIFIED_EXEC_FP_RMD160
210#options VERIFIED_EXEC_FP_SHA256
211#options VERIFIED_EXEC_FP_SHA384
212#options VERIFIED_EXEC_FP_SHA512
213#options VERIFIED_EXEC_FP_SHA1
214#options VERIFIED_EXEC_FP_MD5
215