GENERIC revision 1.132
11.132Sabs# $NetBSD: GENERIC,v 1.132 2023/02/12 14:50:40 abs Exp $
21.1Sitojun#
31.29Sgmcgarry# GENERIC machine description file
41.104Skiyohara#
51.29Sgmcgarry# This machine description file is used to generate the default NetBSD
61.29Sgmcgarry# kernel.  The generic kernel does not include all options, subsystems
71.29Sgmcgarry# and device drivers, but should be useful for most applications.
81.1Sitojun#
91.29Sgmcgarry# The machine description file can be customised for your specific
101.29Sgmcgarry# machine to reduce the kernel size and improve its performance.
111.29Sgmcgarry#
121.29Sgmcgarry# For further information on compiling NetBSD kernels, see the config(8)
131.29Sgmcgarry# man page.
141.29Sgmcgarry#
151.29Sgmcgarry# For further information on hardware support for this architecture, see
161.29Sgmcgarry# the intro(4) man page.  For further information about kernel options
171.29Sgmcgarry# for this architecture, see the options(4) man page.  For an explanation
181.29Sgmcgarry# of each device driver in this file see the section 4 man page for the
191.29Sgmcgarry# device.
201.1Sitojun
211.29Sgmcgarryinclude 	"arch/mmeye/conf/std.mmeye"
221.7Shubertf
231.39Satatatoptions 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
241.39Satatat
251.132Sabs#ident 		"GENERIC-$Revision: 1.132 $"
261.1Sitojun
271.1Sitojunmaxusers	16		# estimated number of users
281.1Sitojun
291.1Sitojun# CPU support
301.33Suchoptions		SH3
311.1Sitojunoptions 	SH7708R		# 100MHz
321.1Sitojunoptions 	MMEYE
331.104Skiyoharaoptions 	MMEYE_NEW_INT=0xb000000e
341.1Sitojun#options 	MMEYE_NO_CACHE
351.27Slukemoptions 	PCLOCK=33330000		# 33.33MHz
361.27Slukemoptions 	INITTODR_ALWAYS_USE_RTC
371.1Sitojun
381.104Skiyoharaoptions 	IOM_RAM_SIZE=0x01000000	# 16MB
391.104Skiyoharaoptions 	IOM_RAM_BEGIN=0x0c000000
401.104Skiyoharamakeoptions	DEFTEXTADDR="0x8c010000"
411.104Skiyohara
421.1Sitojun# Standard system options
431.1Sitojun#options 	INSECURE	# disable kernel security levels
441.1Sitojun
451.1Sitojunoptions 	HZ=50		# clock interrupt generates every 1/HZ sec
461.1Sitojunoptions 	NTP		# NTP phase/frequency locked loop
471.1Sitojunoptions 	KTRACE		# system call tracing via ktrace(1)
481.1Sitojun
491.1Sitojunoptions 	SYSVMSG		# System V-like message queues
501.1Sitojunoptions 	SYSVSEM		# System V-like semaphores
511.1Sitojunoptions 	SYSVSHM		# System V-like memory sharing
521.32Sjdolecek
531.43Slukemoptions 	USERCONF	# userconf(4) support
541.32Sjdolecek#options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
551.58Satatatoptions 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
561.1Sitojun
571.126Ssevan# Alternate buffer queue strategies for better responsiveness under high
581.126Ssevan# disk I/O load.
591.126Ssevan#options 	BUFQ_READPRIO
601.126Ssevanoptions 	BUFQ_PRIOCSCAN
611.126Ssevan
621.1Sitojun# Diagnostic/debugging support options
631.1Sitojun#options 	DIAGNOSTIC	# cheap kernel consistency checks
641.1Sitojun#options 	DEBUG		# expensive debugging checks/support
651.1Sitojun#options 	DDB		# in-kernel debugger
661.1Sitojun#options 	SYSCALL_DEBUG
671.1Sitojun#makeoptions	DEBUG="-g"	# compile full symbol table
681.1Sitojun
691.1Sitojun# Compatibility options
701.124Smrginclude 	"conf/compat_netbsd14.config"
711.124Smrg
721.42Stsutsuioptions 	BSDDISKLABEL_EI	# endian independent disklabel support
731.42Stsutsuioptions 	COMPAT_MMEYE_OLDLABEL	# old mmeye's disklabel support
741.1Sitojun
751.1Sitojun# Executable format options
761.1Sitojunoptions 	EXEC_COFF	# COFF executables
771.1Sitojun
781.1Sitojun# File systems
791.1Sitojunfile-system 	FFS		# UFS
801.1Sitojunfile-system 	EXT2FS		# second extended file system (linux)
811.1Sitojunfile-system 	LFS		# log-structured file system
821.1Sitojunfile-system 	MFS		# memory file system
831.1Sitojunfile-system 	NFS		# Network File System client
841.1Sitojunfile-system 	CD9660		# ISO 9660 + Rock Ridge file system
851.1Sitojunfile-system 	MSDOSFS		# MS-DOS file system
861.1Sitojunfile-system 	FDESC		# /dev/fd
871.1Sitojunfile-system 	KERNFS		# /kern
881.1Sitojunfile-system 	NULLFS		# loopback file system
891.6Swrstudenfile-system 	OVERLAY		# overlay file system
901.99Spookafile-system	PUFFS		# Userspace file systems (e.g. ntfs-3g & sshfs)
911.1Sitojunfile-system 	PROCFS		# /proc
921.1Sitojunfile-system 	UMAPFS		# NULLFS + uid and gid remapping
931.1Sitojunfile-system 	UNION		# union file system
941.1Sitojunfile-system	CODA		# Coda File System; also needs vcoda (below)
951.73Schristosfile-system	PTYFS		# /dev/pts/N support
961.101Schsfile-system	TMPFS		# Efficient memory file-system
971.77Sreinoud#file-system	UDF		# experimental - OSTA UDF CD/DVD file-system
981.1Sitojun
991.1Sitojun# File system options
1001.130Ssimonb#options 	FFS_EI		# FFS Endian Independent support
1011.130Ssimonb#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
1021.105Sbouyer#options 	QUOTA		# legacy UFS quotas
1031.105Sbouyer#options 	QUOTA2		# new, in-filesystem UFS quotas
1041.130Ssimonb#options 	UFS_DIRHASH	# UFS Large Directory Hashing
1051.130Ssimonb#options 	UFS_EXTATTR	# Extended attribute support for UFS1
1061.130Ssimonb#options 	LFS_DIRHASH	# LFS version of UFS_DIRHASH - experimental
1071.108Sdhollandoptions 	WAPBL		# File system journaling support
1081.1Sitojun#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
1091.1Sitojun				# immutable) behave as system flags.
1101.130Ssimonboptions 	NFSSERVER	# Network File System server
1111.5Sitojun
1121.1Sitojun# Networking options
1131.1Sitojun#options 	GATEWAY		# packet forwarding
1141.1Sitojunoptions 	INET		# IP + ICMP + TCP + UDP
1151.5Sitojunoptions 	INET6		# IPV6
1161.5Sitojun#options 	IPSEC		# IP security
1171.5Sitojun#options 	IPSEC_DEBUG	# debug for IP security
1181.1Sitojun#options 	MROUTING	# IP multicast routing
1191.59Smanu#options 	PIM		# Protocol Independent Multicast
1201.1Sitojun#options 	NETATALK	# AppleTalk networking protocols
1211.1Sitojun#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
1221.1Sitojun#options 	PPP_DEFLATE	# Deflate compression support for PPP
1231.1Sitojun#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
1241.24Sabs#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
1251.1Sitojun
1261.56Sabs#options 	ALTQ		# Manipulate network interfaces' output queues
1271.56Sabs#options 	ALTQ_BLUE	# Stochastic Fair Blue
1281.56Sabs#options 	ALTQ_CBQ	# Class-Based Queueing
1291.56Sabs#options 	ALTQ_CDNR	# Diffserv Traffic Conditioner
1301.56Sabs#options 	ALTQ_FIFOQ	# First-In First-Out Queue
1311.56Sabs#options 	ALTQ_FLOWVALVE	# RED/flow-valve (red-penalty-box)
1321.56Sabs#options 	ALTQ_HFSC	# Hierarchical Fair Service Curve
1331.56Sabs#options 	ALTQ_LOCALQ	# Local queueing discipline
1341.56Sabs#options 	ALTQ_PRIQ	# Priority Queueing
1351.56Sabs#options 	ALTQ_RED	# Random Early Detection
1361.56Sabs#options 	ALTQ_RIO	# RED with IN/OUT
1371.56Sabs#options 	ALTQ_WFQ	# Weighted Fair Queueing
1381.56Sabs
1391.1Sitojunoptions 	NFS_BOOT_DHCP	# Support DHCP NFS root
1401.1Sitojun
1411.1Sitojun# These options enable verbose messages for several subsystems.
1421.1Sitojun# Warning, these may compile large string tables into the kernel!
1431.1Sitojunoptions 	PCMCIAVERBOSE	# verbose PCMCIA configuration messages
1441.1Sitojun
1451.1Sitojun# Kernel root file system and dump configuration.
1461.1Sitojunconfig		netbsd	root on ? type ?
1471.1Sitojun
1481.1Sitojun#
1491.1Sitojun# Device configuration
1501.1Sitojun#
1511.1Sitojun
1521.1Sitojunmainbus0 at root
1531.1Sitojun
1541.1Sitojunshb*	at mainbus?
1551.9Smsaitoh
1561.85Suwertc*	at shb?
1571.85Suwe
1581.104Skiyoharacom0	at mainbus? addr1 0xa4000000 irq1 11
1591.104Skiyoharacom1	at mainbus? addr1 0xa4000008 irq1 12
1601.1Sitojun
1611.1Sitojun# SH PCMCIA controllers
1621.104Skiyoharammeyepcmcia0 at mainbus? addr1 0xb000000a addr2 0xb8000000 irq1 3 irq2 10
1631.104Skiyoharammeyepcmcia1 at mainbus? addr1 0xb000000c addr2 0xb9000000 irq1 4 irq2 9
1641.1Sitojun
1651.1Sitojun# PCMCIA bus support
1661.36Suchpcmcia*	at mmeyepcmcia? controller ? socket ?
1671.1Sitojun
1681.1Sitojuncom*	at pcmcia? function ?		# Modems and serial cards
1691.1Sitojunwdc*	at pcmcia? function ?
1701.52Slukematabus* at ata?
1711.51Sbouyerwd*	at atabus? drive ?			# the drives themselves
1721.1Sitojun
1731.1Sitojunep*	at pcmcia? function ?		# 3Com 3c589 and 3c562 Ethernet
1741.1Sitojunmbe*	at pcmcia? function ?		# MB8696x based Ethernet
1751.1Sitojunne*	at pcmcia? function ?		# NE2000-compatible Ethernet
1761.1Sitojunsm*	at pcmcia? function ?		# Megahertz Ethernet
1771.1Sitojun
1781.1Sitojun# Pseudo-Devices
1791.1Sitojun
1801.95Stls#
1811.95Stls# accept filters
1821.95Stlspseudo-device   accf_data		# "dataready" accept filter
1831.95Stlspseudo-device   accf_http		# "httpready" accept filter
1841.95Stls
1851.113Schristospseudo-device	ccd			# concatenated/striped disk devices
1861.113Schristos#pseudo-device	cgd			# cryptographic disk devices
1871.114Schristos#pseudo-device	raid			# RAIDframe disk driver
1881.11Ssimonb#options 	RAID_AUTOCONFIG		# auto-configuration of RAID components
1891.31Soster# Options to enable various other RAIDframe RAID types.
1901.31Soster# options	RF_INCLUDE_EVENODD=1
1911.31Soster# options	RF_INCLUDE_RAID5_RS=1
1921.31Soster# options	RF_INCLUDE_PARITYLOGGING=1
1931.31Soster# options	RF_INCLUDE_CHAINDECLUSTER=1
1941.31Soster# options	RF_INCLUDE_INTERDECLUSTER=1
1951.31Soster# options 	RF_INCLUDE_PARITY_DECLUSTERING=1
1961.31Soster# options	RF_INCLUDE_PARITY_DECLUSTERING_DS=1
1971.100Spookapseudo-device	fss			# file system snapshot device
1981.79Scubepseudo-device	vnd			# disk-like interface to files
1991.69Shubertf#options 	VND_COMPRESSION		# compressed vnd(4)
2001.78Srpaulopseudo-device	bpfilter		# Berkeley packet filter
2011.126Ssevanpseudo-device	carp			# Common Address Redundancy Protocol
2021.125Smaxvpseudo-device	npf			# NPF packet filter
2031.1Sitojunpseudo-device	loop			# network loopback
2041.79Scubepseudo-device	ppp			# Point-to-Point Protocol
2051.30Smartinpseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
2061.79Scubepseudo-device	sl			# Serial Line IP
2071.79Scubepseudo-device	tun			# network tunneling over tty
2081.61Scubepseudo-device	tap			# virtual Ethernet
2091.79Scubepseudo-device	gre			# generic L3 over IP tunnel
2101.79Scubepseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC1933)
2111.79Scube#pseudo-device	faith			# IPv[46] tcp relay translation i/f
2121.80Spavelpseudo-device	stf			# 6to4 IPv6 over IPv4 encapsulation
2131.21Sbouyerpseudo-device	vlan			# IEEE 802.1q encapsulation
2141.28Satatatpseudo-device	bridge			# simple inter-network bridging
2151.129Sroypseudo-device	vether			# Virtual Ethernet for bridge
2161.88Smartin#pseudo-device	agr			# IEEE 802.3ad link aggregation
2171.19Sjdolecekpseudo-device	pty			# pseudo-terminals
2181.114Schristospseudo-device	vcoda			# coda minicache <-> venus comm.
2191.103Shannken#pseudo-device	md			# memory disk device (ramdisk)
2201.40Slukempseudo-device	clockctl		# user control of clock subsystem
2211.50Sraggepseudo-device	ksyms			# /dev/ksyms
2221.99Spookapseudo-device	putter			# for puffs and pud
2231.131Sriastradpseudo-device 	swwdog			# software watchdog timer -- swwdog(4)
2241.1Sitojun
2251.1Sitojun# Enable the hooks used for initializing the root memory-disk.
2261.1Sitojun#options 	MEMORY_DISK_HOOKS
2271.1Sitojun#options 	MEMORY_DISK_IS_ROOT	# force root on memory disk
2281.1Sitojun#options 	MEMORY_DISK_SERVER=0	# no userspace memory disk support
2291.37Slukem#options 	MEMORY_DISK_ROOT_SIZE=3074	# size of memory disk, in blocks
2301.76Selad
2311.126Ssevaninclude "dev/veriexec.config"
2321.132Sabs
2331.132Sabs# Pull in optional local configuration - always at end
2341.132Sabscinclude	"arch/mmeye/conf/GENERIC.local"
235