11.113Scharlott# $NetBSD: GENERIC,v 1.113 2024/04/02 22:56:51 charlotte Exp $
21.37Sgarbled#
31.48Sphx# machine description file for GENERIC NAS
41.37Sgarbled# 
51.37Sgarbled# This machine description file is used to generate the default NetBSD
61.37Sgarbled# kernel.  The generic kernel does not include all options, subsystems
71.37Sgarbled# and device drivers, but should be useful for most applications.
81.37Sgarbled#
91.37Sgarbled# The machine description file can be customised for your specific
101.37Sgarbled# machine to reduce the kernel size and improve its performance.
111.37Sgarbled#
121.37Sgarbled# For further information on compiling NetBSD kernels, see the config(8)
131.37Sgarbled# man page.
141.37Sgarbled#
151.37Sgarbled# For further information on hardware support for this architecture, see
161.37Sgarbled# the intro(4) man page.  For further information about kernel options
171.37Sgarbled# for this architecture, see the options(4) man page.  For an explanation
181.37Sgarbled# of each device driver in this file see the section 4 man page for the
191.37Sgarbled# device.
201.37Sgarbled
211.37Sgarbledinclude 	"arch/sandpoint/conf/std.sandpoint"
221.37Sgarbled
231.37Sgarbledoptions 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
241.37Sgarbled
251.113Scharlott#ident 		"GENERIC-$Revision: 1.113 $"
261.37Sgarbled
271.37Sgarbledmaxusers	32
281.37Sgarbled
291.48Sphx#options 	ALTIVEC		# Include AltiVec support
301.37Sgarbled
311.67Sphx# Standard system options
321.67Sphx#options 	INSECURE	# disable kernel security levels
331.67Sphx
341.67Sphxoptions 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
351.67Sphxoptions 	KTRACE
361.67Sphx
371.81Sphxoptions 	SYSVMSG		# System V message queues
381.81Sphxoptions 	SYSVSEM		# System V semaphores
391.81Sphxoptions 	SYSVSHM		# System V shared memory
401.67Sphx
411.67Sphx#options 	MODULAR		# module(7) support
421.85Sjnemeth#options 	MODULAR_DEFAULT_AUTOLOAD
431.67Sphx#options 	USERCONF	# userconf(4) support
441.37Sgarbled
451.67Sphx#options 	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
461.67Sphxoptions 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
471.51Snisimura
481.97Ssevan# Alternate buffer queue strategies for better responsiveness under high
491.97Ssevan# disk I/O load.
501.67Sphx#options 	BUFQ_READPRIO
511.102Ssevanoptions 	BUFQ_PRIOCSCAN
521.67Sphx
531.67Sphx# Diagnostic/debugging support options
541.67Sphx#options 	DIAGNOSTIC	# cheap kernel consistency checks
551.67Sphx#options 	DEBUG		# expensive debugging checks/support
561.37Sgarbledoptions 	DDB
571.37Sgarbled#options 	DDB_HISTORY_SIZE=100	# Enable history editing in DDB
581.67Sphx#options 	TRAP_PANICWAIT
591.37Sgarbled#options 	PMAPCHECK
601.37Sgarbled#options 	PMAPDEBUG
611.67Sphxoptions 	MSGBUFSIZE=65536
621.67Sphx
631.67Sphx#makeoptions	DEBUG="-g"
641.37Sgarbled
651.37Sgarbled# Compatibility options
661.96Smrginclude 	"conf/compat_netbsd09.config"
671.37Sgarbledoptions 	COMPAT_NOMID	# NetBSD 0.8, 386BSD, and BSDI
681.37Sgarbled#options 	COMPAT_386BSD_MBRPART	# recognize old partition ID
691.67Sphx#options 	COMPAT_LINUX	# binary compatibility with Linux
701.107Snia#options 	COMPAT_OSSAUDIO	# binary compatibility with Linux
711.37Sgarbled
721.67Sphx# Wedge support
731.83Schristosoptions 	DKWEDGE_AUTODISCOVER	# Automatically add dk(4) instances
741.83Schristosoptions 	DKWEDGE_METHOD_GPT	# Supports GPT partitions as wedges
751.86Schristos#options 	DKWEDGE_METHOD_BSDLABEL	# Support disklabel entries as wedges
761.86Schristos#options 	DKWEDGE_METHOD_MBR	# Support MBR partitions as wedges
771.83Schristosoptions		DKWEDGE_METHOD_APPLE    # Support Apple partitions as wedges
781.93Srin#options	DKWEDGE_METHOD_RDB	# Support RDB partitions as wedges
791.113Scharlott#options	DKWEDGE_METHOD_TOS	# Support Atari "TOS" partitions as wedges
801.37Sgarbled
811.67Sphx# File systems
821.37Sgarbledfile-system 	FFS		# UFS
831.37Sgarbledfile-system 	EXT2FS		# second extended file system (linux)
841.37Sgarbled#file-system 	LFS		# log-structured file system
851.37Sgarbledfile-system 	MFS		# memory file system
861.37Sgarbledfile-system 	NFS		# Network File System client
871.37Sgarbled#file-system 	NTFS		# Windows/NT file system (experimental)
881.69Sphxfile-system 	CD9660		# ISO 9660 + Rock Ridge file system
891.48Sphxfile-system 	MSDOSFS		# MS-DOS file system
901.37Sgarbledfile-system 	FDESC		# /dev/fd
911.37Sgarbledfile-system 	KERNFS		# /kern
921.37Sgarbledfile-system 	NULLFS		# loopback file system
931.37Sgarbled#file-system 	OVERLAY		# overlay file system
941.48Sphxfile-system 	PROCFS		# /proc
951.37Sgarbled#file-system 	UMAPFS		# NULLFS + uid and gid remapping
961.37Sgarbled#file-system 	UNION		# union file system
971.37Sgarbled#file-system	CODA		# Coda File System; also needs vcoda (below)
981.37Sgarbledfile-system	PTYFS		# /dev/ptm support
991.37Sgarbledfile-system	TMPFS		# Efficient memory file-system
1001.37Sgarbled
1011.37Sgarbled# File system options
1021.109Ssimonb#options 	FFS_EI		# FFS Endian Independent support
1031.109Ssimonb#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
1041.55Sbouyeroptions 	QUOTA		# legacy UFS quotas
1051.55Sbouyeroptions 	QUOTA2		# new, in-filesystem UFS quotas
1061.109Ssimonboptions 	UFS_DIRHASH	# UFS Large Directory Hashing
1071.109Ssimonboptions 	UFS_EXTATTR	# Extended attribute support for UFS1
1081.109Ssimonboptions 	WAPBL		# File system journaling support
1091.92Srin#options 	DISKLABEL_EI	# disklabel Endian Independent support
1101.37Sgarbledoptions 	NFSSERVER	# Network File System server
1111.37Sgarbled
1121.67Sphx#options 	NFS_BOOT_DHCP
1131.67Sphxoptions 	NFS_BOOT_BOOTPARAM,NFS_BOOT_BOOTP
1141.67Sphx
1151.57Sphx# Networking options
1161.57Sphx#options 	GATEWAY		# packet forwarding
1171.57Sphxoptions 	INET		# IP + ICMP + TCP + UDP
1181.52Sphxoptions 	INET6		# IPV6
1191.57Sphx#options 	IPSEC		# IP security
1201.57Sphx#options 	IPSEC_DEBUG	# debug for IP security
1211.57Sphx#options 	MROUTING	# IP multicast routing
1221.57Sphx#options 	PIM		# Protocol Independent Multicast
1231.57Sphx#options 	NETATALK	# AppleTalk networking protocols
1241.57Sphx#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
1251.57Sphx#options 	PPP_DEFLATE	# Deflate compression support for PPP
1261.57Sphx#options 	PPP_FILTER	# Active filter support for PPP (requires BPF)
1271.37Sgarbled#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
1281.37Sgarbled
1291.37Sgarbled#options 	ALTQ		# Manipulate network interfaces' output queues
1301.37Sgarbled#options 	ALTQ_BLUE	# Stochastic Fair Blue
1311.37Sgarbled#options 	ALTQ_CBQ	# Class-Based Queueing
1321.37Sgarbled#options 	ALTQ_CDNR	# Diffserv Traffic Conditioner
1331.37Sgarbled#options 	ALTQ_FIFOQ	# First-In First-Out Queue
1341.37Sgarbled#options 	ALTQ_FLOWVALVE	# RED/flow-valve (red-penalty-box)
1351.37Sgarbled#options 	ALTQ_HFSC	# Hierarchical Fair Service Curve
1361.37Sgarbled#options 	ALTQ_LOCALQ	# Local queueing discipline
1371.37Sgarbled#options 	ALTQ_PRIQ	# Priority Queueing
1381.37Sgarbled#options 	ALTQ_RED	# Random Early Detection
1391.37Sgarbled#options 	ALTQ_RIO	# RED with IN/OUT
1401.37Sgarbled#options 	ALTQ_WFQ	# Weighted Fair Queueing
1411.37Sgarbled
1421.67Sphx# These options enable verbose messages for several subsystems.
1431.67Sphx# Warning, these may compile large string tables into the kernel!
1441.67Sphx#options 	PCIVERBOSE	# verbose PCI device autoconfig messages
1451.67Sphx#options 	MIIVERBOSE	# verbose PHY autoconfig messages
1461.67Sphx#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
1471.67Sphx#options 	SCSIVERBOSE	# human readable SCSI error messages
1481.67Sphx#options 	USBVERBOSE	# verbose USB device autoconfig messages
1491.37Sgarbled
1501.67Sphx# Kernel root file system and dump configuration
1511.37Sgarbledconfig		netbsd	root on ? type ?
1521.37Sgarbled
1531.37Sgarbled#
1541.67Sphx# Device configuration
1551.37Sgarbled#
1561.56Sphxmainbus0	at root
1571.56Sphxcpu*		at mainbus0
1581.62Sphx
1591.91Sphx#cfi0		at mainbus0
1601.91Sphx#nor*		at cfi?
1611.91Sphx#flash*		at nor?
1621.62Sphx
1631.66Sphxnhpow0		at mainbus0			# NH230/231 power,LED,buttons
1641.66Sphx
1651.67Sphx#options 	PCI_NETBSD_CONFIGURE
1661.56Sphxpci*		at mainbus0 bus ?
1671.56Sphxpchb*		at pci? dev ? function ?	# PCI host bridge
1681.37Sgarbled
1691.56Sphxeumb*		at mainbus0
1701.56Sphxcom0		at eumb? unit 0			# console at 0x4500
1711.56Sphx#com1		at eumb? unit 1
1721.56Sphxsatmgr0 	at eumb? unit 1 		# satmgr at 0x4600
1731.56Sphxociic*		at eumb?
1741.56Sphxiic*		at ociic?
1751.99Sthorpejlmtemp*		at iic? addr 0x48		# LM75 temperature sensor
1761.99Sthorpejrs5c372rtc*	at iic? addr 0x32
1771.99Sthorpejs390rtc*	at iic? addr 0x30
1781.99Sthorpejpcf8563rtc*	at iic? addr 0x51
1791.99Sthorpejdsrtc*		at iic? addr 0x68
1801.103Sthorpejstrtc*		at iic? addr 0x68		# ST M41T80 (or compat) RTC
1811.37Sgarbled
1821.37Sgarbled# PCI IDE controllers - see pciide(4) for supported hardware.
1831.56Sphxacardide*	at pci? dev ? function ?	# Acard IDE controllers
1841.52Sphxcmdide* 	at pci? dev ? function ?	# CMD tech IDE controllers
1851.52Sphxiteide* 	at pci? dev ? function ?	# IT Express IDE controllers
1861.37Sgarbledsatalink*	at pci? dev ? function ?	# SiI SATALink controllers
1871.68Sphxviaide* 	at pci? dev ? function ?	# VIA IDE controllers
1881.37Sgarbled
1891.37Sgarbled# ATA (IDE) bus support
1901.37Sgarbledatabus* at ata?
1911.37Sgarbled
1921.37Sgarbled# IDE drives
1931.81Sphx# Flags are used only with controllers that support DMA operations
1941.81Sphx# and mode settings (e.g. some pciide controllers)
1951.81Sphx# The lowest order four bits (rightmost digit) of the flags define the PIO
1961.81Sphx# mode to use, the next set of four bits the DMA mode and the third set the
1971.81Sphx# UltraDMA mode. For each set of four bits, the 3 lower bits define the mode
1981.81Sphx# to use, and the last bit must be 1 for this setting to be used.
1991.81Sphx# For DMA and UDMA, 0xf (1111) means 'disable'.
2001.81Sphx# 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'.
2011.81Sphx# (0xc=1100, 0xa=1010, 0xf=1111)
2021.81Sphx# 0x0000 means "use whatever the drive claims to support".
2031.81Sphxwd*		at atabus? drive ? flags 0x0000
2041.81Sphx
2051.81Sphx# ATAPI bus support
2061.81Sphxatapibus*	at atapi?
2071.81Sphx
2081.81Sphx# ATAPI devices
2091.81Sphx# flags have the same meaning as for IDE drives.
2101.81Sphxcd*	at atapibus? drive ? flags 0x0000	# ATAPI CD-ROM drives
2111.81Sphxsd*	at atapibus? drive ? flags 0x0000	# ATAPI disk drives
2121.81Sphxuk*	at atapibus? drive ? flags 0x0000	# ATAPI unknown
2131.37Sgarbled
2141.37Sgarbled# PCI network interfaces
2151.56Sphxral*	at pci? dev ? function ?	# Ralink Technology RT25x0 802.11a/b/g
2161.37Sgarbledre*	at pci? dev ? function ?	# Realtek 8139C+/8169/8169S/8110S
2171.46Sphxskc*	at pci? dev ? function ?	# Marvell Yukon Gigabit Ethernet
2181.46Sphxsk*	at skc?				# Marvell Yukon Gigabit Ethernet
2191.56Sphxstge*	at pci? dev ? function ?	# Sundance ST1023 Gigabit
2201.56Sphxtlp*	at pci? dev ? function ?	# DEC Tulip and similar
2211.56Sphxwm*	at pci? dev ? function ?	# Intel 8254x Gigabit Ethernet
2221.37Sgarbled
2231.37Sgarbledinphy*	at mii? phy ?			# Intel 82555 PHYs
2241.37Sgarblednsphy*	at mii? phy ?			# NS83840 PHYs
2251.37Sgarbledrgephy* at mii? phy ?			# Realtek 8169S/8110S internal PHYs
2261.37Sgarbledmakphy* at mii? phy ?			# Marvell Semiconductor 88E1000 PHYs
2271.37Sgarbledukphy*	at mii? phy ?			# generic unknown PHYs
2281.37Sgarbled
2291.66Sphx# GPIO devices
2301.66Sphxgpio*	at gpiobus?
2311.66Sphx
2321.37Sgarbled# USB Controller and Devices
2331.37Sgarbledehci*	at pci?	dev ? function ?	# Enhanced Host Controller
2341.37Sgarbledohci*	at pci?	dev ? function ?	# Open Host Controller
2351.37Sgarbled
2361.37Sgarbled# USB bus support
2371.37Sgarbledusb*	at ehci?
2381.37Sgarbledusb*	at ohci?
2391.37Sgarbled
2401.37Sgarbled# USB Hubs
2411.37Sgarbleduhub*	at usb?
2421.37Sgarbleduhub*	at uhub? port ?
2431.37Sgarbled
2441.52Sphx# USB HID devices
2451.52Sphxuhidev* at uhub? port ? configuration ? interface ?	# USB HID device
2461.52Sphxuthum*	at uhidev? reportid ?				# TEMPerHUM sensors
2471.52Sphxuhid*	at uhidev? reportid ?				# USB Generic HID
2481.52Sphx
2491.54Sphx# USB video
2501.54Sphxuvideo* at uhub?			# USB Video Class capture devices
2511.54Sphxvideo*	at videobus?
2521.54Sphx
2531.52Sphx# USB printer
2541.81Sphxulpt*	at uhub? port ? configuration ? interface ?
2551.52Sphx
2561.37Sgarbled# USB Mass Storage
2571.37Sgarbledumass*	at uhub? port ? configuration ? interface ?
2581.37Sgarbled
2591.81Sphxugen*	at uhub? port ? configuration ? interface ?	# USB Generic driver
2601.81Sphx
2611.81Sphx# SCSI bus support
2621.81Sphxscsibus* 	at umass?
2631.81Sphx
2641.81Sphx# SCSI devices
2651.81Sphxsd*		at scsibus? target ? lun ?	# SCSI disk drives
2661.81Sphxcd*		at scsibus? target ? lun ?	# SCSI CD-ROM drives
2671.35Selad
2681.70Sphx
2691.68Sphx#
2701.68Sphx# Pseudo-Devices
2711.68Sphx#
2721.68Sphx#pseudo-device 	crypto			# /dev/crypto device
2731.68Sphx#pseudo-device	swcrypto		# software crypto implementation
2741.68Sphx
2751.68Sphx# disk/mass storage pseudo-devices
2761.77Schristos#pseudo-device	ccd			# concatenated/striped disk devices
2771.77Schristos#pseudo-device	cgd			# cryptographic disk devices
2781.68Sphxpseudo-device	fss			# file system snapshot device
2791.68Sphx#pseudo-device	putter			# for puffs and pud
2801.68Sphx
2811.78Schristospseudo-device	raid			# RAIDframe disk driver
2821.68Sphxoptions 	RAID_AUTOCONFIG		# auto-configuration of RAID components
2831.68Sphx# Options to enable various other RAIDframe RAID types.
2841.68Sphx#options 	RF_INCLUDE_EVENODD=1
2851.68Sphx#options 	RF_INCLUDE_RAID5_RS=1
2861.68Sphx#options 	RF_INCLUDE_PARITYLOGGING=1
2871.68Sphx#options 	RF_INCLUDE_CHAINDECLUSTER=1
2881.68Sphx#options 	RF_INCLUDE_INTERDECLUSTER=1
2891.68Sphx#options 	RF_INCLUDE_PARITY_DECLUSTERING=1
2901.68Sphx#options 	RF_INCLUDE_PARITY_DECLUSTERING_DS=1
2911.67Sphx
2921.68Sphxpseudo-device	vnd		
2931.68Sphx#options 	VND_COMPRESSION		# compressed vnd(4)
2941.67Sphx
2951.67Sphx# network pseudo-devices
2961.67Sphxpseudo-device	loop
2971.67Sphxpseudo-device	bpfilter		# packet filter
2981.102Ssevanpseudo-device	carp			# Common Address Redundancy Protocol
2991.67Sphx#pseudo-device	ppp			# Point-to-Point Protocol
3001.67Sphx#pseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
3011.100Smaxv#pseudo-device	npf			# NPF packet filter
3021.67Sphx#pseudo-device	sl			# Serial Line IP
3031.67Sphx#pseudo-device	tun			# network tunneling over tty
3041.67Sphx#pseudo-device	tap			# virtual Ethernet
3051.67Sphx#pseudo-device	gre			# generic L3 over IP tunnel
3061.67Sphx#pseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC1933)
3071.67Sphx#pseudo-device	faith			# IPv[46] tcp relay translation i/f
3081.67Sphx#pseudo-device	stf			# 6to4 IPv6 over IPv4 encapsulation
3091.68Sphx#pseudo-device	vlan			# IEEE 802.1q encapsulation
3101.67Sphx#pseudo-device	bridge			# simple inter-network bridging
3111.106Sroy#pseudo-device	vether			# Virtual Ethernet for bridge
3121.67Sphx#pseudo-device	agr			# IEEE 802.3ad link aggregation
3131.68Sphx
3141.68Sphx#
3151.68Sphx# accept filters
3161.68Sphx#pseudo-device	accf_data		# "dataready" accept filter
3171.68Sphx#pseudo-device	accf_http		# "httpready" accept filter
3181.67Sphx
3191.67Sphx# miscellaneous pseudo-devices
3201.67Sphxpseudo-device	pty
3211.67Sphxpseudo-device	clockctl		# user control of clock subsystem
3221.67Sphxpseudo-device	ksyms			# /dev/ksyms
3231.68Sphx#pseudo-device	lockstat		# lock profiling
3241.110Sriastradpseudo-device 	swwdog			# software watchdog timer -- swwdog(4)
3251.68Sphx
3261.68Sphx# a pseudo device needed for Coda	# also needs CODA (above)
3271.78Schristos#pseudo-device	vcoda			# coda minicache <-> venus comm.
3281.68Sphx
3291.67Sphx# userland interface to drivers, including autoconf and properties retrieval
3301.67Sphxpseudo-device	drvctl
3311.67Sphx
3321.102Ssevaninclude "dev/veriexec.config"
3331.67Sphx
3341.68Sphx#options 	PAX_MPROTECT=0		# PaX mprotect(2) restrictions
3351.68Sphx#options 	PAX_ASLR=0		# PaX Address Space Layout Randomization
3361.111Sabs
3371.111Sabs# Pull in optional local configuration - always at end
3381.111Sabscinclude	"arch/sandpoint/conf/GENERIC.local"
339