GENERIC revision 1.155
11.155Stsutsui# $NetBSD: GENERIC,v 1.155 2023/01/27 15:36:58 tsutsui Exp $
21.1Sdbj#
31.50Sgmcgarry# GENERIC machine description file
41.50Sgmcgarry# 
51.50Sgmcgarry# This machine description file is used to generate the default NetBSD
61.50Sgmcgarry# kernel.  The generic kernel does not include all options, subsystems
71.50Sgmcgarry# and device drivers, but should be useful for most applications.
81.1Sdbj#
91.50Sgmcgarry# The machine description file can be customised for your specific
101.50Sgmcgarry# machine to reduce the kernel size and improve its performance.
111.1Sdbj#
121.50Sgmcgarry# For further information on compiling NetBSD kernels, see the config(8)
131.50Sgmcgarry# man page.
141.50Sgmcgarry#
151.50Sgmcgarry# For further information on hardware support for this architecture, see
161.50Sgmcgarry# the intro(4) man page.  For further information about kernel options
171.50Sgmcgarry# for this architecture, see the options(4) man page.  For an explanation
181.50Sgmcgarry# of each device driver in this file see the section 4 man page for the
191.50Sgmcgarry# device.
201.1Sdbj
211.50Sgmcgarryinclude 	"arch/next68k/conf/std.next68k"
221.24Shubertf
231.55Satatatoptions 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
241.55Satatat
251.155Stsutsui#ident 		"GENERIC-$Revision: 1.155 $"
261.135Stsutsui
271.155Stsutsuimakeoptions	COPTS="-O2 -fno-reorder-blocks -fno-unwind-tables -fno-omit-frame-pointer"
281.150Srin	# See share/mk/sys.mk. -fno-omit-frame-pointer is necessary for
291.150Srin	# backtraces in DDB.
301.1Sdbj
311.1Sdbj# Needs to be set per system.  i.e change these as you see fit
321.1Sdbjmaxusers	16
331.1Sdbj
341.1Sdbj# Standard system options
351.1Sdbjoptions 	KTRACE		# system call tracing
361.1Sdbjoptions 	SYSVMSG		# System V message queues
371.1Sdbjoptions 	SYSVSEM		# System V semaphores
381.48Slukem#options 	SEMMNI=10	# number of semaphore identifiers
391.48Slukem#options 	SEMMNS=60	# number of semaphores in system
401.48Slukem#options 	SEMUME=10	# max number of undo entries per process
411.48Slukem#options 	SEMMNU=30	# number of undo structures in system
421.1Sdbjoptions 	SYSVSHM		# System V shared memory
431.1Sdbj
441.1Sdbjoptions 	INSECURE	# disable kernel security level
451.63Slukemoptions 	USERCONF	# userconf(4) support
461.53Sjdolecek#options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
471.78Satatatoptions 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
481.67Sjunyoung
491.145Ssevan# Alternate buffer queue strategies for better responsiveness under high
501.145Ssevan# disk I/O load.
511.87Stsutsui#options 	BUFQ_READPRIO
521.148Ssevanoptions 	BUFQ_PRIOCSCAN
531.1Sdbj
541.96Schs#options 	DEBUG		# kernel debugging code
551.96Schs#options 	DIAGNOSTIC	# extra kernel sanity checking
561.22Sdbj
571.1Sdbj# Which kernel debugger?  Uncomment either this:
581.1Sdbjoptions 	DDB
591.3Sdbjoptions 	DDB_HISTORY_SIZE=100	# enable history editing in DDB
601.3Sdbj
611.1Sdbj# ... or these for KGDB (gdb remote target)
621.48Slukem#makeoptions	DEBUG="-g"		# debugging symbols for gdb
631.47Slukem#options 	KGDB			# support for kernel gdb
641.47Slukem#options 	KGDB_DEV=0xc01		# kgdb device number (dev_t)
651.47Slukem#options 	KGDB_DEVRATE=9600	# baud rate
661.1Sdbj
671.1Sdbj# Other debugging options
681.1Sdbj#options 	PMAP_DEBUG
691.1Sdbjoptions 	SCSIDEBUG
701.1Sdbjoptions 	SCSIVERBOSE		# Verbose SCSI errors
711.48Slukemoptions 	SWAPDEBUG
721.1Sdbj
731.41Swiz# Compatibility options
741.144Smrginclude 	"conf/compat_netbsd09.config"
751.1Sdbj
761.28Sdebergoptions 	COMPAT_M68K4K	# compatibility with NetBSD/m68k4k binaries
771.3Sdbjoptions 	COMPAT_NOMID	# compatibility with 386BSD, BSDI, NetBSD 0.8,
781.3Sdbjoptions 	COMPAT_SUNOS	# can run SunOS 4.1.1 executables
791.7Sitohy#options 	COMPAT_LINUX	# can run Linux/m68k executables
801.152Snia#options 	COMPAT_OSSAUDIO	# can run Linux/m68k executables
811.40Schsoptions 	COMPAT_AOUT_M68K # support for NetBSD a.out executables
821.40Schsoptions 	EXEC_AOUT	# support for a.out executables
831.1Sdbj
841.1Sdbj# File systems
851.65Smycroftfile-system 	FFS		# UFS
861.13Sdbj#file-system 	EXT2FS		# second extended file system (linux)
871.13Sdbj#file-system 	LFS		# log-structured file system
881.1Sdbjfile-system 	MFS		# memory file system
891.1Sdbjfile-system 	NFS		# Network File System client
901.13Sdbj#file-system 	CD9660		# ISO 9660 + Rock Ridge file system
911.13Sdbj#file-system 	MSDOSFS		# MS-DOS file system
921.1Sdbjfile-system 	FDESC		# /dev/fd
931.1Sdbjfile-system 	KERNFS		# /kern
941.1Sdbjfile-system 	NULLFS		# loopback file system
951.23Swrstudenfile-system 	OVERLAY		# overlay file system
961.118Spookafile-system	PUFFS		# Userspace file systems (e.g. ntfs-3g & sshfs)
971.1Sdbjfile-system 	PROCFS		# /proc
981.1Sdbjfile-system 	UMAPFS		# NULLFS + uid and gid remapping
991.1Sdbjfile-system 	UNION		# union file system
1001.94Schristosfile-system	PTYFS		# /dev/pts/N support
1011.120Schsfile-system	TMPFS		# Efficient memory file-system
1021.99Sreinoud#file-system	UDF		# experimental - OSTA UDF CD/DVD file-system
1031.1Sdbj
1041.153Ssimonb# File system options
1051.153Ssimonboptions 	FFS_NO_SNAPSHOT	# No FFS snapshot support
1061.123Sbouyer#options 	QUOTA		# legacy UFS quotas
1071.123Sbouyer#options 	QUOTA2		# new, in-filesystem UFS quotas
1081.153Ssimonb#options 	UFS_DIRHASH	# UFS Large Directory Hashing
1091.153Ssimonb#options 	UFS_EXTATTR	# Extended attribute support for UFS1
1101.125Sdhollandoptions 	WAPBL		# File system journaling support
1111.1Sdbj#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
1121.1Sdbj				# immutable) behave as system flags.
1131.153Ssimonboptions 	NFSSERVER	# Network File System server
1141.21Sitojun
1151.1Sdbj# Networking options
1161.1Sdbjoptions 	GATEWAY		# packet forwarding
1171.1Sdbjoptions 	INET		# IP + ICMP + TCP + UDP
1181.21Sitojunoptions 	INET6		# IPV6
1191.21Sitojun#options 	IPSEC		# IP security
1201.21Sitojun#options 	IPSEC_DEBUG	# debug for IP security
1211.1Sdbj#options 	MROUTING	# IP multicast routing
1221.79Smanu#options 	PIM		# Protocol Independent Multicast
1231.1Sdbj#options 	NETATALK	# AppleTalk networking protocols
1241.16Schristosoptions 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
1251.16Schristosoptions 	PPP_DEFLATE	# Deflate compression support for PPP
1261.16Schristosoptions 	PPP_FILTER	# Active filter support for PPP (requires bpf)
1271.43Sabs#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
1281.1Sdbj
1291.77Sabs#options 	ALTQ		# Manipulate network interfaces' output queues
1301.77Sabs#options 	ALTQ_BLUE	# Stochastic Fair Blue
1311.77Sabs#options 	ALTQ_CBQ	# Class-Based Queueing
1321.77Sabs#options 	ALTQ_CDNR	# Diffserv Traffic Conditioner
1331.77Sabs#options 	ALTQ_FIFOQ	# First-In First-Out Queue
1341.77Sabs#options 	ALTQ_FLOWVALVE	# RED/flow-valve (red-penalty-box)
1351.77Sabs#options 	ALTQ_HFSC	# Hierarchical Fair Service Curve
1361.77Sabs#options 	ALTQ_LOCALQ	# Local queueing discipline
1371.77Sabs#options 	ALTQ_PRIQ	# Priority Queueing
1381.77Sabs#options 	ALTQ_RED	# Random Early Detection
1391.77Sabs#options 	ALTQ_RIO	# RED with IN/OUT
1401.77Sabs#options 	ALTQ_WFQ	# Weighted Fair Queueing
1411.77Sabs
1421.1Sdbj# NeXT specific options
1431.1Sdbjoptions 	M68040
1441.62Smycroftoptions 	M68030
1451.1Sdbjoptions 	FPSP
1461.1Sdbj#options 	FPU_EMULATE
1471.1Sdbj
1481.27Sdebergoptions 	ZS_CONSOLE_ABORT	# drop to debugger on break
1491.27Sdeberg#options 	SERCONSOLE		# use serial console
1501.1Sdbj
1511.1Sdbjoptions 	NFS_BOOT_BOOTP
1521.1Sdbjoptions 	NFS_BOOT_DHCP
1531.3Sdbj
1541.9Sdbj# wscons options
1551.48Slukemoptions 	RCONS_2BPP		# necessary for nextdisplay
1561.48Slukemoptions 	RCONS_16BPP		# necessary for color nextdisplay
1571.10Sdbj#options 	WSEMUL_SUN		# sun terminal emulation
1581.10Sdbjoptions 	WSEMUL_VT100		# VT100 / VT220 emulation
1591.9Sdbjoptions 	WSDISPLAY_COMPAT_SYSCONS	# emulate some ioctls
1601.127Sabsoptions 	WSDISPLAY_COMPAT_USL		# wsconscfg VT handling
1611.9Sdbjoptions 	WSDISPLAY_COMPAT_RAWKBD	# can get raw scancodes
1621.12Sdbj# see dev/wskbdmap_next.h for implemented layouts
1631.9Sdbj#options 	PCKBD_LAYOUT="(KB_DE | KB_NODEAD)"
1641.9Sdbj
1651.1Sdbjconfig		netbsd root on ? type ?
1661.1Sdbj
1671.8Sdbj#
1681.8Sdbj# Device configuration
1691.8Sdbj#
1701.8Sdbj
1711.8Sdbj# The root node:
1721.8Sdbjmainbus0 at root
1731.8Sdbj
1741.8Sdbj#fpu0 at mainbus?
1751.8Sdbj
1761.8Sdbj# device space
1771.48Slukemintio0	at mainbus?
1781.9Sdbj
1791.48Slukemnextkbd0	at intio? ipl 3
1801.48Slukemnextdisplay0	at mainbus?
1811.9Sdbj
1821.48Slukemwsdisplay*	at nextdisplay? console ?
1831.48Slukemwskbd*		at nextkbd? console ?
1841.8Sdbj
1851.8Sdbj# INTIO
1861.61Smycroftnextdma*	at intio? ipl 6
1871.61Smycroft
1881.48Slukemzsc0	at intio? ipl 5
1891.48Slukem#zsc1	at intio? ipl 5
1901.8Sdbj
1911.48Slukemxe*	at intio? ipl 3			# ethernet
1921.8Sdbj
1931.64Smycroftesp0	at intio? ipl 3	flags 0xffff00	# Turn off sync negotiation
1941.8Sdbj
1951.8Sdbj#
1961.8Sdbj# Serial ports
1971.8Sdbj#
1981.141Stsutsuizstty0	at zsc0 channel 0	# Serial Port A
1991.141Stsutsuizstty1	at zsc0 channel 1	# Serial Port B
2001.8Sdbj
2011.8Sdbj# SCSI bus support
2021.60Smycroftscsibus* at scsi?
2031.8Sdbj
2041.8Sdbj# SCSI devices
2051.64Smycroftsd*	at scsibus? target ? lun ?	# SCSI disk drives
2061.64Smycroftst*	at scsibus? target ? lun ?	# SCSI tape drives
2071.64Smycroftcd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives
2081.64Smycroftch*	at scsibus? target ? lun ?	# SCSI autochangers
2091.154Snatdse*	at scsibus? target ? lun ?	# SCSI ethernet (Dayna)
2101.64Smycroftse*	at scsibus? target ? lun ?	# SCSI ethernet
2111.64Smycroftss*	at scsibus? target ? lun ?	# SCSI scanners
2121.64Smycroftuk*	at scsibus? target ? lun ?	# SCSI unknown
2131.8Sdbj
2141.8Sdbj
2151.1Sdbj# Memory-disk drivers
2161.122Shannkenpseudo-device	md		
2171.1Sdbj
2181.113Stls#
2191.113Stls# accept filters
2201.113Stlspseudo-device   accf_data		# "dataready" accept filter
2211.113Stlspseudo-device   accf_http		# "httpready" accept filter
2221.113Stls
2231.1Sdbj# Misc.
2241.131Schristospseudo-device	loop			# network loopback
2251.100Srpaulopseudo-device	bpfilter		# packet filter
2261.148Ssevanpseudo-device	carp			# Common Address Redundancy Protocol
2271.101Scubepseudo-device	sl			# CSLIP
2281.101Scubepseudo-device	ppp			# PPP
2291.51Smartinpseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
2301.101Scubepseudo-device	tun			# network tunneling over tty
2311.81Scubepseudo-device	tap			# virtual Ethernet
2321.101Scube#pseudo-device	gre			# generic L3 over IP tunnel
2331.146Smaxvpseudo-device	npf			# NPF packet filter
2341.101Scubepseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC1933)
2351.101Scube#pseudo-device	faith			# IPv[46] tcp relay translation i/f
2361.102Spavelpseudo-device	stf			# 6to4 IPv6 over IPv4 encapsulation
2371.37Sbouyerpseudo-device	vlan			# IEEE 802.1q encapsulation
2381.49Satatatpseudo-device	bridge			# simple inter-network bridging
2391.151Sroypseudo-device	vether			# Virtual Ethernet for bridge
2401.108Smartinpseudo-device	agr			# IEEE 802.3ad link aggregation
2411.46Saugustss#pseudo-device	wsmux			# mouse & keyboard multiplexor
2421.1Sdbj
2431.34Sjdolecekpseudo-device	pty			# pseudo-terminals
2441.101Scubepseudo-device	vnd			# paging to files
2451.90Shubertf#options 	VND_COMPRESSION		# compressed vnd(4)
2461.132Schristos#pseudo-device	raid			# RAIDframe disk driver
2471.26Ssimonb#options 	RAID_AUTOCONFIG		# auto-configuration of RAID components
2481.52Soster# Options to enable various other RAIDframe RAID types.
2491.52Soster# options	RF_INCLUDE_EVENODD=1
2501.52Soster# options	RF_INCLUDE_RAID5_RS=1
2511.52Soster# options	RF_INCLUDE_PARITYLOGGING=1
2521.52Soster# options	RF_INCLUDE_CHAINDECLUSTER=1
2531.52Soster# options	RF_INCLUDE_INTERDECLUSTER=1
2541.52Soster# options 	RF_INCLUDE_PARITY_DECLUSTERING=1
2551.52Soster# options	RF_INCLUDE_PARITY_DECLUSTERING_DS=1
2561.119Spookapseudo-device	fss			# file system snapshot device
2571.131Schristospseudo-device	ccd			# concatenated disks
2581.58Slukempseudo-device	clockctl		# user control of clock subsystem
2591.71Sraggepseudo-device	ksyms			# /dev/ksyms
2601.118Spookapseudo-device	putter			# for puffs and pud
2611.98Selad
2621.148Ssevaninclude "dev/veriexec.config"
263