SMALL020 revision 1.1
11.1Sthorpej# $NetBSD: SMALL020,v 1.1 2025/11/29 23:15:23 thorpej Exp $
21.1Sthorpej#
31.1Sthorpej# GENERIC machine description file
41.1Sthorpej#
51.1Sthorpej# This machine description file is used to generate the default NetBSD
61.1Sthorpej# kernel.  The generic kernel does not include all options, subsystems
71.1Sthorpej# and device drivers, but should be useful for most applications.
81.1Sthorpej#
91.1Sthorpej# The machine description file can be customised for your specific
101.1Sthorpej# machine to reduce the kernel size and improve its performance.
111.1Sthorpej#
121.1Sthorpej# For further information on compiling NetBSD kernels, see the config(8)
131.1Sthorpej# man page.
141.1Sthorpej#
151.1Sthorpej# For further information on hardware support for this architecture, see
161.1Sthorpej# the intro(4) man page.  For further information about kernel options
171.1Sthorpej# for this architecture, see the options(4) man page.  For an explanation
181.1Sthorpej# of each device driver in this file see the section 4 man page for the
191.1Sthorpej# device.
201.1Sthorpej
211.1Sthorpejinclude 	"arch/hp300/conf/std.hp300"
221.1Sthorpej
231.1Sthorpejoptions 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
241.1Sthorpej
251.1Sthorpej#ident 		"GENERIC-$Revision: 1.1 $"
261.1Sthorpej
271.1Sthorpejmakeoptions	COPTS="-O2 -fno-reorder-blocks -fno-unwind-tables -fno-omit-frame-pointer"
281.1Sthorpej	# See share/mk/sys.mk. -fno-omit-frame-pointer is necessary for
291.1Sthorpej	# backtraces in DDB.
301.1Sthorpej
311.1Sthorpejmaxusers	8		# estimated number of users
321.1Sthorpej
331.1Sthorpej# Support for various CPU types
341.1Sthorpejoptions 	HP320
351.1Sthorpejoptions 	HP330		# includes 318, 319
361.1Sthorpej#options 	HP340
371.1Sthorpej#options 	HP345
381.1Sthorpejoptions 	HP350
391.1Sthorpej#options 	HP360
401.1Sthorpej#options 	HP362
411.1Sthorpej#options 	HP370
421.1Sthorpej#options 	HP375
431.1Sthorpej#options 	HP380
441.1Sthorpej#options 	HP382
451.1Sthorpej#options 	HP385
461.1Sthorpej#options 	HP400
471.1Sthorpej#options 	HP425
481.1Sthorpej#options 	HP433
491.1Sthorpej#options 	FPSP		# floating point interface for 68040
501.1Sthorpej#options 	FPU_EMULATE	# software fpu emulation for MC68030
511.1Sthorpej
521.1Sthorpej# Standard system options
531.1Sthorpejoptions 	KTRACE		# system call tracing support
541.1Sthorpej#options 	INSECURE	# disable kernel security level
551.1Sthorpejoptions 	USERCONF	# userconf(4) support
561.1Sthorpej#options 	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
571.1Sthorpej#options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
581.1Sthorpej#options 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
591.1Sthorpejoptions 	NTP		# NTP phase/frequency locked loop
601.1Sthorpejoptions 	SYSVMSG		# System V-style message queues
611.1Sthorpejoptions 	SYSVSEM		# System V-style semaphores
621.1Sthorpejoptions 	SYSVSHM		# System V-style shared memory
631.1Sthorpej
641.1Sthorpejoptions 	MODULAR		# new style module(7) framework
651.1Sthorpejoptions 	MODULAR_DEFAULT_AUTOLOAD
661.1Sthorpej
671.1Sthorpej# Alternate buffer queue strategies for better responsiveness under high
681.1Sthorpej# disk I/O load.
691.1Sthorpej#options 	BUFQ_READPRIO
701.1Sthorpejoptions 	BUFQ_PRIOCSCAN
711.1Sthorpej
721.1Sthorpej# Debugging options
731.1Sthorpej#options 	DIAGNOSTIC	# Extra kernel sanity checks
741.1Sthorpej#options 	DEBUG		# Enable misc. kernel debugging code
751.1Sthorpejoptions 	DDB		# Kernel Dynamic Debugger
761.1Sthorpejoptions 	DDB_HISTORY_SIZE=512	# Enable history editing in DDB
771.1Sthorpej#options 	KGDB		# remote debugger
781.1Sthorpej#makeoptions	DEBUG="-g"	# netbsd.gdb with full debugging symbols
791.1Sthorpej
801.1Sthorpej# Compatibility options
811.1Sthorpejinclude 	"conf/compat_netbsd09.config"
821.1Sthorpej
831.1Sthorpej# Binary compatibility.
841.1Sthorpejoptions 	COMPAT_AOUT_M68K	# NetBSD/m68k a.out binary compatibility
851.1Sthorpejoptions 	COMPAT_M68K4K	# NetBSD/m68k4k binary compatibility
861.1Sthorpej#options 	COMPAT_SUNOS	# SunOS4 m68k binary compatibility
871.1Sthorpej#options 	COMPAT_LINUX	# Linux/m68k binary compatibility
881.1Sthorpej#options 	COMPAT_OSSAUDIO	# Linux/m68k binary compatibility
891.1Sthorpej
901.1Sthorpej# Filesystems
911.1Sthorpejfile-system	CD9660		# CD-ROM ISO-9660 filesystem
921.1Sthorpej#file-system	EXT2FS		# second extended file system (linux)
931.1Sthorpejfile-system	FDESC		# user file descriptor filesystem
941.1Sthorpejfile-system	FFS		# fast filesystem
951.1Sthorpejfile-system	KERNFS		# kernel data-structure filesystem
961.1Sthorpej#file-system	LFS		# log-structured file system
971.1Sthorpejfile-system	MFS		# Memory-based filesystem
981.1Sthorpejfile-system	NFS		# Network filesystem client
991.1Sthorpej#file-system	NULLFS		# loopback file system
1001.1Sthorpej#file-system	OVERLAY		# overlay file system
1011.1Sthorpej#file-system	PUFFS		# Userspace file systems (e.g. ntfs-3g & sshfs)
1021.1Sthorpejfile-system	PROCFS		# /proc filesystem
1031.1Sthorpej#file-system	UMAPFS		# NULLFS + uid and gid remapping
1041.1Sthorpej#file-system	UNION		# Union filesystem (req. for FDESC)
1051.1Sthorpej#file-system	CODA		# Coda File System; also needs vcoda (below)
1061.1Sthorpejfile-system	PTYFS		# /dev/pts/N support
1071.1Sthorpej#file-system	TMPFS		# Efficient memory file-system
1081.1Sthorpej#file-system	UDF		# experimental - OSTA UDF CD/DVD file-system
1091.1Sthorpej
1101.1Sthorpej# File system options
1111.1Sthorpej#options 	FFS_EI		# FFS Endian Independent support
1121.1Sthorpejoptions 	FFS_NO_SNAPSHOT	# No FFS snapshot support
1131.1Sthorpej#options 	QUOTA		# legacy UFS quotas
1141.1Sthorpej#options 	QUOTA2		# new, in-filesystem UFS quotas
1151.1Sthorpej#options 	UFS_DIRHASH	# UFS Large Directory Hashing
1161.1Sthorpej#options 	UFS_EXTATTR	# Extended attribute support for UFS1
1171.1Sthorpej#options 	WAPBL		# File system journaling support
1181.1Sthorpej#options 	NFSSERVER	# Network File System server
1191.1Sthorpej
1201.1Sthorpej# Networking options
1211.1Sthorpejoptions 	INET		# Internet protocols
1221.1Sthorpejoptions 	INET6		# IPV6
1231.1Sthorpej#options 	IPSEC		# IP security
1241.1Sthorpej#options 	IPSEC_DEBUG	# debug for IP security
1251.1Sthorpej#options 	GATEWAY		# IP forwarding
1261.1Sthorpej#options 	MROUTING	# Multicast routing
1271.1Sthorpej#options 	PIM		# Protocol Independent Multicast
1281.1Sthorpej#options 	NETATALK	# AppleTalk networking protocols
1291.1Sthorpej#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
1301.1Sthorpej#options 	PPP_DEFLATE	# Deflate compression support for PPP
1311.1Sthorpej#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
1321.1Sthorpej#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
1331.1Sthorpej
1341.1Sthorpej#options 	ALTQ		# Manipulate network interfaces' output queues
1351.1Sthorpej#options 	ALTQ_BLUE	# Stochastic Fair Blue
1361.1Sthorpej#options 	ALTQ_CBQ	# Class-Based Queueing
1371.1Sthorpej#options 	ALTQ_CDNR	# Diffserv Traffic Conditioner
1381.1Sthorpej#options 	ALTQ_FIFOQ	# First-In First-Out Queue
1391.1Sthorpej#options 	ALTQ_FLOWVALVE	# RED/flow-valve (red-penalty-box)
1401.1Sthorpej#options 	ALTQ_HFSC	# Hierarchical Fair Service Curve
1411.1Sthorpej#options 	ALTQ_LOCALQ	# Local queueing discipline
1421.1Sthorpej#options 	ALTQ_PRIQ	# Priority Queueing
1431.1Sthorpej#options 	ALTQ_RED	# Random Early Detection
1441.1Sthorpej#options 	ALTQ_RIO	# RED with IN/OUT
1451.1Sthorpej#options 	ALTQ_WFQ	# Weighted Fair Queueing
1461.1Sthorpej
1471.1Sthorpej#options 	NFS_BOOT_BOOTP	# use bootp for NFS boot
1481.1Sthorpejoptions 	NFS_BOOT_DHCP	# use dhcp for NFS boot
1491.1Sthorpej
1501.1Sthorpej# Options for HP hardware
1511.1Sthorpejoptions 	USELEDS		# make the lights twinkle
1521.1Sthorpej#options 	PANICBUTTON	# two fast <reset>s on HIL dump kernel
1531.1Sthorpej#options 	CONSCODE=9	# force console at this select code
1541.1Sthorpej
1551.1Sthorpej# These options enable verbose messages for several subsystems.
1561.1Sthorpej# Warning, these may compile large string tables into the kernel!
1571.1Sthorpej#options 	SCSIVERBOSE	# Verbose SCSI errors
1581.1Sthorpej#options 	DIOVERBOSE	# recognize "unknown" DIO devices
1591.1Sthorpej
1601.1Sthorpej# workstation console options
1611.1Sthorpejoptions 	WSEMUL_VT100			# VT100 / VT220 emulation
1621.1Sthorpej#options 	WSDISPLAY_DEFAULTSCREENS=1
1631.1Sthorpejoptions 	WSDISPLAY_COMPAT_USL		# wsconscfg VT handling
1641.1Sthorpej#options 	WSDISPLAY_COMPAT_RAWKBD
1651.1Sthorpejoptions 	WS_KERNEL_FG=WSCOL_GREEN
1661.1Sthorpej#options 	WS_KERNEL_BG=WSCOL_BLACK
1671.1Sthorpej
1681.1Sthorpej#options 	FONT_GALLANT12x22
1691.1Sthorpejoptions 	FONT_VT220ISO8x16
1701.1Sthorpej
1711.1Sthorpejconfig		netbsd root on ? type ?
1721.1Sthorpej
1731.1Sthorpej#
1741.1Sthorpej# Device configuration
1751.1Sthorpej#
1761.1Sthorpej
1771.1Sthorpejmainbus0	at root			# root "bus"
1781.1Sthorpej
1791.1Sthorpejintio0		at mainbus0		# internal i/o space
1801.1Sthorpejdio0		at mainbus0		# DIO/DIO-II bus
1811.1Sthorpej#sgc0		at mainbus0		# SGC bus
1821.1Sthorpej
1831.1Sthorpej# Real-time clock (not optional)
1841.1Sthorpejrtc*		at intio?
1851.1Sthorpej
1861.1Sthorpej# DMA controller
1871.1Sthorpejdma* 		at intio?
1881.1Sthorpej
1891.1Sthorpej# Human Interface Loop devices
1901.1Sthorpejhil0		at intio?		# HIL controller
1911.1Sthorpejhilkbd* 	at hil?			# keyboards
1921.1Sthorpejwskbd*		at hilkbd? mux 1
1931.1Sthorpejhilms*		at hil?			# mice, buttons and tablets
1941.1Sthorpejwsmouse*	at hilms? mux 0
1951.1Sthorpejhilid*		at hil?			# ID module
1961.1Sthorpej
1971.1Sthorpej# Frodo utility chip found on 382, 4xx's
1981.1Sthorpej#frodo*		at intio?
1991.1Sthorpej
2001.1Sthorpej# 8250-like serial ports found on Frodo ASIC
2011.1Sthorpej#dnkbd0		at frodo? offset 0x0	# Domain keyboard flavor
2021.1Sthorpej#wskbd*		at dnkbd? mux 1
2031.1Sthorpej#wsmouse*	at dnkbd? mux 0
2041.1Sthorpej#com*		at frodo? offset ?	# tty flavor
2051.1Sthorpej
2061.1Sthorpej# mc146818-like real time clock found on 425e
2071.1Sthorpej#mcclock0	at frodo? offset 0x80
2081.1Sthorpej
2091.1Sthorpej# Davinci framebuffer
2101.1Sthorpejdvbox*		at intio?
2111.1Sthorpejdvbox*		at dio? scode ?
2121.1Sthorpejwsdisplay*	at dvbox?
2131.1Sthorpej
2141.1Sthorpej# Gatorbox framebuffer
2151.1Sthorpejgbox*		at intio?
2161.1Sthorpejgbox*		at dio? scode ?
2171.1Sthorpejwsdisplay*	at gbox?
2181.1Sthorpej
2191.1Sthorpej# Hyperion framebuffer
2201.1Sthorpejhyper*		at dio? scode ?
2211.1Sthorpejwsdisplay*	at hyper?
2221.1Sthorpej
2231.1Sthorpej# Renaissance framebuffer
2241.1Sthorpejrbox*		at intio?
2251.1Sthorpejrbox*		at dio? scode ?
2261.1Sthorpejwsdisplay*	at rbox?
2271.1Sthorpej
2281.1Sthorpej# Topcat/catseye framebuffers
2291.1Sthorpejtopcat*		at intio?
2301.1Sthorpejtopcat*		at dio? scode ?
2311.1Sthorpejwsdisplay*	at topcat?
2321.1Sthorpej
2331.1Sthorpej# TurboVRX framebuffer
2341.1Sthorpej#tvrx*		at dio? scode ?
2351.1Sthorpej#wsdisplay*	at tvrx?
2361.1Sthorpej
2371.1Sthorpej# dumb framebuffer support for 362/382
2381.1Sthorpej#gendiofb*	at dio? scode ?
2391.1Sthorpej#wsdisplay*	at gendiofb?
2401.1Sthorpej
2411.1Sthorpej# STI framebuffers
2421.1Sthorpej#sti*		at dio? scode ?		# 362 and 382
2431.1Sthorpej#sti*		at sgc?	slot ?		# 425e and 425t variants
2441.1Sthorpej#wsdisplay*	at sti?
2451.1Sthorpej
2461.1Sthorpejcom0		at dio0 scode 9		# DCA serial interfaces
2471.1Sthorpejcom*		at dio? scode ?
2481.1Sthorpej
2491.1Sthorpejdcm*		at dio? scode ?	flags 0xe # DCM 4- or 8-port serial interfaces
2501.1Sthorpej
2511.1Sthorpejle*		at dio? scode ?		# LANCE ethernet interfaces
2521.1Sthorpej
2531.1Sthorpej# HP-IB devices
2541.1Sthorpejnhpib*		at intio?		# internal HP-IB
2551.1Sthorpejnhpib0		at dio? scode 7		# 98624A HP-IB
2561.1Sthorpejnhpib*		at dio? scode ?
2571.1Sthorpej
2581.1Sthorpejfhpib*		at dio? scode ?		# 98625A/98625B HP-IB
2591.1Sthorpej
2601.1Sthorpejhpibbus0	at nhpib0
2611.1Sthorpejhpibbus*	at nhpib?
2621.1Sthorpejhpibbus*	at fhpib?
2631.1Sthorpej
2641.1Sthorpejrd*		at hpibbus? slave ? punit ?	# HP-IB disks
2651.1Sthorpejct*		at hpibbus? slave ? punit ?	# HP-IB cartridge tapes
2661.1Sthorpejmt*		at hpibbus? slave ? punit ?	# HP-IB 9-track tape
2671.1Sthorpejppi0		at hpibbus0 slave 5 punit 0	# HP-IB plotter
2681.1Sthorpej
2691.1Sthorpej# SCSI devices
2701.1Sthorpejspc*		at dio? scode ?			# HP 98265A SCSI
2711.1Sthorpejscsibus*	at spc?
2721.1Sthorpej
2731.1Sthorpejsd*		at scsibus? target ? lun ?	# SCSI disks
2741.1Sthorpejst*		at scsibus? target ? lun ?	# SCSI tapes
2751.1Sthorpejcd*		at scsibus? target ? lun ?	# SCSI CD-ROMs
2761.1Sthorpejch*		at scsibus? target ? lun ?	# SCSI changer devices
2771.1Sthorpejss*		at scsibus? target ? lun ?	# SCSI scanners
2781.1Sthorpejuk*		at scsibus? target ? lun ?	# unknown SCSI devices
2791.1Sthorpej
2801.1Sthorpej# 425e digital audio
2811.1Sthorpej#arcofi* 	at dio? scode ?
2821.1Sthorpej#audio*		at arcofi?
2831.1Sthorpej
2841.1Sthorpej#spkr*		at audio?		# PC speaker (synthesized)
2851.1Sthorpej
2861.1Sthorpej#
2871.1Sthorpej# Pseudo-devices
2881.1Sthorpej#
2891.1Sthorpej
2901.1Sthorpej# disk pseudo-devices
2911.1Sthorpejpseudo-device	ccd			# concatenated disk devices
2921.1Sthorpej#pseudo-device	cgd			# cryptographic disk devices
2931.1Sthorpej#pseudo-device	raid			# RAIDframe disk driver
2941.1Sthorpej#options 	RAID_AUTOCONFIG		# auto-configuration of RAID components
2951.1Sthorpej# Options to enable various other RAIDframe RAID types.
2961.1Sthorpej#options 	RF_INCLUDE_EVENODD=1
2971.1Sthorpej#options 	RF_INCLUDE_RAID5_RS=1
2981.1Sthorpej#options 	RF_INCLUDE_PARITYLOGGING=1
2991.1Sthorpej#options 	RF_INCLUDE_CHAINDECLUSTER=1
3001.1Sthorpej#options 	RF_INCLUDE_INTERDECLUSTER=1
3011.1Sthorpej#options 	RF_INCLUDE_PARITY_DECLUSTERING=1
3021.1Sthorpej#options 	RF_INCLUDE_PARITY_DECLUSTERING_DS=1
3031.1Sthorpej#pseudo-device	fss			# file system snapshot device
3041.1Sthorpejpseudo-device	md			# memory disk device (ramdisk)
3051.1Sthorpejpseudo-device	vnd			# vnode pseudo-disks
3061.1Sthorpej#options 	VND_COMPRESSION		# compressed vnd(4)
3071.1Sthorpej
3081.1Sthorpej# network pseudo-devices
3091.1Sthorpej#pseudo-device	bridge			# simple inter-network bridging
3101.1Sthorpej#pseudo-device	vether			# Virtual Ethernet for bridge
3111.1Sthorpej#pseudo-device	agr			# IEEE 802.3ad link aggregation
3121.1Sthorpejpseudo-device	bpfilter		# Berkeley packet filter
3131.1Sthorpej#pseudo-device	carp			# Common Address Redundancy Protocol
3141.1Sthorpej#pseudo-device	faith			# IPv[46] tcp relay translation i/f
3151.1Sthorpejpseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC1933)
3161.1Sthorpej#pseudo-device	gre			# generic L3 over IP tunnel
3171.1Sthorpejpseudo-device	loop			# loopback network interface
3181.1Sthorpej#pseudo-device	npf			# NPF packet filter
3191.1Sthorpej#pseudo-device	ppp			# PPP network interfaces
3201.1Sthorpej#pseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
3211.1Sthorpej#pseudo-device	sl			# SLIP network interfaces
3221.1Sthorpej#pseudo-device	stf			# 6to4 IPv6 over IPv4 encapsulation
3231.1Sthorpej#pseudo-device	tun			# network tunneling over tty
3241.1Sthorpej#pseudo-device	tap			# virtual Ethernet
3251.1Sthorpej#pseudo-device	vlan			# IEEE 802.1q encapsulation
3261.1Sthorpej
3271.1Sthorpej# accept filters
3281.1Sthorpej#pseudo-device   accf_data		# "dataready" accept filter
3291.1Sthorpej#pseudo-device   accf_http		# "httpready" accept filter
3301.1Sthorpej
3311.1Sthorpej# miscellaneous pseudo-devices
3321.1Sthorpejpseudo-device	clockctl		# user control of clock subsystem
3331.1Sthorpejpseudo-device	drvctl			# user control of drive subsystem
3341.1Sthorpejpseudo-device	pty			# pseudo-terminals
3351.1Sthorpej#pseudo-device	vcoda			# coda minicache <-> venus comm.
3361.1Sthorpejpseudo-device	ksyms			# /dev/ksyms
3371.1Sthorpej#pseudo-device	putter			# for puffs and pud
3381.1Sthorpej#pseudo-device 	swwdog			# software watchdog timer -- swwdog(4)
3391.1Sthorpej
3401.1Sthorpej# wscons pseudo-devices
3411.1Sthorpejpseudo-device	wsmux			# mouse & keyboard multiplexor
3421.1Sthorpejpseudo-device	wsfont
3431.1Sthorpej
3441.1Sthorpejinclude "dev/veriexec.config"
3451.1Sthorpej
3461.1Sthorpej# Pull in optional local configuration - always at end
3471.1Sthorpejcinclude	"arch/hp300/conf/GENERIC.local"
348