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