GENERIC revision 1.163
1# $NetBSD: GENERIC,v 1.163 2020/08/01 08:20:48 maxv 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/bebox/conf/std.bebox"
22
23options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
24
25#ident 		"GENERIC-$Revision: 1.163 $"
26
27maxusers	32
28
29# Standard system options
30
31options 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
32options 	NTP		# NTP phase/frequency locked loop
33
34options 	KTRACE		# system call tracing via ktrace(1)
35
36options 	SYSVMSG		# System V-like message queues
37options 	SYSVSEM		# System V-like semaphores
38options 	SYSVSHM		# System V-like memory sharing
39
40options 	USERCONF	# userconf(4) support
41#options 	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
42options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
43
44# Alternate buffer queue strategies for better responsiveness under high
45# disk I/O load.
46#options 	BUFQ_READPRIO
47options 	BUFQ_PRIOCSCAN
48
49# Diagnostic/debugging support options
50#options 	DIAGNOSTIC	# cheap kernel consistency checks
51#options 	DEBUG		# expensive debugging checks/support
52options 	DDB		# in-kernel debugger
53options 	DDB_ONPANIC=1	# see also sysctl(7): `ddb.onpanic'
54options 	DDB_HISTORY_SIZE=512	# Enable history editing in DDB
55#makeoptions	DEBUG="-g"
56
57include 	"conf/compat_netbsd09.config"
58
59#options 	COMPAT_386BSD_MBRPART	# recognize old partition ID
60#options 	COMPAT_LINUX	# Linux binary compatibility
61
62# File systems
63file-system	FFS		# UFS
64#file-system	EXT2FS		# second extended file system (linux)
65#file-system	LFS		# log-structured file system
66file-system	MFS		# memory file system
67file-system	NFS		# Network File System client
68file-system	CD9660		# ISO 9660 + Rock Ridge file system
69file-system	MSDOSFS		# MS-DOS file system
70#file-system	FDESC		# /dev/fd
71file-system	KERNFS		# /kern
72file-system	NULLFS		# loopback file system
73#file-system	OVERLAY		# overlay file system
74file-system	PROCFS		# /proc
75#file-system	UMAPFS		# NULLFS + uid and gid remapping
76file-system	UNION		# union file system
77#file-system	CODA		# Coda File System; also needs vcoda (below)
78file-system	PTYFS		# /dev/pts/N support
79file-system	TMPFS		# Efficient memory file-system
80#file-system	UDF		# experimental - OSTA UDF CD/DVD file-system
81#file-system	HFS		# experimental - Apple HFS+ (read-only)
82
83# File system options
84options 	QUOTA		# legacy UFS quotas
85options 	QUOTA2		# new, in-filesystem UFS quotas
86#options 	DISKLABEL_EI	# disklabel Endian Independent support
87#options 	FFS_EI		# FFS Endian Independent support
88options 	WAPBL		# File system journaling support
89#options 	UFS_DIRHASH	# UFS Large Directory Hashing - Experimental
90#options 	NFSSERVER	# Network File System server
91#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
92options 	UFS_EXTATTR	# Extended attribute support for UFS1
93#options 	EXT2FS_SYSTEM_FLAGS	# makes ext2fs file flags (append and
94				# immutable) behave as system flags.
95#options 	APPLE_UFS	# Apple UFS support in FFS
96
97# Networking options
98#options 	GATEWAY		# packet forwarding
99options 	INET		# IP + ICMP + TCP + UDP
100options 	INET6		# IPV6
101#options 	IPSEC		# IP security
102#options 	IPSEC_DEBUG	# debug for IP security
103#options 	MROUTING	# IP multicast routing
104#options 	PIM		# Protocol Independent Multicast
105#options 	NETATALK	# AppleTalk networking protocols
106#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
107#options 	PPP_DEFLATE	# Deflate compression support for PPP
108#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
109#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
110
111#options 	ALTQ		# Manipulate network interfaces' output queues
112#options 	ALTQ_BLUE	# Stochastic Fair Blue
113#options 	ALTQ_CBQ	# Class-Based Queueing
114#options 	ALTQ_CDNR	# Diffserv Traffic Conditioner
115#options 	ALTQ_FIFOQ	# First-In First-Out Queue
116#options 	ALTQ_FLOWVALVE	# RED/flow-valve (red-penalty-box)
117#options 	ALTQ_HFSC	# Hierarchical Fair Service Curve
118#options 	ALTQ_LOCALQ	# Local queueing discipline
119#options 	ALTQ_PRIQ	# Priority Queueing
120#options 	ALTQ_RED	# Random Early Detection
121#options 	ALTQ_RIO	# RED with IN/OUT
122#options 	ALTQ_WFQ	# Weighted Fair Queueing
123
124# These options enable verbose messages for several subsystems.
125# Warning, these may compile large string tables into the kernel!
126options 	PCIVERBOSE	# verbose PCI device autoconfig messages
127options 	MIIVERBOSE	# verbose PHY autoconfig messages
128#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
129options 	SCSIVERBOSE	# human readable SCSI error messages
130
131#options 	NFS_BOOT_BOOTPARAM,NFS_BOOT_BOOTP
132
133# wscons options
134# builtin terminal emulations
135#options 	WSEMUL_SUN		# sun terminal emulation
136options 	WSEMUL_VT100		# VT100 / VT220 emulation
137options 	WS_DEFAULT_FG=WSCOL_LIGHT_WHITE
138# compatibility to other console drivers
139options 	WSDISPLAY_COMPAT_USL	# wsconscfg VT handling
140options 	WSDISPLAY_COMPAT_RAWKBD	# can get raw scancodes
141
142config		netbsd	root on ? type ?
143
144mainbus0 at root
145
146cpu*	at mainbus0
147pci0	at mainbus0 bus ?
148
149pci*	at ppb? bus ?
150
151ppb*	at pci? dev ? function ?	# PCI-PCI bridges
152pchb*	at pci? dev ? function ?	# PCI-Host bridges
153pcib*	at pci? dev ? function ?	# PCI-ISA bridges
154
155isa*	at pcib?			# ISA on PCI-ISA bridge
156
157# Console Devices
158
159# wscons
160pckbc0		at isa?			# pc keyboard controller
161pckbd*		at pckbc?		# PC keyboard
162pms*		at pckbc?		# PS/2 mouse for wsmouse
163#options	PMS_DISABLE_POWERHOOK	# Disable PS/2 reset on resume
164#options 	PMS_SYNAPTICS_TOUCHPAD	# Enable support for Synaptics Touchpads
165genfb*		at pci? dev ? function ?
166options 	WSFB_FAKE_VGA_FB
167vga*		at pci? dev ? function ?
168wsdisplay*	at vga? console ?
169wskbd*		at pckbd? console ?
170wsmouse*	at pms? mux 0
171
172# make sure the console display is always wsdisplay0
173wsdisplay0	at wsemuldisplaydev? console 1
174wsdisplay*	at wsemuldisplaydev?
175
176com0	at isa? port 0x3f8 irq 4	# standard PC serial ports
177com1	at isa? port 0x2f8 irq 3
178com2	at isa? port 0x380 irq 22
179com3	at isa? port 0x388 irq 23
180
181lpt0	at isa? port 0x378 irq 7	# standard PC parallel ports
182
183mcclock0 at isa? port 0x70		# time-of-day clock
184attimer0 at isa?
185#pcppi0	at isa?
186#spkr*	at pcppi?
187
188wss0	at isa? port 0x82c irq 30 drq 6 drq2 7	# Windows Sound System
189
190# Audio support
191audio*	at audiobus?
192
193spkr*	at audio?			# PC speaker (synthesized)
194
195# MIDI support
196#midi*	at pcppi?			# MIDI interface to the PC speaker
197
198# Joystick driver. Probe is a little strange; add only if you have one.
199joy0	at isa? port 0x201
200
201siop*	at pci? dev ? function ?	# NCR 538XX SCSI controllers
202scsibus* at siop?
203
204sd*	at scsibus? target ? lun ?	# SCSI disk drives
205#st*	at scsibus? target ? lun ?	# SCSI tape drives
206cd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives
207#ch*	at scsibus? target ? lun ?	# SCSI autochangers
208#ss*	at scsibus? target ? lun ?	# SCSI scanners
209#uk*	at scsibus? target ? lun ?	# SCSI unknown
210
211fdc0	at isa? port 0x3f0 irq 6 drq 2	# standard PC floppy controllers
212fd0	at fdc? drive 1
213#fd*	at fdc? drive ?
214
215wdc0	at isa? port 0x1f0 irq 14	# ST506, ESDI, and IDE controllers
216
217atabus* at ata?
218wd*	at atabus? drive ?
219
220# ATAPI bus support
221atapibus* at atapi?
222
223# ATAPI devices
224# flags have the same meaning as for IDE drives.
225cd*	at atapibus? drive ? flags 0x0000	# ATAPI CD-ROM drives
226#sd*	at atapibus? drive ? flags 0x0000	# ATAPI disk drives
227#st*	at atapibus? drive ? flags 0x0000	# ATAPI tape drives
228#uk*	at atapibus? drive ? flags 0x0000	# ATAPI unknown
229
230# Network devices
231ec0	at isa? port 0x250 iomem 0xd8000 irq 9	# 3Com 3c503 Ethernet
232ne0	at isa? port 0x300 irq 5	# NE[12]000 ethernet cards
233fxp*	at pci? dev ? function ?	# Intel EtherExpress PRO 10+/100B
234ne*	at pci? dev ? function ?	# NE2000-compatible Ethernet
235tlp*	at pci? dev ? function ?	# DECchip 21x4x and clones
236
237# MII/PHY support
238ukphy*  at mii? phy ?                   # generic unknown PHYs
239
240# TV cards
241
242# Brooktree 848/849/878/879 based TV cards
243bktr*	at pci? dev ? function ?	# Brooktree video/audio capture/tuner
244
245
246# Pseudo-Devices
247
248pseudo-device	crypto			# /dev/crypto device
249					# (disabled, requires generic softints)
250pseudo-device	swcrypto		# software crypto implementation
251
252# disk/mass storage pseudo-devices
253#pseudo-device	bio			# RAID control device driver
254pseudo-device	ccd			# concatenated/striped disk devices
255pseudo-device	cgd			# cryptographic disk devices
256#pseudo-device	raid			# RAIDframe disk driver
257#options 	RAID_AUTOCONFIG		# auto-configuration of RAID components
258# Options to enable various other RAIDframe RAID types.
259#options 	RF_INCLUDE_EVENODD=1
260#options 	RF_INCLUDE_RAID5_RS=1
261#options 	RF_INCLUDE_PARITYLOGGING=1
262#options 	RF_INCLUDE_CHAINDECLUSTER=1
263#options 	RF_INCLUDE_INTERDECLUSTER=1
264#options 	RF_INCLUDE_PARITY_DECLUSTERING=1
265#options 	RF_INCLUDE_PARITY_DECLUSTERING_DS=1
266pseudo-device	fss			# file system snapshot device
267
268pseudo-device	md			# memory disk device
269pseudo-device	vnd			# disk-like interface to files
270options 	VND_COMPRESSION		# compressed vnd(4)
271
272# network pseudo-devices
273pseudo-device	bpfilter		# packet filter
274pseudo-device	carp			# Common Address Redundancy Protocol
275pseudo-device	npf			# NPF packet filter
276pseudo-device	loop			# network loopback
277pseudo-device	ppp			# Point-to-Point Protocol
278pseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
279pseudo-device	sl			# Serial Line IP
280#pseudo-device	irframetty		# IrDA frame line discipline
281pseudo-device	tap			# virtual Ethernet
282pseudo-device	tun			# network tunneling over tty
283#pseudo-device	gre			# generic L3 over IP tunnel
284#pseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC1933)
285#pseudo-device	faith			# IPv[46] tcp relay translation i/f
286#pseudo-device	stf			# 6to4 IPv6 over IPv4 encapsulation
287#pseudo-device	vlan			# IEEE 802.1q encapsulation
288#pseudo-device	bridge			# simple inter-network bridging
289#pseudo-device	agr			# IEEE 802.3ad link aggregation
290# srt is EXPERIMENTAL
291#pseudo-device	srt			# source-address-based routing
292
293#
294# accept filters
295pseudo-device   accf_data		# "dataready" accept filter
296pseudo-device   accf_http		# "httpready" accept filter
297
298# miscellaneous pseudo-devices
299pseudo-device	pty			# pseudo-terminals
300pseudo-device	sequencer		# MIDI sequencer
301#options 	RND_COM			# use "com" randomness as well (BROKEN)
302pseudo-device	clockctl		# user control of clock subsystem
303pseudo-device	ksyms			# /dev/ksyms
304pseudo-device	lockstat		# lock profiling
305#pseudo-device	bcsp			# BlueCore Serial Protocol
306#pseudo-device	btuart			# Bluetooth HCI UART (H4)
307
308# a pseudo device needed for Coda	# also needs CODA (above)
309#pseudo-device	vcoda			# coda minicache <-> venus comm.
310
311# wscons pseudo-devices
312pseudo-device	wsmux			# mouse & keyboard multiplexor
313pseudo-device	wsfont
314
315# pseudo audio device driver
316#pseudo-device	pad
317
318# userland interface to drivers, including autoconf and properties retrieval
319pseudo-device	drvctl
320
321include "dev/veriexec.config"
322
323#options 	PAX_MPROTECT=0		# PaX mprotect(2) restrictions
324#options 	PAX_ASLR=0		# PaX Address Space Layout Randomization
325