1# $NetBSD: SMALL020,v 1.1 2025/11/29 23:15:23 thorpej 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/hp300/conf/std.hp300"
22
23options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
24
25#ident 		"GENERIC-$Revision: 1.1 $"
26
27makeoptions	COPTS="-O2 -fno-reorder-blocks -fno-unwind-tables -fno-omit-frame-pointer"
28	# See share/mk/sys.mk. -fno-omit-frame-pointer is necessary for
29	# backtraces in DDB.
30
31maxusers	8		# estimated number of users
32
33# Support for various CPU types
34options 	HP320
35options 	HP330		# includes 318, 319
36#options 	HP340
37#options 	HP345
38options 	HP350
39#options 	HP360
40#options 	HP362
41#options 	HP370
42#options 	HP375
43#options 	HP380
44#options 	HP382
45#options 	HP385
46#options 	HP400
47#options 	HP425
48#options 	HP433
49#options 	FPSP		# floating point interface for 68040
50#options 	FPU_EMULATE	# software fpu emulation for MC68030
51
52# Standard system options
53options 	KTRACE		# system call tracing support
54#options 	INSECURE	# disable kernel security level
55options 	USERCONF	# userconf(4) support
56#options 	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
57#options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
58#options 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
59options 	NTP		# NTP phase/frequency locked loop
60options 	SYSVMSG		# System V-style message queues
61options 	SYSVSEM		# System V-style semaphores
62options 	SYSVSHM		# System V-style shared memory
63
64options 	MODULAR		# new style module(7) framework
65options 	MODULAR_DEFAULT_AUTOLOAD
66
67# Alternate buffer queue strategies for better responsiveness under high
68# disk I/O load.
69#options 	BUFQ_READPRIO
70options 	BUFQ_PRIOCSCAN
71
72# Debugging options
73#options 	DIAGNOSTIC	# Extra kernel sanity checks
74#options 	DEBUG		# Enable misc. kernel debugging code
75options 	DDB		# Kernel Dynamic Debugger
76options 	DDB_HISTORY_SIZE=512	# Enable history editing in DDB
77#options 	KGDB		# remote debugger
78#makeoptions	DEBUG="-g"	# netbsd.gdb with full debugging symbols
79
80# Compatibility options
81include 	"conf/compat_netbsd09.config"
82
83# Binary compatibility.
84options 	COMPAT_AOUT_M68K	# NetBSD/m68k a.out binary compatibility
85options 	COMPAT_M68K4K	# NetBSD/m68k4k binary compatibility
86#options 	COMPAT_SUNOS	# SunOS4 m68k binary compatibility
87#options 	COMPAT_LINUX	# Linux/m68k binary compatibility
88#options 	COMPAT_OSSAUDIO	# Linux/m68k binary compatibility
89
90# Filesystems
91file-system	CD9660		# CD-ROM ISO-9660 filesystem
92#file-system	EXT2FS		# second extended file system (linux)
93file-system	FDESC		# user file descriptor filesystem
94file-system	FFS		# fast filesystem
95file-system	KERNFS		# kernel data-structure filesystem
96#file-system	LFS		# log-structured file system
97file-system	MFS		# Memory-based filesystem
98file-system	NFS		# Network filesystem client
99#file-system	NULLFS		# loopback file system
100#file-system	OVERLAY		# overlay file system
101#file-system	PUFFS		# Userspace file systems (e.g. ntfs-3g & sshfs)
102file-system	PROCFS		# /proc filesystem
103#file-system	UMAPFS		# NULLFS + uid and gid remapping
104#file-system	UNION		# Union filesystem (req. for FDESC)
105#file-system	CODA		# Coda File System; also needs vcoda (below)
106file-system	PTYFS		# /dev/pts/N support
107#file-system	TMPFS		# Efficient memory file-system
108#file-system	UDF		# experimental - OSTA UDF CD/DVD file-system
109
110# File system options
111#options 	FFS_EI		# FFS Endian Independent support
112options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
113#options 	QUOTA		# legacy UFS quotas
114#options 	QUOTA2		# new, in-filesystem UFS quotas
115#options 	UFS_DIRHASH	# UFS Large Directory Hashing
116#options 	UFS_EXTATTR	# Extended attribute support for UFS1
117#options 	WAPBL		# File system journaling support
118#options 	NFSSERVER	# Network File System server
119
120# Networking options
121options 	INET		# Internet protocols
122options 	INET6		# IPV6
123#options 	IPSEC		# IP security
124#options 	IPSEC_DEBUG	# debug for IP security
125#options 	GATEWAY		# IP forwarding
126#options 	MROUTING	# Multicast routing
127#options 	PIM		# Protocol Independent Multicast
128#options 	NETATALK	# AppleTalk networking protocols
129#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
130#options 	PPP_DEFLATE	# Deflate compression support for PPP
131#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
132#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
133
134#options 	ALTQ		# Manipulate network interfaces' output queues
135#options 	ALTQ_BLUE	# Stochastic Fair Blue
136#options 	ALTQ_CBQ	# Class-Based Queueing
137#options 	ALTQ_CDNR	# Diffserv Traffic Conditioner
138#options 	ALTQ_FIFOQ	# First-In First-Out Queue
139#options 	ALTQ_FLOWVALVE	# RED/flow-valve (red-penalty-box)
140#options 	ALTQ_HFSC	# Hierarchical Fair Service Curve
141#options 	ALTQ_LOCALQ	# Local queueing discipline
142#options 	ALTQ_PRIQ	# Priority Queueing
143#options 	ALTQ_RED	# Random Early Detection
144#options 	ALTQ_RIO	# RED with IN/OUT
145#options 	ALTQ_WFQ	# Weighted Fair Queueing
146
147#options 	NFS_BOOT_BOOTP	# use bootp for NFS boot
148options 	NFS_BOOT_DHCP	# use dhcp for NFS boot
149
150# Options for HP hardware
151options 	USELEDS		# make the lights twinkle
152#options 	PANICBUTTON	# two fast <reset>s on HIL dump kernel
153#options 	CONSCODE=9	# force console at this select code
154
155# These options enable verbose messages for several subsystems.
156# Warning, these may compile large string tables into the kernel!
157#options 	SCSIVERBOSE	# Verbose SCSI errors
158#options 	DIOVERBOSE	# recognize "unknown" DIO devices
159
160# workstation console options
161options 	WSEMUL_VT100			# VT100 / VT220 emulation
162#options 	WSDISPLAY_DEFAULTSCREENS=1
163options 	WSDISPLAY_COMPAT_USL		# wsconscfg VT handling
164#options 	WSDISPLAY_COMPAT_RAWKBD
165options 	WS_KERNEL_FG=WSCOL_GREEN
166#options 	WS_KERNEL_BG=WSCOL_BLACK
167
168#options 	FONT_GALLANT12x22
169options 	FONT_VT220ISO8x16
170
171config		netbsd root on ? type ?
172
173#
174# Device configuration
175#
176
177mainbus0	at root			# root "bus"
178
179intio0		at mainbus0		# internal i/o space
180dio0		at mainbus0		# DIO/DIO-II bus
181#sgc0		at mainbus0		# SGC bus
182
183# Real-time clock (not optional)
184rtc*		at intio?
185
186# DMA controller
187dma* 		at intio?
188
189# Human Interface Loop devices
190hil0		at intio?		# HIL controller
191hilkbd* 	at hil?			# keyboards
192wskbd*		at hilkbd? mux 1
193hilms*		at hil?			# mice, buttons and tablets
194wsmouse*	at hilms? mux 0
195hilid*		at hil?			# ID module
196
197# Frodo utility chip found on 382, 4xx's
198#frodo*		at intio?
199
200# 8250-like serial ports found on Frodo ASIC
201#dnkbd0		at frodo? offset 0x0	# Domain keyboard flavor
202#wskbd*		at dnkbd? mux 1
203#wsmouse*	at dnkbd? mux 0
204#com*		at frodo? offset ?	# tty flavor
205
206# mc146818-like real time clock found on 425e
207#mcclock0	at frodo? offset 0x80
208
209# Davinci framebuffer
210dvbox*		at intio?
211dvbox*		at dio? scode ?
212wsdisplay*	at dvbox?
213
214# Gatorbox framebuffer
215gbox*		at intio?
216gbox*		at dio? scode ?
217wsdisplay*	at gbox?
218
219# Hyperion framebuffer
220hyper*		at dio? scode ?
221wsdisplay*	at hyper?
222
223# Renaissance framebuffer
224rbox*		at intio?
225rbox*		at dio? scode ?
226wsdisplay*	at rbox?
227
228# Topcat/catseye framebuffers
229topcat*		at intio?
230topcat*		at dio? scode ?
231wsdisplay*	at topcat?
232
233# TurboVRX framebuffer
234#tvrx*		at dio? scode ?
235#wsdisplay*	at tvrx?
236
237# dumb framebuffer support for 362/382
238#gendiofb*	at dio? scode ?
239#wsdisplay*	at gendiofb?
240
241# STI framebuffers
242#sti*		at dio? scode ?		# 362 and 382
243#sti*		at sgc?	slot ?		# 425e and 425t variants
244#wsdisplay*	at sti?
245
246com0		at dio0 scode 9		# DCA serial interfaces
247com*		at dio? scode ?
248
249dcm*		at dio? scode ?	flags 0xe # DCM 4- or 8-port serial interfaces
250
251le*		at dio? scode ?		# LANCE ethernet interfaces
252
253# HP-IB devices
254nhpib*		at intio?		# internal HP-IB
255nhpib0		at dio? scode 7		# 98624A HP-IB
256nhpib*		at dio? scode ?
257
258fhpib*		at dio? scode ?		# 98625A/98625B HP-IB
259
260hpibbus0	at nhpib0
261hpibbus*	at nhpib?
262hpibbus*	at fhpib?
263
264rd*		at hpibbus? slave ? punit ?	# HP-IB disks
265ct*		at hpibbus? slave ? punit ?	# HP-IB cartridge tapes
266mt*		at hpibbus? slave ? punit ?	# HP-IB 9-track tape
267ppi0		at hpibbus0 slave 5 punit 0	# HP-IB plotter
268
269# SCSI devices
270spc*		at dio? scode ?			# HP 98265A SCSI
271scsibus*	at spc?
272
273sd*		at scsibus? target ? lun ?	# SCSI disks
274st*		at scsibus? target ? lun ?	# SCSI tapes
275cd*		at scsibus? target ? lun ?	# SCSI CD-ROMs
276ch*		at scsibus? target ? lun ?	# SCSI changer devices
277ss*		at scsibus? target ? lun ?	# SCSI scanners
278uk*		at scsibus? target ? lun ?	# unknown SCSI devices
279
280# 425e digital audio
281#arcofi* 	at dio? scode ?
282#audio*		at arcofi?
283
284#spkr*		at audio?		# PC speaker (synthesized)
285
286#
287# Pseudo-devices
288#
289
290# disk pseudo-devices
291pseudo-device	ccd			# concatenated disk devices
292#pseudo-device	cgd			# cryptographic disk devices
293#pseudo-device	raid			# RAIDframe disk driver
294#options 	RAID_AUTOCONFIG		# auto-configuration of RAID components
295# Options to enable various other RAIDframe RAID types.
296#options 	RF_INCLUDE_EVENODD=1
297#options 	RF_INCLUDE_RAID5_RS=1
298#options 	RF_INCLUDE_PARITYLOGGING=1
299#options 	RF_INCLUDE_CHAINDECLUSTER=1
300#options 	RF_INCLUDE_INTERDECLUSTER=1
301#options 	RF_INCLUDE_PARITY_DECLUSTERING=1
302#options 	RF_INCLUDE_PARITY_DECLUSTERING_DS=1
303#pseudo-device	fss			# file system snapshot device
304pseudo-device	md			# memory disk device (ramdisk)
305pseudo-device	vnd			# vnode pseudo-disks
306#options 	VND_COMPRESSION		# compressed vnd(4)
307
308# network pseudo-devices
309#pseudo-device	bridge			# simple inter-network bridging
310#pseudo-device	vether			# Virtual Ethernet for bridge
311#pseudo-device	agr			# IEEE 802.3ad link aggregation
312pseudo-device	bpfilter		# Berkeley packet filter
313#pseudo-device	carp			# Common Address Redundancy Protocol
314#pseudo-device	faith			# IPv[46] tcp relay translation i/f
315pseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC1933)
316#pseudo-device	gre			# generic L3 over IP tunnel
317pseudo-device	loop			# loopback network interface
318#pseudo-device	npf			# NPF packet filter
319#pseudo-device	ppp			# PPP network interfaces
320#pseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
321#pseudo-device	sl			# SLIP network interfaces
322#pseudo-device	stf			# 6to4 IPv6 over IPv4 encapsulation
323#pseudo-device	tun			# network tunneling over tty
324#pseudo-device	tap			# virtual Ethernet
325#pseudo-device	vlan			# IEEE 802.1q encapsulation
326
327# accept filters
328#pseudo-device   accf_data		# "dataready" accept filter
329#pseudo-device   accf_http		# "httpready" accept filter
330
331# miscellaneous pseudo-devices
332pseudo-device	clockctl		# user control of clock subsystem
333pseudo-device	drvctl			# user control of drive subsystem
334pseudo-device	pty			# pseudo-terminals
335#pseudo-device	vcoda			# coda minicache <-> venus comm.
336pseudo-device	ksyms			# /dev/ksyms
337#pseudo-device	putter			# for puffs and pud
338#pseudo-device 	swwdog			# software watchdog timer -- swwdog(4)
339
340# wscons pseudo-devices
341pseudo-device	wsmux			# mouse & keyboard multiplexor
342pseudo-device	wsfont
343
344include "dev/veriexec.config"
345
346# Pull in optional local configuration - always at end
347cinclude	"arch/hp300/conf/GENERIC.local"
348