1# $NetBSD: GENERIC,v 1.146 2023/11/04 15:30:52 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.146 $"
26
27makeoptions	COPTS="-O2 -fno-unwind-tables"
28
29maxusers	16
30
31options 	news3400		# NWS-3400/3700 support
32options 	news4000		# NWS-4000 support
33options 	news5000		# NWS-5000 support
34options 	MIPS1			# R2000/R3000 support
35options 	MIPS3			# R4000 support
36options 	CPU_SINGLE		# no I/O processor
37
38# Standard system options
39options 	KTRACE			# system call tracing support
40options 	SYSVMSG			# System V message queues
41options 	SYSVSEM			# System V semaphores
42options 	SYSVSHM			# System V shared memory
43options 	NTP			# network time protocol
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# Alternate buffer queue strategies for better responsiveness under high
49# disk I/O load.
50#options 	BUFQ_READPRIO
51options 	BUFQ_PRIOCSCAN
52
53# Debugging options
54options 	DDB			# kernel dynamic debugger
55#options 	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# Compatibility options
61include 	"conf/compat_netbsd10.config"
62#options 	EXEC_ECOFF	# exec ecoff binaries
63
64# File systems
65file-system	FFS		# Berkeley Fast Filesystem
66file-system	NFS		# Sun NFS-compatible filesystem client
67file-system	KERNFS		# kernel data-structure filesystem
68file-system	NULLFS		# NULL layered filesystem
69file-system 	OVERLAY		# overlay file system
70file-system	MFS		# memory-based filesystem
71file-system	FDESC		# user file descriptor filesystem
72file-system	UMAPFS		# uid/gid remapping filesystem
73file-system	LFS		# Log-based filesystem (still experimental)
74file-system	PUFFS		# Userspace file systems (e.g. ntfs-3g & sshfs)
75file-system	PROCFS		# /proc
76file-system	CD9660		# ISO 9660 + Rock Ridge file system
77file-system	UNION		# union file system
78file-system	MSDOSFS		# MS-DOS FAT filesystem(s).
79file-system	PTYFS		# /dev/pts/N support
80file-system	TMPFS		# Efficient memory file-system
81#file-system	UDF		# experimental - OSTA UDF CD/DVD file-system
82
83# File system options
84#options 	FFS_EI		# FFS Endian Independent support
85#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
86options 	QUOTA		# legacy UFS quotas
87options 	QUOTA2		# new, in-filesystem UFS quotas
88#options 	UFS_DIRHASH	# UFS Large Directory Hashing
89options 	UFS_EXTATTR	# Extended attribute support for UFS1
90options 	WAPBL		# File system journaling support
91#options 	LFS_DIRHASH	# LFS version of UFS_DIRHASH - experimental
92options 	NFSSERVER	# Network File System server
93
94# Networking options
95options 	INET		# Internet protocols
96options 	INET6		# IPV6
97#options 	IPSEC		# IP security
98#options 	IPSEC_DEBUG	# debug for IP security
99#options 	GATEWAY		# IP packet forwarding
100#options 	MROUTING	# packet forwarding of multicast packets
101#options 	PIM		# Protocol Independent Multicast
102options 	NETATALK	# AppleTalk (over Ethernet) protocol
103options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
104options 	PPP_DEFLATE	# Deflate compression support for PPP
105options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
106#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
107
108#options 	ALTQ		# Manipulate network interfaces' output queues
109#options 	ALTQ_BLUE	# Stochastic Fair Blue
110#options 	ALTQ_CBQ	# Class-Based Queueing
111#options 	ALTQ_CDNR	# Diffserv Traffic Conditioner
112#options 	ALTQ_FIFOQ	# First-In First-Out Queue
113#options 	ALTQ_FLOWVALVE	# RED/flow-valve (red-penalty-box)
114#options 	ALTQ_HFSC	# Hierarchical Fair Service Curve
115#options 	ALTQ_LOCALQ	# Local queueing discipline
116#options 	ALTQ_PRIQ	# Priority Queueing
117#options 	ALTQ_RED	# Random Early Detection
118#options 	ALTQ_RIO	# RED with IN/OUT
119#options 	ALTQ_WFQ	# Weighted Fair Queueing
120
121#options 	NFS_BOOT_BOOTPARAM
122options 	NFS_BOOT_DHCP
123
124# JIT compiler for bpfilter
125#options	SLJIT
126#options	BPFJIT
127
128# wscons options
129options 	WSEMUL_VT100		# VT100 / VT220 emulation
130options 	WSDISPLAY_COMPAT_USL		# wsconscfg VT handling
131#options 	FONT_GALLANT12x22
132options 	FONT_SONY12x24
133
134config	netbsd	root on ? type ?
135
136mainbus0 at root
137
138cpu0	at mainbus0
139hb0	at mainbus0			# Hyper-bus on news3400
140ap0	at mainbus0			# APbus on news5000
141
142mkclock0 at hb0 addr 0xbff40000		# MK48T02 realtime clock
143mkclock0 at ap?				#
144
145le0	at hb0 addr 0xbff80000 level 1	# on-board LANCE Ethernet
146le1	at hb0 addr 0xb8c30000 level 0	# NWB-235A LANCE Ethernet
147
148sn*	at ap?				# on-board/NWB-5851 SONIC Ethernet
149tlp*	at ap?				# NWB-5852A tulip Ethernet
150
151kb0	at hb0 addr 0xbfd00000 level 2	# keyboard
152kb0	at ap?				#
153wskbd0	at kb? console ?
154
155ms0	at hb0 addr 0xbfd00004 level 2	# mouse
156ms0	at ap?				#
157wsmouse0 at ms?
158
159zsc0	at hb0 addr 0xbfec0000 level 1 flags 0x0	# on-board serial
160zsc1	at hb0 addr 0xb8c40100 level 1 flags 0x1	# NWB-231A 4ch serial
161zsc2	at hb0 addr 0xb8c40104 level 1 flags 0x1	#
162zsc0	at ap?
163options 	NEWS4000_ZS_AP_POLLING	# XXX: can't get interrupt on news4000
164
165zstty0	at zsc0 channel 0		# tty00
166zstty1	at zsc0 channel 1		# tty01
167zstty2	at zsc1 channel 0		# tty02
168zstty3	at zsc1 channel 1		# tty03
169zstty4	at zsc2 channel 0		# tty04
170zstty5	at zsc2 channel 1		# tty05
171
172fb0	at hb0 addr 0x88000000		# NWB-253 frame buffer
173fb0	at hb0 addr 0x90200000		# LCD-MONO on NWS-32x0
174wsdisplay0 at fb? console ?
175
176xafb*	at ap?				# "XA" frame buffer
177wsdisplay0 at xafb? console ?
178
179sc0	at hb0 addr 0xbfe00100 level 0	# on-board CXD1185 SCSI controller
180scsibus* at sc0
181
182dmac*	at ap?				# dmac3
183spifi*	at ap?				# SPIFI SCSI
184scsibus* at spifi?
185
186sd*	at scsibus? target ? lun ?	# SCSI disks
187st*	at scsibus? target ? lun ?	# SCSI tapes
188cd*	at scsibus? target ? lun ?	# SCSI CD-ROMs
189ch*	at scsibus? target ? lun ?	# SCSI changer devices
190
191#
192# accept filters
193pseudo-device   accf_data		# "dataready" accept filter
194pseudo-device   accf_http		# "httpready" accept filter
195
196pseudo-device	loop			# loopback interface; required
197pseudo-device	pty			# pseudo-terminals
198pseudo-device	sl			# SLIP interfaces
199pseudo-device	ppp			# PPP interfaces
200pseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
201pseudo-device	tun			# Network "tunnel" device
202pseudo-device	tap			# virtual Ethernet
203#pseudo-device	gre			# generic L3 over IP tunnel
204pseudo-device	bpfilter		# Berkeley Packet Filter
205pseudo-device	carp			# Common Address Redundancy Protocol
206pseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC1933)
207#pseudo-device	faith			# IPv[46] tcp relay translation i/f
208pseudo-device	stf			# 6to4 IPv6 over IPv4 encapsulation
209pseudo-device	vlan			# IEEE 802.1q encapsulation
210pseudo-device	bridge			# simple inter-network bridging
211pseudo-device	vether			# Virtual Ethernet for bridge
212pseudo-device	agr			# IEEE 802.3ad link aggregation
213pseudo-device	vnd			# disk-like interface to files
214#options 	VND_COMPRESSION		# compressed vnd(4)
215pseudo-device	ccd			# concatenated and striped disks
216#pseudo-device	raid			# RAIDframe disk driver
217#options 	RAID_AUTOCONFIG		# auto-configuration of RAID components
218# Options to enable various other RAIDframe RAID types.
219#options 	RF_INCLUDE_EVENODD=1
220#options 	RF_INCLUDE_RAID5_RS=1
221#options 	RF_INCLUDE_PARITYLOGGING=1
222#options 	RF_INCLUDE_CHAINDECLUSTER=1
223#options 	RF_INCLUDE_INTERDECLUSTER=1
224#options 	RF_INCLUDE_PARITY_DECLUSTERING=1
225#options 	RF_INCLUDE_PARITY_DECLUSTERING_DS=1
226pseudo-device	fss			# file system snapshot device
227#pseudo-device	npf			# NPF packet filter
228pseudo-device	clockctl		# user control of clock subsystem
229pseudo-device	ksyms			# /dev/ksyms
230pseudo-device	putter			# for puffs and pud
231pseudo-device 	swwdog			# software watchdog timer -- swwdog(4)
232
233include "dev/veriexec.config"
234
235# Pull in optional local configuration - always at end
236cinclude	"arch/newsmips/conf/GENERIC.local"
237