GENERIC revision 1.114
1# $NetBSD: GENERIC,v 1.114 2013/06/05 23:08:00 christos 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/dreamcast/conf/std.dreamcast"
22
23options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
24
25maxusers	16		# estimated number of users
26
27# Standard system options
28#options 	INSECURE	# disable kernel security levels
29
30#options 	RTC_OFFSET=-540
31options 	HZ=100		# clock interrupt generates every 1/HZ sec
32options 	NTP		# NTP phase/frequency locked loop
33
34options 	KTRACE		# system call tracing via ktrace(1)
35
36options 	USERCONF	# userconf(4) support
37#options 	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
38options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
39
40options 	SYSVMSG		# System V-like message queues
41options 	SYSVSEM		# System V-like semaphores
42options 	SYSVSHM		# System V-like memory sharing
43
44#options 	MODULAR		# new style module(7) framework
45
46# Diagnostic/debugging support options
47#options 	DIAGNOSTIC	# cheap kernel consistency checks
48#options 	DEBUG		# expensive debugging checks/support
49#options 	KMEMSTATS	# kernel memory statistics (vmstat -m)
50options 	DDB		# in-kernel debugger
51#options 	KGDB			# remote debugger
52#options 	"KGDB_DEVNAME=\"scif\"",KGDB_DEVRATE=57600
53#makeoptions	DEBUG="-g"	# compile full symbol table
54options 	SYMTAB_SPACE=330000
55#options 	SYSCALL_DEBUG
56#options 	UVMHIST
57#options 	UVMHIST_PRINT
58
59# Compatibility options
60options 	COMPAT_16	# NetBSD 1.6,
61options 	COMPAT_20	# NetBSD 2.0,
62options 	COMPAT_30	# NetBSD 3.0,
63options 	COMPAT_40	# NetBSD 4.0 compatibility.
64options 	COMPAT_50	# NetBSD 5.0 compatibility.
65options 	COMPAT_60	# NetBSD 6.0 compatibility.
66options 	COMPAT_43	# and 4.3BSD
67#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
68options 	COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
69
70# Executable format options
71options 	EXEC_COFF	# COFF executables
72
73# File systems
74file-system 	FFS		# UFS
75#file-system	EXT2FS		# second extended file system (linux)
76#file-system	LFS		# log-structured file system
77file-system 	MFS		# memory file system
78file-system 	NFS		# Network File System client
79file-system	CD9660		# CD-ROM file system
80#file-system	MSDOSFS		# MS-DOS file system
81file-system	FDESC		# /dev/fd
82file-system 	KERNFS		# /kern
83file-system 	PROCFS		# /proc
84#file-system 	NULLFS		# loopback file system
85#file-system	OVERLAY		# overlay file system
86#file-system 	UMAPFS		# NULLFS + uid and gid remapping
87file-system	UNION		# union file system
88file-system	PTYFS		# /dev/pts/N support
89file-system	TMPFS		# Efficient memory file-system
90#file-system	UDF		# experimental - OSTA UDF CD/DVD file-system
91
92# File system options
93#options 	QUOTA		# legacy UFS quotas
94#options 	QUOTA2		# new, in-filesystem UFS quotas
95#options 	FFS_EI		# FFS Endian Independent supoprt
96options 	WAPBL		# File system journaling support
97#options 	UFS_DIRHASH	# UFS Large Directory Hashing - Experimental
98#options 	NFSSERVER	# Network File System server
99options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
100#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
101				# immutable) behave as system flags.
102
103# Networking options
104options 	INET		# IP + ICMP + TCP + UDP
105options 	INET6		# IPV6
106#options 	IPSEC		# IP security
107#options 	IPSEC_DEBUG	# debug for IP security
108#options 	MROUTING	# IP multicast routing
109#options 	PIM		# Protocol Independent Multicast
110#options 	NETATALK	# AppleTalk networking protocols
111#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
112#options 	PPP_DEFLATE	# Deflrate compression support for PPP
113#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
114#options 	PFIL_HOOKS	# pfil(9) packet filter hooks
115#options 	IPFILTER_LOG	# ipmon(8) log support
116#options 	IPFILTER_LOOKUP	# ippool(8) support
117#options 	IPFILTER_DEFAULT_BLOCK	# block all packets by default
118#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
119
120#options 	ALTQ		# Manipulate network interfaces' output queues
121#options 	ALTQ_BLUE	# Stochastic Fair Blue
122#options 	ALTQ_CBQ	# Class-Based Queueing
123#options 	ALTQ_CDNR	# Diffserv Traffic Conditioner
124#options 	ALTQ_FIFOQ	# First-In First-Out Queue
125#options 	ALTQ_FLOWVALVE	# RED/flow-valve (red-penalty-box)
126#options 	ALTQ_HFSC	# Hierarchical Fair Service Curve
127#options 	ALTQ_LOCALQ	# Local queueing discipline
128#options 	ALTQ_PRIQ	# Priority Queueing
129#options 	ALTQ_RED	# Random Early Detection
130#options 	ALTQ_RIO	# RED with IN/OUT
131#options 	ALTQ_WFQ	# Weighted Fair Queueing
132
133#options 	PCIVERBOSE	# verbose PCI device autoconfig messages
134#options 	MIIVERBOSE	# verbose PHY autoconfig messages
135#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
136
137options 	NFS_BOOT_DHCP	# Support DHCP NFS root
138
139options 	KLOADER		# in-kernel bootloader
140#options 	KLOADER_DEBUG
141
142# wscons options
143options 	WSEMUL_VT100		# VT100 / VT220 emulation
144options 	WSDISPLAY_COMPAT_USL		# wsconscfg VT handling
145options 	FONT_BOLD8x16
146#options 	FONT_SONY8x16
147
148# Kernel root file system and dump configuration.
149#config		netbsd	root on ? type nfs
150#config		netbsd	root on wd0a type ffs
151config		netbsd	root on ? type ?
152
153#
154# Device configuration
155#
156
157mainbus0 at root
158
159cpu*		at mainbus?
160shb*		at mainbus?
161
162# Serial Devices
163#options 	SCIFCONSOLE
164options 	SCIFCN_SPEED=57600
165scif0		at shb?
166
167pvr0		at shb?
168wsdisplay*	at pvr? console ?
169
170maple0		at shb?
171
172mkbd*		at maple? port ? subunit ?
173wskbd*		at mkbd? mux 1 console ?
174
175mms*		at maple? port ? subunit ?
176wsmouse*	at mms? mux 0
177
178mmem*		at maple? port ? subunit ?
179mlcd*		at maple? port ? subunit ?
180
181gdrom0		at shb?
182
183g2bus0		at shb?
184g2rtc0		at g2bus?			# time-of-day clock
185gapspci*	at g2bus?			# GAPS PCI bridge
186pci*		at gapspci?
187rtk*		at pci? dev ? function ?	# SEGA Broadband Adapter
188rlphy*		at mii? phy ?
189
190mbe*		at g2bus?			# SEGA LAN Adapter
191
192aica*		at g2bus?			# AICA Sound Processing Unit
193audio*		at aica?
194
195#pseudo-device	cgd			# cryptographic disk devices
196pseudo-device	md			# memory disk device (ramdisk)
197pseudo-device	vnd			# disk-like interface to files
198#options 	VND_COMPRESSION		# compressed vnd(4)
199
200# network pseudo-devices
201pseudo-device	bpfilter		# Berkeley packet filter
202#pseudo-device	carp			# Common Address Redundancy Protocol
203#pseudo-device	ipfilter		# IP filter (firewall) and NAT
204pseudo-device	loop			# network loopback
205#pseudo-device	ppp			# Point-to-Point Protocol
206#pseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
207#pseudo-device	sl			# Serial Line IP
208#pseudo-device	tun			# network tunneling over tty
209#pseudo-device	tap			# virtual Ethernet
210#pseudo-device	gre			# generic L3 over IP tunnel
211#pseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC1933)
212#pseudo-device	faith			# IPv[46] tcp relay translation i/f
213#pseudo-device	stf			# 6to4 IPv6 over IPv4 encapsulation
214#pseudo-device	vlan			# IEEE 802.1q encapsulation
215#pseudo-device	bridge			# simple inter-network bridging
216#options 	BRIDGE_IPF		# bridge uses IP/IPv6 pfil hooks too
217#pseudo-device	agr			# IEEE 802.3ad link aggregation
218
219#
220# accept filters
221pseudo-device   accf_data		# "dataready" accept filter
222pseudo-device   accf_http		# "httpready" accept filter
223
224# miscellaneous pseudo-devices
225pseudo-device	pty			# pseudo-terminals
226pseudo-device	clockctl		# user control of clock subsystem
227pseudo-device	wsmux			# mouse & keyboard multiplexor
228pseudo-device	ksyms			# /dev/ksyms
229#pseudo-device	pf			# PF packet filter
230#pseudo-device	pflog			# PF log if
231
232# Veriexec
233#
234# a pseudo device needed for veriexec
235#pseudo-device	veriexec
236#
237# Uncomment the fingerprint methods below that are desired. Note that
238# removing fingerprint methods will have almost no impact on the kernel
239# code size.
240#
241#options VERIFIED_EXEC_FP_RMD160
242#options VERIFIED_EXEC_FP_SHA256
243#options VERIFIED_EXEC_FP_SHA384
244#options VERIFIED_EXEC_FP_SHA512
245#options VERIFIED_EXEC_FP_SHA1
246#options VERIFIED_EXEC_FP_MD5
247