GENERIC revision 1.217
11.217Sthorpej# $NetBSD: GENERIC,v 1.217 2025/11/29 23:15:54 thorpej Exp $
21.1Smycroft#
31.72Sgmcgarry# GENERIC machine description file
41.160Stsutsui#
51.72Sgmcgarry# This machine description file is used to generate the default NetBSD
61.72Sgmcgarry# kernel.  The generic kernel does not include all options, subsystems
71.72Sgmcgarry# and device drivers, but should be useful for most applications.
81.1Smycroft#
91.72Sgmcgarry# The machine description file can be customised for your specific
101.72Sgmcgarry# machine to reduce the kernel size and improve its performance.
111.72Sgmcgarry#
121.72Sgmcgarry# For further information on compiling NetBSD kernels, see the config(8)
131.72Sgmcgarry# man page.
141.72Sgmcgarry#
151.72Sgmcgarry# For further information on hardware support for this architecture, see
161.72Sgmcgarry# the intro(4) man page.  For further information about kernel options
171.72Sgmcgarry# for this architecture, see the options(4) man page.  For an explanation
181.72Sgmcgarry# of each device driver in this file see the section 4 man page for the
191.72Sgmcgarry# device.
201.1Smycroft
211.217Sthorpej#
221.217Sthorpej# Make sure to update the SMALL* kernel configs when updating this one
231.217Sthorpej# (even if you're just adding a commented-out line).
241.217Sthorpej#
251.217Sthorpej
261.72Sgmcgarryinclude 	"arch/hp300/conf/std.hp300"
271.50Shubertf
281.79Satatatoptions 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
291.79Satatat
301.217Sthorpej#ident 		"GENERIC-$Revision: 1.217 $"
311.182Stsutsui
321.213Stsutsuimakeoptions	COPTS="-O2 -fno-reorder-blocks -fno-unwind-tables -fno-omit-frame-pointer"
331.205Srin	# See share/mk/sys.mk. -fno-omit-frame-pointer is necessary for
341.205Srin	# backtraces in DDB.
351.80Sgmcgarry
361.184Stsutsuimaxusers	8		# estimated number of users
371.20Sthorpej
381.20Sthorpej# Support for various CPU types
391.20Sthorpejoptions 	HP320
401.20Sthorpejoptions 	HP330		# includes 318, 319
411.20Sthorpejoptions 	HP340
421.28Sthorpejoptions 	HP345
431.20Sthorpejoptions 	HP350
441.20Sthorpejoptions 	HP360
451.132Stsutsuioptions 	HP362
461.20Sthorpejoptions 	HP370
471.28Sthorpejoptions 	HP375
481.28Sthorpejoptions 	HP380
491.132Stsutsuioptions 	HP382
501.47Sthorpejoptions 	HP385
511.28Sthorpejoptions 	HP400
521.28Sthorpejoptions 	HP425
531.28Sthorpejoptions 	HP433
541.80Sgmcgarryoptions 	FPSP		# floating point interface for 68040
551.180Stsutsui#options 	FPU_EMULATE	# software fpu emulation for MC68030
561.80Sgmcgarry
571.80Sgmcgarry# Standard system options
581.80Sgmcgarryoptions 	KTRACE		# system call tracing support
591.80Sgmcgarry#options 	INSECURE	# disable kernel security level
601.82Slukemoptions 	USERCONF	# userconf(4) support
611.108Stsutsui#options 	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
621.103Satatatoptions 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
631.108Stsutsui#options 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
641.80Sgmcgarryoptions 	NTP		# NTP phase/frequency locked loop
651.80Sgmcgarryoptions 	SYSVMSG		# System V-style message queues
661.80Sgmcgarryoptions 	SYSVSEM		# System V-style semaphores
671.208Stsutsuioptions 	SYSVSHM		# System V-style shared memory
681.87Sjunyoung
691.183Stsutsuioptions 	MODULAR		# new style module(7) framework
701.187Sjnemethoptions 	MODULAR_DEFAULT_AUTOLOAD
711.157Stsutsui
721.198Ssevan# Alternate buffer queue strategies for better responsiveness under high
731.198Ssevan# disk I/O load.
741.114Stsutsui#options 	BUFQ_READPRIO
751.203Ssevanoptions 	BUFQ_PRIOCSCAN
761.1Smycroft
771.80Sgmcgarry# Debugging options
781.124Schs#options 	DIAGNOSTIC	# Extra kernel sanity checks
791.80Sgmcgarry#options 	DEBUG		# Enable misc. kernel debugging code
801.80Sgmcgarryoptions 	DDB		# Kernel Dynamic Debugger
811.156Schsoptions 	DDB_HISTORY_SIZE=512	# Enable history editing in DDB
821.80Sgmcgarry#options 	KGDB		# remote debugger
831.80Sgmcgarry#makeoptions	DEBUG="-g"	# netbsd.gdb with full debugging symbols
841.1Smycroft
851.80Sgmcgarry# Compatibility options
861.197Smrginclude 	"conf/compat_netbsd09.config"
871.80Sgmcgarry
881.80Sgmcgarry# Binary compatibility.
891.80Sgmcgarryoptions 	COMPAT_AOUT_M68K	# NetBSD/m68k a.out binary compatibility
901.80Sgmcgarryoptions 	COMPAT_M68K4K	# NetBSD/m68k4k binary compatibility
911.80Sgmcgarryoptions 	COMPAT_SUNOS	# SunOS4 m68k binary compatibility
921.183Stsutsui#options 	COMPAT_LINUX	# Linux/m68k binary compatibility
931.207Snia#options 	COMPAT_OSSAUDIO	# Linux/m68k binary compatibility
941.1Smycroft
951.22Sthorpej# Filesystems
961.80Sgmcgarryfile-system	CD9660		# CD-ROM ISO-9660 filesystem
971.183Stsutsui#file-system	EXT2FS		# second extended file system (linux)
981.80Sgmcgarryfile-system	FDESC		# user file descriptor filesystem
991.29Slukemfile-system	FFS		# fast filesystem
1001.80Sgmcgarryfile-system	KERNFS		# kernel data-structure filesystem
1011.183Stsutsui#file-system	LFS		# log-structured file system
1021.80Sgmcgarryfile-system	MFS		# Memory-based filesystem
1031.29Slukemfile-system	NFS		# Network filesystem client
1041.80Sgmcgarryfile-system	NULLFS		# loopback file system
1051.183Stsutsui#file-system	OVERLAY		# overlay file system
1061.183Stsutsui#file-system	PUFFS		# Userspace file systems (e.g. ntfs-3g & sshfs)
1071.80Sgmcgarryfile-system	PROCFS		# /proc filesystem
1081.183Stsutsui#file-system	UMAPFS		# NULLFS + uid and gid remapping
1091.183Stsutsui#file-system	UNION		# Union filesystem (req. for FDESC)
1101.183Stsutsui#file-system	CODA		# Coda File System; also needs vcoda (below)
1111.121Schristosfile-system	PTYFS		# /dev/pts/N support
1121.154Schsfile-system	TMPFS		# Efficient memory file-system
1131.127Sreinoud#file-system	UDF		# experimental - OSTA UDF CD/DVD file-system
1141.22Sthorpej
1151.209Ssimonb# File system options
1161.209Ssimonb#options 	FFS_EI		# FFS Endian Independent support
1171.209Ssimonboptions 	FFS_NO_SNAPSHOT	# No FFS snapshot support
1181.165Sbouyeroptions 	QUOTA		# legacy UFS quotas
1191.165Sbouyeroptions 	QUOTA2		# new, in-filesystem UFS quotas
1201.209Ssimonb#options 	UFS_DIRHASH	# UFS Large Directory Hashing
1211.209Ssimonboptions 	UFS_EXTATTR	# Extended attribute support for UFS1
1221.169Sdhollandoptions 	WAPBL		# File system journaling support
1231.209Ssimonboptions 	NFSSERVER	# Network File System server
1241.49Sitojun
1251.1Smycroft# Networking options
1261.21Sscottroptions 	INET		# Internet protocols
1271.49Sitojunoptions 	INET6		# IPV6
1281.49Sitojun#options 	IPSEC		# IP security
1291.49Sitojun#options 	IPSEC_DEBUG	# debug for IP security
1301.152Sjoergoptions 	GATEWAY		# IP forwarding
1311.29Slukemoptions 	MROUTING	# Multicast routing
1321.106Smanuoptions 	PIM		# Protocol Independent Multicast
1331.80Sgmcgarryoptions 	NETATALK	# AppleTalk networking protocols
1341.183Stsutsui#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
1351.183Stsutsui#options 	PPP_DEFLATE	# Deflate compression support for PPP
1361.80Sgmcgarryoptions 	PPP_FILTER	# Active filter support for PPP (requires bpf)
1371.66Sabs#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
1381.1Smycroft
1391.101Sabs#options 	ALTQ		# Manipulate network interfaces' output queues
1401.101Sabs#options 	ALTQ_BLUE	# Stochastic Fair Blue
1411.101Sabs#options 	ALTQ_CBQ	# Class-Based Queueing
1421.101Sabs#options 	ALTQ_CDNR	# Diffserv Traffic Conditioner
1431.101Sabs#options 	ALTQ_FIFOQ	# First-In First-Out Queue
1441.101Sabs#options 	ALTQ_FLOWVALVE	# RED/flow-valve (red-penalty-box)
1451.101Sabs#options 	ALTQ_HFSC	# Hierarchical Fair Service Curve
1461.101Sabs#options 	ALTQ_LOCALQ	# Local queueing discipline
1471.101Sabs#options 	ALTQ_PRIQ	# Priority Queueing
1481.101Sabs#options 	ALTQ_RED	# Random Early Detection
1491.101Sabs#options 	ALTQ_RIO	# RED with IN/OUT
1501.101Sabs#options 	ALTQ_WFQ	# Weighted Fair Queueing
1511.101Sabs
1521.184Stsutsui#options 	NFS_BOOT_BOOTP	# use bootp for NFS boot
1531.184Stsutsuioptions 	NFS_BOOT_DHCP	# use dhcp for NFS boot
1541.184Stsutsui
1551.1Smycroft# Options for HP hardware
1561.21Sscottroptions 	USELEDS		# make the lights twinkle
1571.29Slukem#options 	PANICBUTTON	# two fast <reset>s on HIL dump kernel
1581.30Slukem#options 	CONSCODE=9	# force console at this select code
1591.20Sthorpej
1601.80Sgmcgarry# These options enable verbose messages for several subsystems.
1611.80Sgmcgarry# Warning, these may compile large string tables into the kernel!
1621.80Sgmcgarry#options 	SCSIVERBOSE	# Verbose SCSI errors
1631.21Sscottroptions 	DIOVERBOSE	# recognize "unknown" DIO devices
1641.1Smycroft
1651.161Stsutsui# workstation console options
1661.208Stsutsuioptions 	WSEMUL_VT100			# VT100 / VT220 emulation
1671.208Stsutsui#options 	WSDISPLAY_DEFAULTSCREENS=1
1681.171Sabsoptions 	WSDISPLAY_COMPAT_USL		# wsconscfg VT handling
1691.216Stsutsui#options 	WSDISPLAY_COMPAT_RAWKBD
1701.161Stsutsuioptions 	WS_KERNEL_FG=WSCOL_GREEN
1711.161Stsutsui#options 	WS_KERNEL_BG=WSCOL_BLACK
1721.161Stsutsui
1731.184Stsutsui#options 	FONT_GALLANT12x22
1741.184Stsutsuioptions 	FONT_VT220ISO8x16
1751.161Stsutsui
1761.22Sthorpejconfig		netbsd root on ? type ?
1771.1Smycroft
1781.80Sgmcgarry#
1791.80Sgmcgarry# Device configuration
1801.80Sgmcgarry#
1811.20Sthorpej
1821.80Sgmcgarrymainbus0	at root			# root "bus"
1831.32Sthorpej
1841.80Sgmcgarryintio0		at mainbus0		# internal i/o space
1851.80Sgmcgarrydio0		at mainbus0		# DIO/DIO-II bus
1861.173Stsutsuisgc0		at mainbus0		# SGC bus
1871.69Sgmcgarry
1881.208Stsutsui# Real-time clock (not optional)
1891.208Stsutsuirtc*		at intio?
1901.208Stsutsui
1911.208Stsutsui# DMA controller
1921.208Stsutsuidma* 		at intio?
1931.208Stsutsui
1941.161Stsutsui# Human Interface Loop devices
1951.161Stsutsuihil0		at intio?		# HIL controller
1961.161Stsutsuihilkbd* 	at hil?			# keyboards
1971.161Stsutsuiwskbd*		at hilkbd? mux 1
1981.161Stsutsuihilms*		at hil?			# mice, buttons and tablets
1991.161Stsutsuiwsmouse*	at hilms? mux 0
2001.161Stsutsuihilid*		at hil?			# ID module
2011.161Stsutsui
2021.208Stsutsui# Frodo utility chip found on 382, 4xx's
2031.208Stsutsuifrodo*		at intio?
2041.32Sthorpej
2051.32Sthorpej# 8250-like serial ports found on Frodo ASIC
2061.164Stsutsuidnkbd0		at frodo? offset 0x0	# Domain keyboard flavor
2071.164Stsutsuiwskbd*		at dnkbd? mux 1
2081.164Stsutsuiwsmouse*	at dnkbd? mux 0
2091.96Stsutsuicom*		at frodo? offset ?	# tty flavor
2101.20Sthorpej
2111.181Stsutsui# mc146818-like real time clock found on 425e
2121.181Stsutsuimcclock0	at frodo? offset 0x80
2131.181Stsutsui
2141.208Stsutsui# Davinci framebuffer
2151.208Stsutsuidvbox*		at intio?
2161.20Sthorpejdvbox*		at dio? scode ?
2171.161Stsutsuiwsdisplay*	at dvbox?
2181.20Sthorpej
2191.208Stsutsui# Gatorbox framebuffer
2201.208Stsutsuigbox*		at intio?
2211.20Sthorpejgbox*		at dio? scode ?
2221.161Stsutsuiwsdisplay*	at gbox?
2231.20Sthorpej
2241.208Stsutsui# Hyperion framebuffer
2251.208Stsutsuihyper*		at dio? scode ?
2261.161Stsutsuiwsdisplay*	at hyper?
2271.20Sthorpej
2281.208Stsutsui# Renaissance framebuffer
2291.208Stsutsuirbox*		at intio?
2301.20Sthorpejrbox*		at dio? scode ?
2311.161Stsutsuiwsdisplay*	at rbox?
2321.20Sthorpej
2331.208Stsutsui# Topcat/catseye framebuffers
2341.208Stsutsuitopcat*		at intio?
2351.20Sthorpejtopcat*		at dio? scode ?
2361.161Stsutsuiwsdisplay*	at topcat?
2371.20Sthorpej
2381.208Stsutsui# TurboVRX framebuffer
2391.208Stsutsuitvrx*		at dio? scode ?
2401.161Stsutsuiwsdisplay*	at tvrx?
2411.20Sthorpej
2421.208Stsutsui# dumb framebuffer support for 362/382
2431.215Stsutsui#gendiofb*	at dio? scode ?
2441.215Stsutsui#wsdisplay*	at gendiofb?
2451.162Stsutsui
2461.208Stsutsui# STI framebuffers
2471.214Stsutsuisti*		at dio? scode ?		# 362 and 382
2481.214Stsutsuisti*		at sgc?	slot ?		# 425e and 425t variants
2491.173Stsutsuiwsdisplay*	at sti?
2501.166Stsutsui
2511.97Stsutsuicom0		at dio0 scode 9		# DCA serial interfaces
2521.97Stsutsuicom*		at dio? scode ?
2531.20Sthorpej
2541.20Sthorpejdcm*		at dio? scode ?	flags 0xe # DCM 4- or 8-port serial interfaces
2551.20Sthorpej
2561.20Sthorpejle*		at dio? scode ?		# LANCE ethernet interfaces
2571.20Sthorpej
2581.208Stsutsui# HP-IB devices
2591.208Stsutsuinhpib*		at intio?		# internal HP-IB
2601.208Stsutsuinhpib0		at dio? scode 7		# 98624A HP-IB
2611.20Sthorpejnhpib*		at dio? scode ?
2621.20Sthorpej
2631.208Stsutsuifhpib*		at dio? scode ?		# 98625A/98625B HP-IB
2641.20Sthorpej
2651.20Sthorpejhpibbus0	at nhpib0
2661.20Sthorpejhpibbus*	at nhpib?
2671.20Sthorpejhpibbus*	at fhpib?
2681.3Sthorpej
2691.20Sthorpejrd*		at hpibbus? slave ? punit ?	# HP-IB disks
2701.20Sthorpejct*		at hpibbus? slave ? punit ?	# HP-IB cartridge tapes
2711.20Sthorpejmt*		at hpibbus? slave ? punit ?	# HP-IB 9-track tape
2721.20Sthorpejppi0		at hpibbus0 slave 5 punit 0	# HP-IB plotter
2731.1Smycroft
2741.208Stsutsui# SCSI devices
2751.94Stsutsuispc*		at dio? scode ?			# HP 98265A SCSI
2761.94Stsutsuiscsibus*	at spc?
2771.1Smycroft
2781.94Stsutsuisd*		at scsibus? target ? lun ?	# SCSI disks
2791.94Stsutsuist*		at scsibus? target ? lun ?	# SCSI tapes
2801.94Stsutsuicd*		at scsibus? target ? lun ?	# SCSI CD-ROMs
2811.94Stsutsuich*		at scsibus? target ? lun ?	# SCSI changer devices
2821.94Stsutsuiss*		at scsibus? target ? lun ?	# SCSI scanners
2831.94Stsutsuiuk*		at scsibus? target ? lun ?	# unknown SCSI devices
2841.1Smycroft
2851.188Stsutsui# 425e digital audio
2861.188Stsutsuiarcofi* 	at dio? scode ?
2871.188Stsutsuiaudio*		at arcofi?
2881.188Stsutsui
2891.194Schristosspkr*		at audio?		# PC speaker (synthesized)
2901.192Snat
2911.80Sgmcgarry#
2921.80Sgmcgarry# Pseudo-devices
2931.80Sgmcgarry#
2941.80Sgmcgarry
2951.80Sgmcgarry# disk pseudo-devices
2961.176Schristospseudo-device	ccd			# concatenated disk devices
2971.176Schristos#pseudo-device	cgd			# cryptographic disk devices
2981.177Schristospseudo-device	raid			# RAIDframe disk driver
2991.75Sosteroptions 	RAID_AUTOCONFIG		# auto-configuration of RAID components
3001.75Soster# Options to enable various other RAIDframe RAID types.
3011.108Stsutsui#options 	RF_INCLUDE_EVENODD=1
3021.108Stsutsui#options 	RF_INCLUDE_RAID5_RS=1
3031.108Stsutsui#options 	RF_INCLUDE_PARITYLOGGING=1
3041.108Stsutsui#options 	RF_INCLUDE_CHAINDECLUSTER=1
3051.108Stsutsui#options 	RF_INCLUDE_INTERDECLUSTER=1
3061.108Stsutsui#options 	RF_INCLUDE_PARITY_DECLUSTERING=1
3071.108Stsutsui#options 	RF_INCLUDE_PARITY_DECLUSTERING_DS=1
3081.183Stsutsui#pseudo-device	fss			# file system snapshot device
3091.158Shannkenpseudo-device	md			# memory disk device (ramdisk)
3101.129Scubepseudo-device	vnd			# vnode pseudo-disks
3111.117Shubertf#options 	VND_COMPRESSION		# compressed vnd(4)
3121.80Sgmcgarry
3131.80Sgmcgarry# network pseudo-devices
3141.80Sgmcgarrypseudo-device	bridge			# simple inter-network bridging
3151.206Sroypseudo-device	vether			# Virtual Ethernet for bridge
3161.139Smartinpseudo-device	agr			# IEEE 802.3ad link aggregation
3171.128Srpaulopseudo-device	bpfilter		# Berkeley packet filter
3181.203Ssevanpseudo-device	carp			# Common Address Redundancy Protocol
3191.129Scube#pseudo-device	faith			# IPv[46] tcp relay translation i/f
3201.208Stsutsuipseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC1933)
3211.129Scube#pseudo-device	gre			# generic L3 over IP tunnel
3221.208Stsutsuipseudo-device	loop			# loopback network interface
3231.199Smaxvpseudo-device	npf			# NPF packet filter
3241.129Scubepseudo-device	ppp			# PPP network interfaces
3251.80Sgmcgarrypseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
3261.129Scubepseudo-device	sl			# SLIP network interfaces
3271.130Spavelpseudo-device	stf			# 6to4 IPv6 over IPv4 encapsulation
3281.129Scubepseudo-device	tun			# network tunneling over tty
3291.109Scubepseudo-device	tap			# virtual Ethernet
3301.62Sbouyerpseudo-device	vlan			# IEEE 802.1q encapsulation
3311.80Sgmcgarry
3321.147Stls# accept filters
3331.183Stsutsui#pseudo-device   accf_data		# "dataready" accept filter
3341.183Stsutsui#pseudo-device   accf_http		# "httpready" accept filter
3351.147Stls
3361.80Sgmcgarry# miscellaneous pseudo-devices
3371.81Slukempseudo-device	clockctl		# user control of clock subsystem
3381.202Sisakipseudo-device	drvctl			# user control of drive subsystem
3391.80Sgmcgarrypseudo-device	pty			# pseudo-terminals
3401.183Stsutsui#pseudo-device	vcoda			# coda minicache <-> venus comm.
3411.92Sraggepseudo-device	ksyms			# /dev/ksyms
3421.183Stsutsui#pseudo-device	putter			# for puffs and pud
3431.210Sriastradpseudo-device 	swwdog			# software watchdog timer -- swwdog(4)
3441.126Selad
3451.161Stsutsui# wscons pseudo-devices
3461.161Stsutsuipseudo-device	wsmux			# mouse & keyboard multiplexor
3471.161Stsutsuipseudo-device	wsfont
3481.161Stsutsui
3491.203Ssevaninclude "dev/veriexec.config"
3501.211Sabs
3511.211Sabs# Pull in optional local configuration - always at end
3521.211Sabscinclude	"arch/hp300/conf/GENERIC.local"
353