11.68Schristos# $NetBSD: GENERIC,v 1.68 2024/01/29 18:27:12 christos Exp $
21.1Stsutsui#
31.1Stsutsui# GENERIC machine description file
41.1Stsutsui# This machine description file is used to generate the default NetBSD
51.1Stsutsui# kernel.  The generic kernel does not include all options, subsystems
61.1Stsutsui# and device drivers, but should be useful for most applications.
71.1Stsutsui#
81.1Stsutsui# The machine description file can be customised for your specific
91.1Stsutsui# machine to reduce the kernel size and improve its performance.
101.1Stsutsui#
111.1Stsutsui# For further information on compiling NetBSD kernels, see the config(8)
121.1Stsutsui# man page.
131.1Stsutsui#
141.1Stsutsui# For further information on hardware support for this architecture, see
151.1Stsutsui# the intro(4) man page.  For further information about kernel options
161.1Stsutsui# for this architecture, see the options(4) man page.  For an explanation
171.1Stsutsui# of each device driver in this file see the section 4 man page for the
181.1Stsutsui# device.
191.1Stsutsui
201.1Stsutsui#
211.1Stsutsui# kernel config file for EWS4800/350, 360AD, 360ADII
221.1Stsutsui#
231.1Stsutsui
241.1Stsutsuiinclude 	"arch/ews4800mips/conf/std.ews4800mips"
251.1Stsutsui
261.1Stsutsuioptions 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
271.1Stsutsui
281.68Schristos#ident		"GENERIC-$Revision: 1.68 $"
291.1Stsutsui
301.1Stsutsuimaxusers	16
311.1Stsutsui
321.1Stsutsui#options 	MIPS1			# R2000/R3000
331.1Stsutsuioptions 	MIPS3			# R4000/R4400
341.1Stsutsui
351.23Stsutsuimakeoptions	CPUFLAGS="-march=r4400 -mabi=32" # optimize for R4400
361.23Stsutsui
371.1Stsutsui# MIPS3 on-chip timer interrupt is not used on EWS4800,
381.1Stsutsui# but the external timer interrupt line is connected to CPU INT5.
391.1Stsutsuioptions 	MIPS3_ENABLE_CLOCK_INTR
401.1Stsutsui
411.1Stsutsui# Support for specific models
421.1Stsutsuioptions 	EWS4800_TR2		# 350
431.2Stsutsuioptions 	EWS4800_TR2A		# 360,360AD,360ADII,360SX,360EX
441.1Stsutsui
451.1Stsutsui# Standard system options
461.1Stsutsuioptions 	NTP			# NTP phase/frequency locked loop
471.1Stsutsui
481.1Stsutsuioptions 	KTRACE			# system call tracing ktrace(1)
491.1Stsutsui
501.1Stsutsuioptions 	SYSVMSG			# System V-like message queues
511.1Stsutsuioptions 	SYSVSEM			# System V-like semaphores
521.1Stsutsuioptions 	SEMMNI=10		# number of semaphore identifiers
531.1Stsutsuioptions 	SYSVSHM			# System V shared memory
541.1Stsutsui
551.1Stsutsuioptions 	USERCONF		# userconf(4) support
561.1Stsutsui#options 	PIPE_SOCKETPAIR		# smaller, but slower pipe(2)
571.1Stsutsuioptions 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
581.1Stsutsui
591.56Ssevan# Alternate buffer queue strategies for better responsiveness under high
601.56Ssevan# disk I/O load.
611.1Stsutsui#options 	BUFQ_READPRIO
621.58Ssevanoptions 	BUFQ_PRIOCSCAN
631.1Stsutsui
641.1Stsutsui# Diagnostic/debugging support options
651.1Stsutsui#options 	DIAGNOSTIC	# expensive kernel consistency checks
661.1Stsutsui#options 	DEBUG		# extra kernel debugging support
671.1Stsutsuioptions 	DDB		# in-kernel debugger
681.46Sszptvlfn#options 	DDB_ONPANIC=1	# see also sysctl(7): `ddb.onpanic'
691.1Stsutsui#options 	DDB_HISTORY_SIZE=512	# enable history editing in DDB
701.1Stsutsui#makeoptions	DEBUG="-g"	# compile full symbol table
711.1Stsutsui
721.1Stsutsui# Compatibility options
731.55Smrginclude 	"conf/compat_netbsd13.config"
741.1Stsutsui#options 	COMPAT_LINUX	# binary compatibility with Linux
751.63Snia#options 	COMPAT_OSSAUDIO	# binary compatibility with Linux
761.1Stsutsui
771.1Stsutsui# File systems
781.1Stsutsuifile-system 	FFS		# fast filesystem with user and group quotas
791.1Stsutsuifile-system	EXT2FS		# second extended file system (linux)
801.1Stsutsuifile-system	LFS		# log-structured file system
811.1Stsutsuifile-system	MFS		# memory file system
821.1Stsutsuifile-system 	NFS		# Network File System client
831.1Stsutsui#file-system	NTFS		# Windows/NT file system (experimental)
841.1Stsutsuifile-system	CD9660		# ISO 9660 + Rock Ridge file system
851.1Stsutsuifile-system	MSDOSFS		# MS-DOS file system
861.1Stsutsuifile-system	FDESC		# /dev/fd
871.1Stsutsuifile-system	KERNFS		# /kern
881.1Stsutsuifile-system	NULLFS		# loopback file system
891.1Stsutsuifile-system	OVERLAY		# overlay file system
901.29Spookafile-system	PUFFS		# Userspace file systems (e.g. ntfs-3g & sshfs)
911.1Stsutsuifile-system	PROCFS		# /proc
921.1Stsutsuifile-system	UMAPFS		# NULLFS + uid and gid remapping
931.1Stsutsuifile-system	UNION		# union file system
941.1Stsutsui#file-system	CODA		# Coda file system; also needs vcoda (below)
951.1Stsutsuifile-system	SYSVBFS		# System V boot filesystem.
961.1Stsutsuifile-system	PTYFS		# /dev/pts/N support
971.31Schsfile-system	TMPFS		# Efficient memory file-system
981.5Sreinoud#file-system	UDF		# experimental - OSTA UDF CD/DVD file-system
991.1Stsutsui
1001.1Stsutsui# File system options
1011.65Ssimonb#options 	FFS_EI		# FFS Endian Independent support
1021.65Ssimonb#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
1031.34Sbouyeroptions 	QUOTA		# legacy UFS quotas
1041.34Sbouyeroptions 	QUOTA2		# new, in-filesystem UFS quotas
1051.65Ssimonb#options 	UFS_DIRHASH	# UFS Large Directory Hashing
1061.65Ssimonboptions 	UFS_EXTATTR	# Extended attribute support for UFS1
1071.36Sdhollandoptions 	WAPBL		# File system journaling support
1081.65Ssimonb#options 	LFS_DIRHASH	# LFS version of UFS_DIRHASH - experimental
1091.65Ssimonboptions 	NFSSERVER	# Network File System server
1101.1Stsutsui
1111.1Stsutsui# Networking options
1121.1Stsutsui#options 	GATEWAY		# packet forwarding
1131.1Stsutsuioptions 	INET		# IP + ICMP + TCP + UDP
1141.1Stsutsuioptions 	INET6		# IPV6
1151.1Stsutsui#options 	IPSEC		# IP security
1161.1Stsutsui#options 	IPSEC_DEBUG	# debug for IP security
1171.1Stsutsui#options 	MROUTING	# IP multicast routing
1181.1Stsutsui#options 	PIM		# Protocol Independent Multicast
1191.1Stsutsuioptions 	NETATALK	# AppleTalk networking protocols
1201.1Stsutsuioptions 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
1211.1Stsutsuioptions 	PPP_DEFLATE	# Deflate compression support for PPP
1221.1Stsutsuioptions 	PPP_FILTER	# Active filter support for PPP (requires bpf)
1231.1Stsutsui#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
1241.1Stsutsui
1251.1Stsutsui#options 	ALTQ		# Manipulate network interfaces' output queues
1261.1Stsutsui#options 	ALTQ_BLUE	# Stochastic Fair Blue
1271.1Stsutsui#options 	ALTQ_CBQ	# Class-Based Queueing
1281.1Stsutsui#options 	ALTQ_CDNR	# Diffserv Traffic Conditioner
1291.1Stsutsui#options 	ALTQ_FIFOQ	# First-In First-Out Queue
1301.1Stsutsui#options 	ALTQ_FLOWVALVE	# RED/flow-valve (red-penalty-box)
1311.1Stsutsui#options 	ALTQ_HFSC	# Hierarchical Fair Service Curve
1321.1Stsutsui#options 	ALTQ_LOCALQ	# Local queueing discipline
1331.1Stsutsui#options 	ALTQ_PRIQ	# Priority Queueing
1341.1Stsutsui#options 	ALTQ_RED	# Random Early Detection
1351.1Stsutsui#options 	ALTQ_RIO	# RED with IN/OUT
1361.1Stsutsui#options 	ALTQ_WFQ	# Weighted Fair Queueing
1371.1Stsutsui
1381.47Salnsn# JIT compiler for bpfilter
1391.47Salnsn#options	SLJIT
1401.47Salnsn#options	BPFJIT
1411.47Salnsn
1421.1Stsutsui# These options enable verbose messages for several subsystems.
1431.1Stsutsui# Warning, these may compile large string tables into the kernel!
1441.1Stsutsuioptions 	SCSIVERBOSE	# human readable SCSI error messages
1451.1Stsutsui
1461.1Stsutsuioptions 	NFS_BOOT_DHCP
1471.1Stsutsui
1481.1Stsutsui
1491.1Stsutsui# workstation console options
1501.1Stsutsuioptions 	WSEMUL_VT100		# VT100 / VT220 emulation
1511.38Sabsoptions 	WSDISPLAY_COMPAT_USL		# wsconscfg VT handling
1521.1Stsutsuioptions 	WS_KERNEL_FG=WSCOL_GREEN
1531.1Stsutsuioptions 	WS_KERNEL_BG=WSCOL_BLACK
1541.1Stsutsui
1551.1Stsutsuioptions 	FONT_GALLANT12x22
1561.1Stsutsui#options 	FONT_SONY12x24
1571.1Stsutsui
1581.1Stsutsuiconfig		netbsd		root on ? type ?
1591.1Stsutsui
1601.1Stsutsui#
1611.1Stsutsui# Device configuration
1621.1Stsutsui#
1631.1Stsutsui
1641.1Stsutsuimainbus0 at root
1651.1Stsutsui
1661.1Stsutsuicpu0	at mainbus?
1671.1Stsutsui
1681.1Stsutsuisbdio0	at mainbus?
1691.1Stsutsui
1701.1Stsutsuimkclock0 at sbdio?
1711.1Stsutsui
1721.15Stsutsuizsc0	at sbdio?
1731.15Stsutsuizstty0	at zsc? channel 0	# SIO ch-A
1741.15Stsutsuizstty1	at zsc? channel 1	# SIO ch-B
1751.15Stsutsui
1761.15Stsutsui#kbms*	at sbdio?
1771.1Stsutsui#wskbd0		at kbms? console ?
1781.1Stsutsui#wsmouse0	at kbms?
1791.1Stsutsui
1801.15Stsutsuizsc1	at sbdio?
1811.1Stsutsuiewskbd0 at zsc?
1821.1Stsutsuiwskbd* at ewskbd?
1831.1Stsutsuiewsms0 at zsc?
1841.1Stsutsuiwsmouse* at ewsms?
1851.1Stsutsui
1861.1Stsutsuifb*	at sbdio?
1871.1Stsutsuiwsdisplay*	at fb? console ?
1881.1Stsutsui
1891.1Stsutsui# Disk
1901.1Stsutsuiosiop*	at sbdio? flags 0x0000
1911.1Stsutsuiscsibus* at scsi?
1921.1Stsutsui
1931.1Stsutsuisd*	at scsibus? target ? lun ?	# SCSI disk drives
1941.1Stsutsuist*	at scsibus? target ? lun ?	# SCSI tape drives
1951.1Stsutsuicd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives
1961.1Stsutsuich*	at scsibus? target ? lun ?	# SCSI autochangers
1971.1Stsutsuises*	at scsibus? target ? lun ?	# SCSI Enclosure Services devices
1981.1Stsutsuiss*	at scsibus? target ? lun ?	# SCSI scanners
1991.1Stsutsuiuk*	at scsibus? target ? lun ?	# SCSI unknown
2001.1Stsutsui
2011.1Stsutsui# Ether
2021.1Stsutsuiiee*	at sbdio?			# TR2
2031.1Stsutsuile*	at sbdio?			# TR2A
2041.1Stsutsui
2051.1Stsutsui
2061.1Stsutsui# Pseudo-Devices
2071.1Stsutsui
2081.1Stsutsui# disk/mass strage pseudo-devices
2091.42Schristospseudo-device	ccd			# concatenated/striped disk devices
2101.42Schristos#pseudo-device	cgd			# cryptographic disk devices
2111.43Schristospseudo-device	raid			# RAIDframe disk driver
2121.1Stsutsuioptions 	RAID_AUTOCONFIG		# auto-configuration of RAID components
2131.1Stsutsui# Options to enable various other RAIDframe RAID types.
2141.1Stsutsui#options 	RF_INCLUDE_EVENODD=1
2151.1Stsutsui#options 	RF_INCLUDE_RAID5_RS=1
2161.1Stsutsui#options 	RF_INCLUDE_PARITYLOGGING=1
2171.1Stsutsui#options 	RF_INCLUDE_CHAINDECLUSTER=1
2181.1Stsutsui#options 	RF_INCLUDE_INTERDECLUSTER=1
2191.1Stsutsui#options 	RF_INCLUDE_PARITY_DECLUSTERING=1
2201.1Stsutsui#options 	RF_INCLUDE_PARITY_DECLUSTERING_DS=1
2211.30Spookapseudo-device	fss			# file system snapshot device
2221.29Spookapseudo-device	putter			# for puffs and pud
2231.1Stsutsui
2241.33Shannkenpseudo-device	md			# memory disk device (ramdisk)
2251.7Scubepseudo-device	vnd			# virtual disk ick
2261.1Stsutsuioptions 	VND_COMPRESSION		# compressed vnd(4)
2271.1Stsutsui
2281.1Stsutsui# network pseudo-devices
2291.6Srpaulopseudo-device	bpfilter		# packet filter ports
2301.58Ssevanpseudo-device	carp			# Common Address Redundancy Protocol
2311.57Smaxvpseudo-device	npf			# NPF packet filter
2321.1Stsutsuipseudo-device	loop			# network loopback
2331.7Scubepseudo-device	ppp			# Point-to-Point Protocol
2341.1Stsutsuipseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
2351.7Scubepseudo-device	sl			# Serial Line IP
2361.1Stsutsui#pseudo-device	irframetty		# IrDA frame line discipline
2371.1Stsutsuipseudo-device	tap			# virtual Ethernet
2381.7Scubepseudo-device	tun			# network tunneling over tty
2391.7Scubepseudo-device	gre			# generic L3 over IP tunnel
2401.7Scubepseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC1933)
2411.7Scube#pseudo-device	faith			# IPv[46] tcp relay translation i/f
2421.9Spavelpseudo-device	stf			# 6to4 IPv6 over IPv4 encapsulation
2431.1Stsutsuipseudo-device	vlan			# IEEE 802.1q encapsulation
2441.1Stsutsuipseudo-device	bridge			# simple inter-network bridging
2451.62Sroypseudo-device	vether			# Virtual Ethernet for bridge
2461.18Smartinpseudo-device	agr			# IEEE 802.3ad link aggregation
2471.1Stsutsui
2481.25Stls#
2491.25Stls# accept filters
2501.25Stlspseudo-device   accf_data		# "dataready" accept filter
2511.25Stlspseudo-device   accf_http		# "httpready" accept filter
2521.25Stls
2531.1Stsutsui# miscellaneous pseudo-devices
2541.1Stsutsuipseudo-device	pty			# pseudo-terminals
2551.1Stsutsui#pseudo-device	tb		1	# tablet line discipline
2561.1Stsutsuipseudo-device	clockctl		# user control of clock subsystem
2571.1Stsutsuipseudo-device	ksyms			# /dev/ksyms
2581.66Sriastradpseudo-device 	swwdog			# software watchdog timer -- swwdog(4)
2591.1Stsutsui
2601.1Stsutsui# a pseudo device needed for Coda	# also needs CODA (above)
2611.43Schristos#pseudo-device	vcoda			# coda minicache <-> venus comm.
2621.1Stsutsui
2631.1Stsutsui# wscons pseudo-devices
2641.1Stsutsuipseudo-device	wsmux
2651.3Stsutsui
2661.58Ssevaninclude "dev/veriexec.config"
2671.67Sabs
2681.67Sabs# Pull in optional local configuration - always at end
2691.67Sabscinclude	"arch/ews4800mips/conf/GENERIC.local"
270