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