GENERIC revision 1.169
11.169Sabs# $NetBSD: GENERIC,v 1.169 2023/02/12 14:50:38 abs Exp $
21.1Ssakamoto#
31.48Sgmcgarry# GENERIC machine description file
41.108Skiyohara#
51.48Sgmcgarry# This machine description file is used to generate the default NetBSD
61.48Sgmcgarry# kernel.  The generic kernel does not include all options, subsystems
71.48Sgmcgarry# and device drivers, but should be useful for most applications.
81.1Ssakamoto#
91.48Sgmcgarry# The machine description file can be customised for your specific
101.48Sgmcgarry# machine to reduce the kernel size and improve its performance.
111.48Sgmcgarry#
121.48Sgmcgarry# For further information on compiling NetBSD kernels, see the config(8)
131.48Sgmcgarry# man page.
141.48Sgmcgarry#
151.48Sgmcgarry# For further information on hardware support for this architecture, see
161.48Sgmcgarry# the intro(4) man page.  For further information about kernel options
171.48Sgmcgarry# for this architecture, see the options(4) man page.  For an explanation
181.48Sgmcgarry# of each device driver in this file see the section 4 man page for the
191.48Sgmcgarry# device.
201.1Ssakamoto
211.48Sgmcgarryinclude 	"arch/bebox/conf/std.bebox"
221.23Shubertf
231.123Skiyoharaoptions 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
241.55Satatat
251.169Sabs#ident 		"GENERIC-$Revision: 1.169 $"
261.1Ssakamoto
271.1Ssakamotomaxusers	32
281.1Ssakamoto
291.108Skiyohara# Standard system options
301.108Skiyohara
311.108Skiyoharaoptions 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
321.108Skiyoharaoptions 	NTP		# NTP phase/frequency locked loop
331.108Skiyohara
341.108Skiyoharaoptions 	KTRACE		# system call tracing via ktrace(1)
351.108Skiyohara
361.108Skiyoharaoptions 	SYSVMSG		# System V-like message queues
371.108Skiyoharaoptions 	SYSVSEM		# System V-like semaphores
381.108Skiyoharaoptions 	SYSVSHM		# System V-like memory sharing
391.108Skiyohara
401.108Skiyoharaoptions 	USERCONF	# userconf(4) support
411.108Skiyohara#options 	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
421.74Satatatoptions 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
431.60Sjunyoung
441.157Ssevan# Alternate buffer queue strategies for better responsiveness under high
451.157Ssevan# disk I/O load.
461.82Stsutsui#options 	BUFQ_READPRIO
471.160Ssevanoptions 	BUFQ_PRIOCSCAN
481.1Ssakamoto
491.108Skiyohara# Diagnostic/debugging support options
501.108Skiyohara#options 	DIAGNOSTIC	# cheap kernel consistency checks
511.108Skiyohara#options 	DEBUG		# expensive debugging checks/support
521.108Skiyoharaoptions 	DDB		# in-kernel debugger
531.141Sszptvlfnoptions 	DDB_ONPANIC=1	# see also sysctl(7): `ddb.onpanic'
541.108Skiyoharaoptions 	DDB_HISTORY_SIZE=512	# Enable history editing in DDB
551.108Skiyohara#makeoptions	DEBUG="-g"
561.108Skiyohara
571.156Smrginclude 	"conf/compat_netbsd09.config"
581.156Smrg
591.108Skiyohara#options 	COMPAT_386BSD_MBRPART	# recognize old partition ID
601.108Skiyohara#options 	COMPAT_LINUX	# Linux binary compatibility
611.165Snia#options 	COMPAT_OSSAUDIO	# Linux binary compatibility
621.1Ssakamoto
631.108Skiyohara# File systems
641.108Skiyoharafile-system	FFS		# UFS
651.108Skiyohara#file-system	EXT2FS		# second extended file system (linux)
661.108Skiyohara#file-system	LFS		# log-structured file system
671.108Skiyoharafile-system	MFS		# memory file system
681.108Skiyoharafile-system	NFS		# Network File System client
691.108Skiyoharafile-system	CD9660		# ISO 9660 + Rock Ridge file system
701.108Skiyoharafile-system	MSDOSFS		# MS-DOS file system
711.108Skiyohara#file-system	FDESC		# /dev/fd
721.108Skiyoharafile-system	KERNFS		# /kern
731.108Skiyoharafile-system	NULLFS		# loopback file system
741.108Skiyohara#file-system	OVERLAY		# overlay file system
751.118Schsfile-system	PROCFS		# /proc
761.108Skiyohara#file-system	UMAPFS		# NULLFS + uid and gid remapping
771.108Skiyoharafile-system	UNION		# union file system
781.108Skiyohara#file-system	CODA		# Coda File System; also needs vcoda (below)
791.118Schsfile-system	PTYFS		# /dev/pts/N support
801.118Schsfile-system	TMPFS		# Efficient memory file-system
811.95Sreinoud#file-system	UDF		# experimental - OSTA UDF CD/DVD file-system
821.108Skiyohara#file-system	HFS		# experimental - Apple HFS+ (read-only)
831.1Ssakamoto
841.108Skiyohara# File system options
851.167Ssimonb#options 	APPLE_UFS	# Apple UFS support in FFS
861.167Ssimonb#options 	FFS_EI		# FFS Endian Independent support
871.167Ssimonb#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
881.126Sbouyeroptions 	QUOTA		# legacy UFS quotas
891.126Sbouyeroptions 	QUOTA2		# new, in-filesystem UFS quotas
901.167Ssimonboptions 	UFS_DIRHASH	# UFS Large Directory Hashing
911.167Ssimonboptions 	UFS_EXTATTR	# Extended attribute support for UFS1
921.167Ssimonboptions 	WAPBL		# File system journaling support
931.167Ssimonb#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
941.167Ssimonb				# immutable) behave as system flags.
951.153Srin#options 	DISKLABEL_EI	# disklabel Endian Independent support
961.108Skiyohara#options 	NFSSERVER	# Network File System server
971.108Skiyohara
981.108Skiyohara# Networking options
991.108Skiyohara#options 	GATEWAY		# packet forwarding
1001.108Skiyoharaoptions 	INET		# IP + ICMP + TCP + UDP
1011.21Sitojunoptions 	INET6		# IPV6
1021.21Sitojun#options 	IPSEC		# IP security
1031.21Sitojun#options 	IPSEC_DEBUG	# debug for IP security
1041.108Skiyohara#options 	MROUTING	# IP multicast routing
1051.108Skiyohara#options 	PIM		# Protocol Independent Multicast
1061.108Skiyohara#options 	NETATALK	# AppleTalk networking protocols
1071.108Skiyohara#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
1081.108Skiyohara#options 	PPP_DEFLATE	# Deflate compression support for PPP
1091.108Skiyohara#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
1101.40Sabs#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
1111.5Ssakamoto
1121.73Sabs#options 	ALTQ		# Manipulate network interfaces' output queues
1131.73Sabs#options 	ALTQ_BLUE	# Stochastic Fair Blue
1141.73Sabs#options 	ALTQ_CBQ	# Class-Based Queueing
1151.73Sabs#options 	ALTQ_CDNR	# Diffserv Traffic Conditioner
1161.73Sabs#options 	ALTQ_FIFOQ	# First-In First-Out Queue
1171.73Sabs#options 	ALTQ_FLOWVALVE	# RED/flow-valve (red-penalty-box)
1181.73Sabs#options 	ALTQ_HFSC	# Hierarchical Fair Service Curve
1191.73Sabs#options 	ALTQ_LOCALQ	# Local queueing discipline
1201.73Sabs#options 	ALTQ_PRIQ	# Priority Queueing
1211.73Sabs#options 	ALTQ_RED	# Random Early Detection
1221.73Sabs#options 	ALTQ_RIO	# RED with IN/OUT
1231.73Sabs#options 	ALTQ_WFQ	# Weighted Fair Queueing
1241.73Sabs
1251.108Skiyohara# These options enable verbose messages for several subsystems.
1261.108Skiyohara# Warning, these may compile large string tables into the kernel!
1271.108Skiyoharaoptions 	PCIVERBOSE	# verbose PCI device autoconfig messages
1281.108Skiyoharaoptions 	MIIVERBOSE	# verbose PHY autoconfig messages
1291.108Skiyohara#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
1301.108Skiyoharaoptions 	SCSIVERBOSE	# human readable SCSI error messages
1311.1Ssakamoto
1321.108Skiyohara#options 	NFS_BOOT_BOOTPARAM,NFS_BOOT_BOOTP
1331.1Ssakamoto
1341.108Skiyohara# wscons options
1351.108Skiyohara# builtin terminal emulations
1361.108Skiyohara#options 	WSEMUL_SUN		# sun terminal emulation
1371.108Skiyoharaoptions 	WSEMUL_VT100		# VT100 / VT220 emulation
1381.108Skiyoharaoptions 	WS_DEFAULT_FG=WSCOL_LIGHT_WHITE
1391.120Skiyohara# compatibility to other console drivers
1401.131Sabsoptions 	WSDISPLAY_COMPAT_USL	# wsconscfg VT handling
1411.120Skiyoharaoptions 	WSDISPLAY_COMPAT_RAWKBD	# can get raw scancodes
1421.34Sitojun
1431.108Skiyoharaconfig		netbsd	root on ? type ?
1441.1Ssakamoto
1451.1Ssakamotomainbus0 at root
1461.1Ssakamoto
1471.41Smattcpu*	at mainbus0
1481.1Ssakamotopci0	at mainbus0 bus ?
1491.1Ssakamoto
1501.108Skiyoharapci*	at ppb? bus ?
1511.108Skiyohara
1521.1Ssakamotoppb*	at pci? dev ? function ?	# PCI-PCI bridges
1531.1Ssakamotopchb*	at pci? dev ? function ?	# PCI-Host bridges
1541.1Ssakamotopcib*	at pci? dev ? function ?	# PCI-ISA bridges
1551.1Ssakamoto
1561.1Ssakamotoisa*	at pcib?			# ISA on PCI-ISA bridge
1571.1Ssakamoto
1581.108Skiyohara# Console Devices
1591.108Skiyohara
1601.108Skiyohara# wscons
1611.108Skiyoharapckbc0		at isa?			# pc keyboard controller
1621.108Skiyoharapckbd*		at pckbc?		# PC keyboard
1631.108Skiyoharapms*		at pckbc?		# PS/2 mouse for wsmouse
1641.108Skiyohara#options	PMS_DISABLE_POWERHOOK	# Disable PS/2 reset on resume
1651.121Skiyohara#options 	PMS_SYNAPTICS_TOUCHPAD	# Enable support for Synaptics Touchpads
1661.108Skiyoharagenfb*		at pci? dev ? function ?
1671.120Skiyoharaoptions 	WSFB_FAKE_VGA_FB
1681.108Skiyoharavga*		at pci? dev ? function ?
1691.108Skiyoharawsdisplay*	at vga? console ?
1701.108Skiyoharawskbd*		at pckbd? console ?
1711.108Skiyoharawsmouse*	at pms? mux 0
1721.102Sgdamore
1731.108Skiyohara# make sure the console display is always wsdisplay0
1741.108Skiyoharawsdisplay0	at wsemuldisplaydev? console 1
1751.108Skiyoharawsdisplay*	at wsemuldisplaydev?
1761.1Ssakamoto
1771.5Ssakamotocom0	at isa? port 0x3f8 irq 4	# standard PC serial ports
1781.5Ssakamotocom1	at isa? port 0x2f8 irq 3
1791.108Skiyoharacom2	at isa? port 0x380 irq 22
1801.108Skiyoharacom3	at isa? port 0x388 irq 23
1811.46Slukem
1821.1Ssakamotolpt0	at isa? port 0x378 irq 7	# standard PC parallel ports
1831.1Ssakamoto
1841.108Skiyoharamcclock0 at isa? port 0x70		# time-of-day clock
1851.108Skiyoharaattimer0 at isa?
1861.133Skiyohara#pcppi0	at isa?
1871.152Smartin#spkr*	at pcppi?
1881.108Skiyohara
1891.124Skiyoharawss0	at isa? port 0x82c irq 30 drq 6 drq2 7	# Windows Sound System
1901.8Ssakamoto
1911.108Skiyohara# Audio support
1921.124Skiyoharaaudio*	at audiobus?
1931.67Sjonathan
1941.151Schristosspkr*	at audio?			# PC speaker (synthesized)
1951.148Snat
1961.108Skiyohara# MIDI support
1971.133Skiyohara#midi*	at pcppi?			# MIDI interface to the PC speaker
1981.108Skiyohara
1991.108Skiyohara# Joystick driver. Probe is a little strange; add only if you have one.
2001.108Skiyoharajoy0	at isa? port 0x201
2011.67Sjonathan
2021.110Skiyoharasiop*	at pci? dev ? function ?	# NCR 538XX SCSI controllers
2031.110Skiyoharascsibus* at siop?
2041.1Ssakamoto
2051.110Skiyoharasd*	at scsibus? target ? lun ?	# SCSI disk drives
2061.1Ssakamoto#st*	at scsibus? target ? lun ?	# SCSI tape drives
2071.110Skiyoharacd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives
2081.1Ssakamoto#ch*	at scsibus? target ? lun ?	# SCSI autochangers
2091.1Ssakamoto#ss*	at scsibus? target ? lun ?	# SCSI scanners
2101.1Ssakamoto#uk*	at scsibus? target ? lun ?	# SCSI unknown
2111.1Ssakamoto
2121.10Ssakamotofdc0	at isa? port 0x3f0 irq 6 drq 2	# standard PC floppy controllers
2131.10Ssakamotofd0	at fdc? drive 1
2141.1Ssakamoto#fd*	at fdc? drive ?
2151.1Ssakamoto
2161.6Ssakamotowdc0	at isa? port 0x1f0 irq 14	# ST506, ESDI, and IDE controllers
2171.108Skiyohara
2181.66Slukematabus* at ata?
2191.65Sbouyerwd*	at atabus? drive ?
2201.1Ssakamoto
2211.108Skiyohara# ATAPI bus support
2221.108Skiyoharaatapibus* at atapi?
2231.108Skiyohara
2241.108Skiyohara# ATAPI devices
2251.108Skiyohara# flags have the same meaning as for IDE drives.
2261.108Skiyoharacd*	at atapibus? drive ? flags 0x0000	# ATAPI CD-ROM drives
2271.108Skiyohara#sd*	at atapibus? drive ? flags 0x0000	# ATAPI disk drives
2281.108Skiyohara#st*	at atapibus? drive ? flags 0x0000	# ATAPI tape drives
2291.108Skiyohara#uk*	at atapibus? drive ? flags 0x0000	# ATAPI unknown
2301.108Skiyohara
2311.108Skiyohara# Network devices
2321.108Skiyoharaec0	at isa? port 0x250 iomem 0xd8000 irq 9	# 3Com 3c503 Ethernet
2331.6Ssakamotone0	at isa? port 0x300 irq 5	# NE[12]000 ethernet cards
2341.108Skiyoharafxp*	at pci? dev ? function ?	# Intel EtherExpress PRO 10+/100B
2351.108Skiyoharane*	at pci? dev ? function ?	# NE2000-compatible Ethernet
2361.108Skiyoharatlp*	at pci? dev ? function ?	# DECchip 21x4x and clones
2371.108Skiyohara
2381.108Skiyohara# MII/PHY support
2391.108Skiyoharaukphy*  at mii? phy ?                   # generic unknown PHYs
2401.108Skiyohara
2411.121Skiyohara# TV cards
2421.121Skiyohara
2431.121Skiyohara# Brooktree 848/849/878/879 based TV cards
2441.121Skiyoharabktr*	at pci? dev ? function ?	# Brooktree video/audio capture/tuner
2451.121Skiyohara
2461.108Skiyohara
2471.108Skiyohara# Pseudo-Devices
2481.108Skiyohara
2491.108Skiyoharapseudo-device	crypto			# /dev/crypto device
2501.108Skiyohara					# (disabled, requires generic softints)
2511.108Skiyoharapseudo-device	swcrypto		# software crypto implementation
2521.108Skiyohara
2531.108Skiyohara# disk/mass storage pseudo-devices
2541.133Skiyohara#pseudo-device	bio			# RAID control device driver
2551.136Schristospseudo-device	ccd			# concatenated/striped disk devices
2561.136Schristospseudo-device	cgd			# cryptographic disk devices
2571.137Schristos#pseudo-device	raid			# RAIDframe disk driver
2581.133Skiyohara#options 	RAID_AUTOCONFIG		# auto-configuration of RAID components
2591.108Skiyohara# Options to enable various other RAIDframe RAID types.
2601.108Skiyohara#options 	RF_INCLUDE_EVENODD=1
2611.108Skiyohara#options 	RF_INCLUDE_RAID5_RS=1
2621.108Skiyohara#options 	RF_INCLUDE_PARITYLOGGING=1
2631.108Skiyohara#options 	RF_INCLUDE_CHAINDECLUSTER=1
2641.108Skiyohara#options 	RF_INCLUDE_INTERDECLUSTER=1
2651.108Skiyohara#options 	RF_INCLUDE_PARITY_DECLUSTERING=1
2661.108Skiyohara#options 	RF_INCLUDE_PARITY_DECLUSTERING_DS=1
2671.117Spookapseudo-device	fss			# file system snapshot device
2681.108Skiyohara
2691.125Shannkenpseudo-device	md			# memory disk device
2701.108Skiyoharapseudo-device	vnd			# disk-like interface to files
2711.108Skiyoharaoptions 	VND_COMPRESSION		# compressed vnd(4)
2721.108Skiyohara
2731.108Skiyohara# network pseudo-devices
2741.108Skiyoharapseudo-device	bpfilter		# packet filter
2751.160Ssevanpseudo-device	carp			# Common Address Redundancy Protocol
2761.158Smaxvpseudo-device	npf			# NPF packet filter
2771.108Skiyoharapseudo-device	loop			# network loopback
2781.108Skiyoharapseudo-device	ppp			# Point-to-Point Protocol
2791.108Skiyoharapseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
2801.108Skiyoharapseudo-device	sl			# Serial Line IP
2811.108Skiyohara#pseudo-device	irframetty		# IrDA frame line discipline
2821.108Skiyoharapseudo-device	tap			# virtual Ethernet
2831.108Skiyoharapseudo-device	tun			# network tunneling over tty
2841.108Skiyohara#pseudo-device	gre			# generic L3 over IP tunnel
2851.108Skiyohara#pseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC1933)
2861.108Skiyohara#pseudo-device	faith			# IPv[46] tcp relay translation i/f
2871.108Skiyohara#pseudo-device	stf			# 6to4 IPv6 over IPv4 encapsulation
2881.108Skiyohara#pseudo-device	vlan			# IEEE 802.1q encapsulation
2891.108Skiyohara#pseudo-device	bridge			# simple inter-network bridging
2901.164Sroy#pseudo-device	vether			# Virtual Ethernet for bridge
2911.108Skiyohara#pseudo-device	agr			# IEEE 802.3ad link aggregation
2921.108Skiyohara# srt is EXPERIMENTAL
2931.108Skiyohara#pseudo-device	srt			# source-address-based routing
2941.108Skiyohara
2951.112Stls#
2961.112Stls# accept filters
2971.112Stlspseudo-device   accf_data		# "dataready" accept filter
2981.112Stlspseudo-device   accf_http		# "httpready" accept filter
2991.112Stls
3001.108Skiyohara# miscellaneous pseudo-devices
3011.108Skiyoharapseudo-device	pty			# pseudo-terminals
3021.166Smartin#pseudo-device	sequencer		# MIDI sequencer
3031.108Skiyohara#options 	RND_COM			# use "com" randomness as well (BROKEN)
3041.108Skiyoharapseudo-device	clockctl		# user control of clock subsystem
3051.108Skiyoharapseudo-device	ksyms			# /dev/ksyms
3061.108Skiyoharapseudo-device	lockstat		# lock profiling
3071.108Skiyohara#pseudo-device	bcsp			# BlueCore Serial Protocol
3081.108Skiyohara#pseudo-device	btuart			# Bluetooth HCI UART (H4)
3091.168Sriastradpseudo-device 	swwdog			# software watchdog timer -- swwdog(4)
3101.108Skiyohara
3111.108Skiyohara# a pseudo device needed for Coda	# also needs CODA (above)
3121.137Schristos#pseudo-device	vcoda			# coda minicache <-> venus comm.
3131.108Skiyohara
3141.108Skiyohara# wscons pseudo-devices
3151.108Skiyoharapseudo-device	wsmux			# mouse & keyboard multiplexor
3161.108Skiyoharapseudo-device	wsfont
3171.1Ssakamoto
3181.108Skiyohara# pseudo audio device driver
3191.108Skiyohara#pseudo-device	pad
3201.10Ssakamoto
3211.108Skiyohara# userland interface to drivers, including autoconf and properties retrieval
3221.159Sisakipseudo-device	drvctl
3231.1Ssakamoto
3241.160Ssevaninclude "dev/veriexec.config"
3251.108Skiyohara
3261.108Skiyohara#options 	PAX_MPROTECT=0		# PaX mprotect(2) restrictions
3271.108Skiyohara#options 	PAX_ASLR=0		# PaX Address Space Layout Randomization
3281.169Sabs
3291.169Sabs# Pull in optional local configuration - always at end
3301.169Sabscinclude	"arch/bebox/conf/GENERIC.local"
331