GENERIC revision 1.61
1# $NetBSD: GENERIC,v 1.61 2003/10/24 15:58:31 tsutsui 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/newsmips/conf/std.newsmips"
22
23options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
24
25#ident 		"GENERIC-$Revision: 1.61 $"
26
27maxusers	16
28
29options 	news3400		# NWS-3400/3700 support
30options 	news5000		# NWS-5000 support
31options 	MIPS1			# R2000/R3000 support
32options 	MIPS3			# R4000 support
33options 	CPU_SINGLE		# no I/O processor
34
35# Standard system options
36options 	KTRACE			# system call tracing support
37options 	SYSTRACE		# system call vetting via systrace(1)
38options 	SYSVMSG			# System V message queues
39options 	SYSVSEM			# System V semaphores
40#options 	SEMMNI=10		# number of semaphore identifiers
41#options 	SEMMNS=60		# number of semaphores in system
42#options 	SEMUME=10		# max number of undo entries per process
43#options 	SEMMNU=30		# number of undo structures in system
44options 	SYSVSHM			# System V shared memory
45#options 	SHMMAXPGS=1024		# 1024 pages is the default
46options 	LKM			# loadable kernel modules
47options 	NTP			# network time protocol
48options 	USERCONF		# userconf(4) support
49#options 	PIPE_SOCKETPAIR		# smaller, but slower pipe(2)
50
51# Enable experimental buffer queue strategy for better responsiveness under 
52# high disk I/O load. Use it with caution - it's not proven to be stable yet.
53#options 	NEW_BUFQ_STRATEGY
54
55# Debugging options
56options 	DDB			# kernel dynamic debugger
57#options 	DDB_HISTORY_SIZE=100	# enable history editing in DDB
58#options 	DEBUG			# extra kernel debugging support
59#options 	DIAGNOSTIC		# extra kernel sanity checking
60options 	SCSIVERBOSE		# Verbose SCSI errors
61
62# Compatibility options
63options 	COMPAT_43	# compatibility with 4.3BSD binaries
64options 	COMPAT_10	# NetBSD 1.0 binary compatibility
65options 	COMPAT_11	# NetBSD 1.1 binary compatibility
66options 	COMPAT_12	# NetBSD 1.2 binary compatibility
67options 	COMPAT_13	# NetBSD 1.3 binary compatibility
68options 	COMPAT_14	# NetBSD 1.4 binary compatibility
69options 	COMPAT_16	# NetBSD 1.6 binary compatibility
70#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
71#options 	EXEC_AOUT	# exec a.out binaries
72#options 	EXEC_ECOFF	# exec ecoff binaries
73
74# Filesystem options
75file-system	FFS		# Berkeley Fast Filesystem
76file-system	NFS		# Sun NFS-compatible filesystem client
77file-system	KERNFS		# kernel data-structure filesystem
78file-system	NULLFS		# NULL layered filesystem
79file-system 	OVERLAY		# overlay file system
80file-system	MFS		# memory-based filesystem
81file-system	FDESC		# user file descriptor filesystem
82file-system	UMAPFS		# uid/gid remapping filesystem
83file-system	LFS		# Log-based filesystem (still experimental)
84file-system	PORTAL		# portal filesystem (still experimental)
85file-system	PROCFS		# /proc
86file-system	CD9660		# ISO 9660 + Rock Ridge file system
87file-system	UNION		# union file system
88file-system	MSDOSFS		# MS-DOS FAT filesystem(s).
89
90options 	NFSSERVER	# Sun NFS-compatible filesystem server
91options 	QUOTA		# FFS quotas
92#options 	FFS_EI		# FFS Endian Independant support
93options 	SOFTDEP		# FFS soft updates support.
94
95# Networking options
96options 	INET		# Internet protocols
97options 	INET6		# IPV6
98#options 	IPSEC		# IP security
99#options 	IPSEC_ESP	# IP security (encryption part; define w/IPSEC)
100#options 	IPSEC_DEBUG	# debug for IP security
101#options 	GATEWAY		# IP packet forwarding
102#options 	MROUTING	# packet forwarding of multicast packets
103options 	NS		# Xerox NS networking
104#options 	NSIP		# Xerox NS tunneling over IP
105#options 	ISO,TPIP	# OSI networking
106#options 	EON		# OSI tunneling over IP
107#options 	CCITT,LLC,HDLC	# X.25
108options 	NETATALK	# AppleTalk (over Ethernet) protocol
109options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
110options 	PPP_DEFLATE	# Deflate compression support for PPP
111options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
112options 	PFIL_HOOKS	# pfil(9) packet filter hooks
113options 	IPFILTER_LOG	# ipmon(8) log support
114#options 	IPFILTER_DEFAULT_BLOCK	# block all packets by default
115#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
116
117options 	NFS_BOOT_BOOTPARAM
118
119# wscons options
120options 	WSEMUL_VT100		# VT100 / VT220 emulation
121options 	FONT_GALLANT12x22
122
123config	netbsd	root on ? type ?
124
125mainbus0 at root
126
127cpu0	at mainbus0
128hb0	at mainbus0			# Hyper-bus on news3400
129ap0	at mainbus0			# APbus on news5000
130
131mkclock0 at hb0 addr 0xbff407f8		# MK48T02 realtime clock
132mkclock0 at ap?				#
133
134le0	at hb0 addr 0xbff80000 level 1	# on-board LANCE Ethernet
135le1	at hb0 addr 0xb8c30000 level 0	# NWB-235A LANCE Ethernet
136
137sn*	at ap?				# on-board/NWB-5851 SONIC Ethernet
138tlp*	at ap?				# NWB-5852A tulip Ethernet
139
140kb0	at hb0 addr 0xbfd00000 level 2	# keyboard
141kb0	at ap?				#
142wskbd0	at kb? console ?
143
144ms0	at hb0 addr 0xbfd00004 level 2	# mouse
145ms0	at ap?				#
146wsmouse0 at ms?
147
148zsc0	at hb0 addr 0xbfec0000 level 1 flags 0x0	# on-board serial
149zsc1	at hb0 addr 0xb8c40100 level 1 flags 0x1	# NWB-231A 4ch serial
150zsc2	at hb0 addr 0xb8c40104 level 1 flags 0x1	#
151zsc0	at ap?
152
153zstty0	at zsc0 channel 0		# tty00
154zstty1	at zsc0 channel 1		# tty01
155zstty2	at zsc1 channel 0		# tty02
156zstty3	at zsc1 channel 1		# tty03
157zstty4	at zsc2 channel 0		# tty04
158zstty5	at zsc2 channel 1		# tty05
159
160fb0	at hb0 addr 0x88000000		# NWB-253 frame buffer
161wsdisplay0 at fb? console ?
162
163xafb*	at ap?				# "XA" frame buffer
164wsdisplay0 at xafb? console ?
165
166sc0	at hb0 addr 0xbfe00100 level 0	# on-board CXD1185 SCSI controller
167scsibus* at sc0
168
169dmac*	at ap?				# dmac3
170spifi*	at ap?				# SPIFI SCSI
171scsibus* at spifi?
172
173sd*	at scsibus? target ? lun ?	# SCSI disks
174st*	at scsibus? target ? lun ?	# SCSI tapes
175cd*	at scsibus? target ? lun ?	# SCSI CD-ROMs
176ch*	at scsibus? target ? lun ?	# SCSI changer devices
177
178pseudo-device	loop			# loopback interface; required
179pseudo-device	pty			# pseudo-terminals
180pseudo-device	sl		2	# SLIP interfaces
181pseudo-device	ppp		2	# PPP interfaces
182pseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
183pseudo-device	tun		4	# Network "tunnel" device
184#pseudo-device	gre		2	# generic L3 over IP tunnel
185pseudo-device	bpfilter	16	# Berkeley Packet Filter
186pseudo-device	gif		4	# IPv[46] over IPv[46] tunnel (RFC1933)
187#pseudo-device	faith		1	# IPv[46] tcp relay translation i/f
188#pseudo-device	stf		1	# 6to4 IPv6 over IPv4 encapsulation
189pseudo-device	vlan			# IEEE 802.1q encapsulation
190pseudo-device	bridge			# simple inter-network bridging
191#options	BRIDGE_IPF		# bridge uses IP/IPv6 pfil hooks too
192pseudo-device	vnd		4	# disk-like interface to files
193pseudo-device	ccd		4	# concatenated and striped disks
194#pseudo-device	raid		8	# RAIDframe disk driver
195#options 	RAID_AUTOCONFIG		# auto-configuration of RAID components
196# Options to enable various other RAIDframe RAID types.
197#options 	RF_INCLUDE_EVENODD=1
198#options 	RF_INCLUDE_RAID5_RS=1
199#options 	RF_INCLUDE_PARITYLOGGING=1
200#options 	RF_INCLUDE_CHAINDECLUSTER=1
201#options 	RF_INCLUDE_INTERDECLUSTER=1
202#options 	RF_INCLUDE_PARITY_DECLUSTERING=1
203#options 	RF_INCLUDE_PARITY_DECLUSTERING_DS=1
204#pseudo-device	strip		1	# radio clock
205#pseudo-device	ipfilter		# ip filter
206pseudo-device	rnd			# /dev/random and in-kernel generator
207pseudo-device	clockctl		# user control of clock subsystem
208pseudo-device	ksyms			# /dev/ksyms
209