11.216Stsutsui# $NetBSD: GENERIC,v 1.216 2025/06/04 18:23:10 tsutsui 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.72Sgmcgarryinclude 	"arch/hp300/conf/std.hp300"
221.50Shubertf
231.79Satatatoptions 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
241.79Satatat
251.216Stsutsui#ident 		"GENERIC-$Revision: 1.216 $"
261.182Stsutsui
271.213Stsutsuimakeoptions	COPTS="-O2 -fno-reorder-blocks -fno-unwind-tables -fno-omit-frame-pointer"
281.205Srin	# See share/mk/sys.mk. -fno-omit-frame-pointer is necessary for
291.205Srin	# backtraces in DDB.
301.80Sgmcgarry
311.184Stsutsuimaxusers	8		# estimated number of users
321.20Sthorpej
331.20Sthorpej# Support for various CPU types
341.20Sthorpejoptions 	HP320
351.20Sthorpejoptions 	HP330		# includes 318, 319
361.20Sthorpejoptions 	HP340
371.28Sthorpejoptions 	HP345
381.20Sthorpejoptions 	HP350
391.20Sthorpejoptions 	HP360
401.132Stsutsuioptions 	HP362
411.20Sthorpejoptions 	HP370
421.28Sthorpejoptions 	HP375
431.28Sthorpejoptions 	HP380
441.132Stsutsuioptions 	HP382
451.47Sthorpejoptions 	HP385
461.28Sthorpejoptions 	HP400
471.28Sthorpejoptions 	HP425
481.28Sthorpejoptions 	HP433
491.80Sgmcgarryoptions 	FPSP		# floating point interface for 68040
501.180Stsutsui#options 	FPU_EMULATE	# software fpu emulation for MC68030
511.80Sgmcgarry
521.80Sgmcgarry# Standard system options
531.80Sgmcgarryoptions 	KTRACE		# system call tracing support
541.80Sgmcgarry#options 	INSECURE	# disable kernel security level
551.82Slukemoptions 	USERCONF	# userconf(4) support
561.108Stsutsui#options 	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
571.103Satatatoptions 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
581.108Stsutsui#options 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
591.80Sgmcgarryoptions 	NTP		# NTP phase/frequency locked loop
601.80Sgmcgarryoptions 	SYSVMSG		# System V-style message queues
611.80Sgmcgarryoptions 	SYSVSEM		# System V-style semaphores
621.208Stsutsuioptions 	SYSVSHM		# System V-style shared memory
631.87Sjunyoung
641.183Stsutsuioptions 	MODULAR		# new style module(7) framework
651.187Sjnemethoptions 	MODULAR_DEFAULT_AUTOLOAD
661.157Stsutsui
671.198Ssevan# Alternate buffer queue strategies for better responsiveness under high
681.198Ssevan# disk I/O load.
691.114Stsutsui#options 	BUFQ_READPRIO
701.203Ssevanoptions 	BUFQ_PRIOCSCAN
711.1Smycroft
721.80Sgmcgarry# Debugging options
731.124Schs#options 	DIAGNOSTIC	# Extra kernel sanity checks
741.80Sgmcgarry#options 	DEBUG		# Enable misc. kernel debugging code
751.80Sgmcgarryoptions 	DDB		# Kernel Dynamic Debugger
761.156Schsoptions 	DDB_HISTORY_SIZE=512	# Enable history editing in DDB
771.80Sgmcgarry#options 	KGDB		# remote debugger
781.80Sgmcgarry#makeoptions	DEBUG="-g"	# netbsd.gdb with full debugging symbols
791.1Smycroft
801.80Sgmcgarry# Compatibility options
811.197Smrginclude 	"conf/compat_netbsd09.config"
821.80Sgmcgarry
831.80Sgmcgarry# Binary compatibility.
841.80Sgmcgarryoptions 	COMPAT_AOUT_M68K	# NetBSD/m68k a.out binary compatibility
851.80Sgmcgarryoptions 	COMPAT_M68K4K	# NetBSD/m68k4k binary compatibility
861.80Sgmcgarryoptions 	COMPAT_SUNOS	# SunOS4 m68k binary compatibility
871.183Stsutsui#options 	COMPAT_LINUX	# Linux/m68k binary compatibility
881.207Snia#options 	COMPAT_OSSAUDIO	# Linux/m68k binary compatibility
891.1Smycroft
901.22Sthorpej# Filesystems
911.80Sgmcgarryfile-system	CD9660		# CD-ROM ISO-9660 filesystem
921.183Stsutsui#file-system	EXT2FS		# second extended file system (linux)
931.80Sgmcgarryfile-system	FDESC		# user file descriptor filesystem
941.29Slukemfile-system	FFS		# fast filesystem
951.80Sgmcgarryfile-system	KERNFS		# kernel data-structure filesystem
961.183Stsutsui#file-system	LFS		# log-structured file system
971.80Sgmcgarryfile-system	MFS		# Memory-based filesystem
981.29Slukemfile-system	NFS		# Network filesystem client
991.80Sgmcgarryfile-system	NULLFS		# loopback file system
1001.183Stsutsui#file-system	OVERLAY		# overlay file system
1011.183Stsutsui#file-system	PUFFS		# Userspace file systems (e.g. ntfs-3g & sshfs)
1021.80Sgmcgarryfile-system	PROCFS		# /proc filesystem
1031.183Stsutsui#file-system	UMAPFS		# NULLFS + uid and gid remapping
1041.183Stsutsui#file-system	UNION		# Union filesystem (req. for FDESC)
1051.183Stsutsui#file-system	CODA		# Coda File System; also needs vcoda (below)
1061.121Schristosfile-system	PTYFS		# /dev/pts/N support
1071.154Schsfile-system	TMPFS		# Efficient memory file-system
1081.127Sreinoud#file-system	UDF		# experimental - OSTA UDF CD/DVD file-system
1091.22Sthorpej
1101.209Ssimonb# File system options
1111.209Ssimonb#options 	FFS_EI		# FFS Endian Independent support
1121.209Ssimonboptions 	FFS_NO_SNAPSHOT	# No FFS snapshot support
1131.165Sbouyeroptions 	QUOTA		# legacy UFS quotas
1141.165Sbouyeroptions 	QUOTA2		# new, in-filesystem UFS quotas
1151.209Ssimonb#options 	UFS_DIRHASH	# UFS Large Directory Hashing
1161.209Ssimonboptions 	UFS_EXTATTR	# Extended attribute support for UFS1
1171.169Sdhollandoptions 	WAPBL		# File system journaling support
1181.209Ssimonboptions 	NFSSERVER	# Network File System server
1191.49Sitojun
1201.1Smycroft# Networking options
1211.21Sscottroptions 	INET		# Internet protocols
1221.49Sitojunoptions 	INET6		# IPV6
1231.49Sitojun#options 	IPSEC		# IP security
1241.49Sitojun#options 	IPSEC_DEBUG	# debug for IP security
1251.152Sjoergoptions 	GATEWAY		# IP forwarding
1261.29Slukemoptions 	MROUTING	# Multicast routing
1271.106Smanuoptions 	PIM		# Protocol Independent Multicast
1281.80Sgmcgarryoptions 	NETATALK	# AppleTalk networking protocols
1291.183Stsutsui#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
1301.183Stsutsui#options 	PPP_DEFLATE	# Deflate compression support for PPP
1311.80Sgmcgarryoptions 	PPP_FILTER	# Active filter support for PPP (requires bpf)
1321.66Sabs#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
1331.1Smycroft
1341.101Sabs#options 	ALTQ		# Manipulate network interfaces' output queues
1351.101Sabs#options 	ALTQ_BLUE	# Stochastic Fair Blue
1361.101Sabs#options 	ALTQ_CBQ	# Class-Based Queueing
1371.101Sabs#options 	ALTQ_CDNR	# Diffserv Traffic Conditioner
1381.101Sabs#options 	ALTQ_FIFOQ	# First-In First-Out Queue
1391.101Sabs#options 	ALTQ_FLOWVALVE	# RED/flow-valve (red-penalty-box)
1401.101Sabs#options 	ALTQ_HFSC	# Hierarchical Fair Service Curve
1411.101Sabs#options 	ALTQ_LOCALQ	# Local queueing discipline
1421.101Sabs#options 	ALTQ_PRIQ	# Priority Queueing
1431.101Sabs#options 	ALTQ_RED	# Random Early Detection
1441.101Sabs#options 	ALTQ_RIO	# RED with IN/OUT
1451.101Sabs#options 	ALTQ_WFQ	# Weighted Fair Queueing
1461.101Sabs
1471.184Stsutsui#options 	NFS_BOOT_BOOTP	# use bootp for NFS boot
1481.184Stsutsuioptions 	NFS_BOOT_DHCP	# use dhcp for NFS boot
1491.184Stsutsui
1501.1Smycroft# Options for HP hardware
1511.21Sscottroptions 	USELEDS		# make the lights twinkle
1521.29Slukem#options 	PANICBUTTON	# two fast <reset>s on HIL dump kernel
1531.30Slukem#options 	CONSCODE=9	# force console at this select code
1541.20Sthorpej
1551.80Sgmcgarry# These options enable verbose messages for several subsystems.
1561.80Sgmcgarry# Warning, these may compile large string tables into the kernel!
1571.80Sgmcgarry#options 	SCSIVERBOSE	# Verbose SCSI errors
1581.21Sscottroptions 	DIOVERBOSE	# recognize "unknown" DIO devices
1591.1Smycroft
1601.161Stsutsui# workstation console options
1611.208Stsutsuioptions 	WSEMUL_VT100			# VT100 / VT220 emulation
1621.208Stsutsui#options 	WSDISPLAY_DEFAULTSCREENS=1
1631.171Sabsoptions 	WSDISPLAY_COMPAT_USL		# wsconscfg VT handling
1641.216Stsutsui#options 	WSDISPLAY_COMPAT_RAWKBD
1651.161Stsutsuioptions 	WS_KERNEL_FG=WSCOL_GREEN
1661.161Stsutsui#options 	WS_KERNEL_BG=WSCOL_BLACK
1671.161Stsutsui
1681.184Stsutsui#options 	FONT_GALLANT12x22
1691.184Stsutsuioptions 	FONT_VT220ISO8x16
1701.161Stsutsui
1711.22Sthorpejconfig		netbsd root on ? type ?
1721.1Smycroft
1731.80Sgmcgarry#
1741.80Sgmcgarry# Device configuration
1751.80Sgmcgarry#
1761.20Sthorpej
1771.80Sgmcgarrymainbus0	at root			# root "bus"
1781.32Sthorpej
1791.80Sgmcgarryintio0		at mainbus0		# internal i/o space
1801.80Sgmcgarrydio0		at mainbus0		# DIO/DIO-II bus
1811.173Stsutsuisgc0		at mainbus0		# SGC bus
1821.69Sgmcgarry
1831.208Stsutsui# Real-time clock (not optional)
1841.208Stsutsuirtc*		at intio?
1851.208Stsutsui
1861.208Stsutsui# DMA controller
1871.208Stsutsuidma* 		at intio?
1881.208Stsutsui
1891.161Stsutsui# Human Interface Loop devices
1901.161Stsutsuihil0		at intio?		# HIL controller
1911.161Stsutsuihilkbd* 	at hil?			# keyboards
1921.161Stsutsuiwskbd*		at hilkbd? mux 1
1931.161Stsutsuihilms*		at hil?			# mice, buttons and tablets
1941.161Stsutsuiwsmouse*	at hilms? mux 0
1951.161Stsutsuihilid*		at hil?			# ID module
1961.161Stsutsui
1971.208Stsutsui# Frodo utility chip found on 382, 4xx's
1981.208Stsutsuifrodo*		at intio?
1991.32Sthorpej
2001.32Sthorpej# 8250-like serial ports found on Frodo ASIC
2011.164Stsutsuidnkbd0		at frodo? offset 0x0	# Domain keyboard flavor
2021.164Stsutsuiwskbd*		at dnkbd? mux 1
2031.164Stsutsuiwsmouse*	at dnkbd? mux 0
2041.96Stsutsuicom*		at frodo? offset ?	# tty flavor
2051.20Sthorpej
2061.181Stsutsui# mc146818-like real time clock found on 425e
2071.181Stsutsuimcclock0	at frodo? offset 0x80
2081.181Stsutsui
2091.208Stsutsui# Davinci framebuffer
2101.208Stsutsuidvbox*		at intio?
2111.20Sthorpejdvbox*		at dio? scode ?
2121.161Stsutsuiwsdisplay*	at dvbox?
2131.20Sthorpej
2141.208Stsutsui# Gatorbox framebuffer
2151.208Stsutsuigbox*		at intio?
2161.20Sthorpejgbox*		at dio? scode ?
2171.161Stsutsuiwsdisplay*	at gbox?
2181.20Sthorpej
2191.208Stsutsui# Hyperion framebuffer
2201.208Stsutsuihyper*		at dio? scode ?
2211.161Stsutsuiwsdisplay*	at hyper?
2221.20Sthorpej
2231.208Stsutsui# Renaissance framebuffer
2241.208Stsutsuirbox*		at intio?
2251.20Sthorpejrbox*		at dio? scode ?
2261.161Stsutsuiwsdisplay*	at rbox?
2271.20Sthorpej
2281.208Stsutsui# Topcat/catseye framebuffers
2291.208Stsutsuitopcat*		at intio?
2301.20Sthorpejtopcat*		at dio? scode ?
2311.161Stsutsuiwsdisplay*	at topcat?
2321.20Sthorpej
2331.208Stsutsui# TurboVRX framebuffer
2341.208Stsutsuitvrx*		at dio? scode ?
2351.161Stsutsuiwsdisplay*	at tvrx?
2361.20Sthorpej
2371.208Stsutsui# dumb framebuffer support for 362/382
2381.215Stsutsui#gendiofb*	at dio? scode ?
2391.215Stsutsui#wsdisplay*	at gendiofb?
2401.162Stsutsui
2411.208Stsutsui# STI framebuffers
2421.214Stsutsuisti*		at dio? scode ?		# 362 and 382
2431.214Stsutsuisti*		at sgc?	slot ?		# 425e and 425t variants
2441.173Stsutsuiwsdisplay*	at sti?
2451.166Stsutsui
2461.97Stsutsuicom0		at dio0 scode 9		# DCA serial interfaces
2471.97Stsutsuicom*		at dio? scode ?
2481.20Sthorpej
2491.20Sthorpejdcm*		at dio? scode ?	flags 0xe # DCM 4- or 8-port serial interfaces
2501.20Sthorpej
2511.20Sthorpejle*		at dio? scode ?		# LANCE ethernet interfaces
2521.20Sthorpej
2531.208Stsutsui# HP-IB devices
2541.208Stsutsuinhpib*		at intio?		# internal HP-IB
2551.208Stsutsuinhpib0		at dio? scode 7		# 98624A HP-IB
2561.20Sthorpejnhpib*		at dio? scode ?
2571.20Sthorpej
2581.208Stsutsuifhpib*		at dio? scode ?		# 98625A/98625B HP-IB
2591.20Sthorpej
2601.20Sthorpejhpibbus0	at nhpib0
2611.20Sthorpejhpibbus*	at nhpib?
2621.20Sthorpejhpibbus*	at fhpib?
2631.3Sthorpej
2641.20Sthorpejrd*		at hpibbus? slave ? punit ?	# HP-IB disks
2651.20Sthorpejct*		at hpibbus? slave ? punit ?	# HP-IB cartridge tapes
2661.20Sthorpejmt*		at hpibbus? slave ? punit ?	# HP-IB 9-track tape
2671.20Sthorpejppi0		at hpibbus0 slave 5 punit 0	# HP-IB plotter
2681.1Smycroft
2691.208Stsutsui# SCSI devices
2701.94Stsutsuispc*		at dio? scode ?			# HP 98265A SCSI
2711.94Stsutsuiscsibus*	at spc?
2721.1Smycroft
2731.94Stsutsuisd*		at scsibus? target ? lun ?	# SCSI disks
2741.94Stsutsuist*		at scsibus? target ? lun ?	# SCSI tapes
2751.94Stsutsuicd*		at scsibus? target ? lun ?	# SCSI CD-ROMs
2761.94Stsutsuich*		at scsibus? target ? lun ?	# SCSI changer devices
2771.94Stsutsuiss*		at scsibus? target ? lun ?	# SCSI scanners
2781.94Stsutsuiuk*		at scsibus? target ? lun ?	# unknown SCSI devices
2791.1Smycroft
2801.188Stsutsui# 425e digital audio
2811.188Stsutsuiarcofi* 	at dio? scode ?
2821.188Stsutsuiaudio*		at arcofi?
2831.188Stsutsui
2841.194Schristosspkr*		at audio?		# PC speaker (synthesized)
2851.192Snat
2861.80Sgmcgarry#
2871.80Sgmcgarry# Pseudo-devices
2881.80Sgmcgarry#
2891.80Sgmcgarry
2901.80Sgmcgarry# disk pseudo-devices
2911.176Schristospseudo-device	ccd			# concatenated disk devices
2921.176Schristos#pseudo-device	cgd			# cryptographic disk devices
2931.177Schristospseudo-device	raid			# RAIDframe disk driver
2941.75Sosteroptions 	RAID_AUTOCONFIG		# auto-configuration of RAID components
2951.75Soster# Options to enable various other RAIDframe RAID types.
2961.108Stsutsui#options 	RF_INCLUDE_EVENODD=1
2971.108Stsutsui#options 	RF_INCLUDE_RAID5_RS=1
2981.108Stsutsui#options 	RF_INCLUDE_PARITYLOGGING=1
2991.108Stsutsui#options 	RF_INCLUDE_CHAINDECLUSTER=1
3001.108Stsutsui#options 	RF_INCLUDE_INTERDECLUSTER=1
3011.108Stsutsui#options 	RF_INCLUDE_PARITY_DECLUSTERING=1
3021.108Stsutsui#options 	RF_INCLUDE_PARITY_DECLUSTERING_DS=1
3031.183Stsutsui#pseudo-device	fss			# file system snapshot device
3041.158Shannkenpseudo-device	md			# memory disk device (ramdisk)
3051.129Scubepseudo-device	vnd			# vnode pseudo-disks
3061.117Shubertf#options 	VND_COMPRESSION		# compressed vnd(4)
3071.80Sgmcgarry
3081.80Sgmcgarry# network pseudo-devices
3091.80Sgmcgarrypseudo-device	bridge			# simple inter-network bridging
3101.206Sroypseudo-device	vether			# Virtual Ethernet for bridge
3111.139Smartinpseudo-device	agr			# IEEE 802.3ad link aggregation
3121.128Srpaulopseudo-device	bpfilter		# Berkeley packet filter
3131.203Ssevanpseudo-device	carp			# Common Address Redundancy Protocol
3141.129Scube#pseudo-device	faith			# IPv[46] tcp relay translation i/f
3151.208Stsutsuipseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC1933)
3161.129Scube#pseudo-device	gre			# generic L3 over IP tunnel
3171.208Stsutsuipseudo-device	loop			# loopback network interface
3181.199Smaxvpseudo-device	npf			# NPF packet filter
3191.129Scubepseudo-device	ppp			# PPP network interfaces
3201.80Sgmcgarrypseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
3211.129Scubepseudo-device	sl			# SLIP network interfaces
3221.130Spavelpseudo-device	stf			# 6to4 IPv6 over IPv4 encapsulation
3231.129Scubepseudo-device	tun			# network tunneling over tty
3241.109Scubepseudo-device	tap			# virtual Ethernet
3251.62Sbouyerpseudo-device	vlan			# IEEE 802.1q encapsulation
3261.80Sgmcgarry
3271.147Stls# accept filters
3281.183Stsutsui#pseudo-device   accf_data		# "dataready" accept filter
3291.183Stsutsui#pseudo-device   accf_http		# "httpready" accept filter
3301.147Stls
3311.80Sgmcgarry# miscellaneous pseudo-devices
3321.81Slukempseudo-device	clockctl		# user control of clock subsystem
3331.202Sisakipseudo-device	drvctl			# user control of drive subsystem
3341.80Sgmcgarrypseudo-device	pty			# pseudo-terminals
3351.183Stsutsui#pseudo-device	vcoda			# coda minicache <-> venus comm.
3361.92Sraggepseudo-device	ksyms			# /dev/ksyms
3371.183Stsutsui#pseudo-device	putter			# for puffs and pud
3381.210Sriastradpseudo-device 	swwdog			# software watchdog timer -- swwdog(4)
3391.126Selad
3401.161Stsutsui# wscons pseudo-devices
3411.161Stsutsuipseudo-device	wsmux			# mouse & keyboard multiplexor
3421.161Stsutsuipseudo-device	wsfont
3431.161Stsutsui
3441.203Ssevaninclude "dev/veriexec.config"
3451.211Sabs
3461.211Sabs# Pull in optional local configuration - always at end
3471.211Sabscinclude	"arch/hp300/conf/GENERIC.local"
348