GENERIC revision 1.29
11.29Sgmcgarry# $NetBSD: GENERIC,v 1.29 2001/12/14 05:34:49 gmcgarry Exp $
21.1Sitojun#
31.29Sgmcgarry# GENERIC machine description file
41.29Sgmcgarry# 
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.29Sgmcgarry#ident 		"GENERIC-$Revision: 1.29 $"
241.1Sitojun
251.1Sitojunmaxusers	16		# estimated number of users
261.1Sitojun
271.1Sitojun# CPU support
281.1Sitojunoptions 	SH7708R		# 100MHz
291.1Sitojunoptions 	MMEYE
301.1Sitojunoptions 	MMEYE_NEW_INT
311.1Sitojun#options 	MMEYE_NO_CACHE
321.27Slukemoptions 	PCLOCK=33330000		# 33.33MHz
331.27Slukemoptions 	INITTODR_ALWAYS_USE_RTC
341.1Sitojun
351.1Sitojun# Standard system options
361.1Sitojun#options 	UCONSOLE	# users can use TIOCCONS (for xconsole)
371.1Sitojun#options 	INSECURE	# disable kernel security levels
381.1Sitojun
391.1Sitojunoptions 	HZ=50		# clock interrupt generates every 1/HZ sec
401.1Sitojunoptions 	NTP		# NTP phase/frequency locked loop
411.1Sitojunoptions 	KTRACE		# system call tracing via ktrace(1)
421.1Sitojun
431.1Sitojunoptions 	SYSVMSG		# System V-like message queues
441.1Sitojunoptions 	SYSVSEM		# System V-like semaphores
451.27Slukem#options 	SEMMNI=10	# number of semaphore identifiers
461.27Slukem#options 	SEMMNS=60	# number of semaphores in system
471.27Slukem#options 	SEMUME=10	# max number of undo entries per process
481.27Slukem#options 	SEMMNU=30	# number of undo structures in system
491.1Sitojunoptions 	SYSVSHM		# System V-like memory sharing
501.1Sitojun#options 	SHMMAXPGS=1024	# 1024 pages is the default
511.1Sitojun
521.1Sitojun#options 	LKM		# loadable kernel modules
531.1Sitojun
541.1Sitojun# Diagnostic/debugging support options
551.1Sitojun#options 	DIAGNOSTIC	# cheap kernel consistency checks
561.1Sitojun#options 	DEBUG		# expensive debugging checks/support
571.1Sitojun#options 	KMEMSTATS	# kernel memory statistics (vmstat -m)
581.1Sitojun#options 	DDB		# in-kernel debugger
591.1Sitojun#options 	SYSCALL_DEBUG
601.1Sitojun#makeoptions	DEBUG="-g"	# compile full symbol table
611.1Sitojun
621.1Sitojun# Compatibility options
631.1Sitojunoptions 	COMPAT_13	# NetBSD 1.3
641.3Stsubaioptions 	COMPAT_14	# NetBSD 1.4,
651.1Sitojunoptions 	COMPAT_43	# and 4.3BSD
661.24Sabs#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
671.1Sitojun
681.1Sitojun# Executable format options
691.1Sitojunoptions 	EXEC_COFF	# COFF executables
701.1Sitojunoptions 	EXEC_ELF32	# 32-bit ELF executables
711.1Sitojun
721.1Sitojun# File systems
731.1Sitojunfile-system 	FFS		# UFS
741.1Sitojunfile-system 	EXT2FS		# second extended file system (linux)
751.1Sitojunfile-system 	LFS		# log-structured file system
761.1Sitojunfile-system 	MFS		# memory file system
771.1Sitojunfile-system 	NFS		# Network File System client
781.1Sitojunfile-system 	CD9660		# ISO 9660 + Rock Ridge file system
791.1Sitojunfile-system 	MSDOSFS		# MS-DOS file system
801.1Sitojunfile-system 	FDESC		# /dev/fd
811.1Sitojunfile-system 	KERNFS		# /kern
821.1Sitojunfile-system 	NULLFS		# loopback file system
831.6Swrstudenfile-system 	OVERLAY		# overlay file system
841.1Sitojunfile-system 	PORTAL		# portal filesystem (still experimental)
851.1Sitojunfile-system 	PROCFS		# /proc
861.1Sitojunfile-system 	UMAPFS		# NULLFS + uid and gid remapping
871.1Sitojunfile-system 	UNION		# union file system
881.1Sitojunfile-system	CODA		# Coda File System; also needs vcoda (below)
891.1Sitojun
901.1Sitojun# File system options
911.1Sitojun#options 	QUOTA		# UFS quotas
921.1Sitojun#options 	FFS_EI		# FFS Endian Independant support
931.27Slukemoptions 	SOFTDEP		# FFS soft updates support.
941.1Sitojunoptions 	NFSSERVER	# Network File System server
951.1Sitojun#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
961.1Sitojun				# immutable) behave as system flags.
971.5Sitojun
981.1Sitojun# Networking options
991.1Sitojun#options 	GATEWAY		# packet forwarding
1001.1Sitojunoptions 	INET		# IP + ICMP + TCP + UDP
1011.5Sitojunoptions 	INET6		# IPV6
1021.5Sitojun#options 	IPSEC		# IP security
1031.5Sitojun#options 	IPSEC_ESP	# IP security (encryption part; define w/IPSEC)
1041.5Sitojun#options 	IPSEC_DEBUG	# debug for IP security
1051.1Sitojun#options 	MROUTING	# IP multicast routing
1061.1Sitojun#options 	NS		# XNS
1071.1Sitojun#options 	NSIP		# XNS tunneling over IP
1081.1Sitojun#options 	ISO,TPIP	# OSI
1091.1Sitojun#options 	EON		# OSI tunneling over IP
1101.1Sitojun#options 	CCITT,LLC,HDLC	# X.25
1111.1Sitojun#options 	NETATALK	# AppleTalk networking protocols
1121.1Sitojun#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
1131.1Sitojun#options 	PPP_DEFLATE	# Deflate compression support for PPP
1141.1Sitojun#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
1151.1Sitojun#options 	PFIL_HOOKS	# pfil(9) packet filter hooks
1161.1Sitojun#options 	IPFILTER_LOG	# ipmon(8) log support
1171.24Sabs#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
1181.1Sitojun
1191.1Sitojunoptions 	NFS_BOOT_DHCP	# Support DHCP NFS root
1201.1Sitojun
1211.1Sitojun# These options enable verbose messages for several subsystems.
1221.1Sitojun# Warning, these may compile large string tables into the kernel!
1231.1Sitojun#options 	PCIVERBOSE	# verbose PCI device autoconfig messages
1241.12Scgd#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
1251.1Sitojunoptions 	PCMCIAVERBOSE	# verbose PCMCIA configuration messages
1261.1Sitojunoptions 	SCSIVERBOSE	# human readable SCSI error messages
1271.1Sitojun#options 	USBVERBOSE	# verbose USB device autoconfig messages
1281.1Sitojun
1291.1Sitojun# Kernel root file system and dump configuration.
1301.1Sitojunconfig		netbsd	root on ? type ?
1311.1Sitojun
1321.1Sitojun#
1331.1Sitojun# Device configuration
1341.1Sitojun#
1351.1Sitojun
1361.1Sitojunmainbus0 at root
1371.1Sitojun
1381.1Sitojunshb*	at mainbus?
1391.9Smsaitoh
1401.9Smsaitoh# WatchDog Timer
1411.22Sitojun#wdog0 at shb? port 0xffffff84
1421.1Sitojun
1431.1Sitojuncom0	at shb? port 0xa4000000 irq 11
1441.1Sitojuncom1	at shb? port 0xa4000008 irq 12
1451.1Sitojun
1461.1Sitojun# SH PCMCIA controllers
1471.20Smsaitohshpcic0	at shb? port 0xb000000a iomem 0xb8000000 iosiz 0x1000000
1481.20Smsaitohshpcic1	at shb? port 0xb000000c iomem 0xb9000000 iosiz 0x1000000
1491.1Sitojun
1501.1Sitojun# PCMCIA bus support
1511.1Sitojunpcmcia*	at shpcic? controller ? socket ?
1521.1Sitojun
1531.1Sitojuncom*	at pcmcia? function ?		# Modems and serial cards
1541.1Sitojunwdc*	at pcmcia? function ?
1551.1Sitojunwd*	at wdc? drive ?			# the drives themselves
1561.1Sitojun
1571.1Sitojunep*	at pcmcia? function ?		# 3Com 3c589 and 3c562 Ethernet
1581.1Sitojunmbe*	at pcmcia? function ?		# MB8696x based Ethernet
1591.1Sitojunne*	at pcmcia? function ?		# NE2000-compatible Ethernet
1601.1Sitojunsm*	at pcmcia? function ?		# Megahertz Ethernet
1611.1Sitojun
1621.1Sitojun# Pseudo-Devices
1631.1Sitojun
1641.1Sitojunpseudo-device	ccd		4	# concatenated/striped disk devices
1651.1Sitojun#pseudo-device	raid		4	# RAIDframe disk driver
1661.11Ssimonb#options 	RAID_AUTOCONFIG		# auto-configuration of RAID components
1671.1Sitojunpseudo-device	vnd		4	# disk-like interface to files
1681.1Sitojunpseudo-device	bpfilter	8	# Berkeley packet filter
1691.1Sitojunpseudo-device	ipfilter		# IP filter (firewall) and NAT
1701.1Sitojunpseudo-device	loop			# network loopback
1711.1Sitojunpseudo-device	ppp		2	# Point-to-Point Protocol
1721.1Sitojunpseudo-device	sl		2	# Serial Line IP
1731.1Sitojunpseudo-device	strip		2	# Starmode Radio IP (Metricom)
1741.1Sitojunpseudo-device	tun		2	# network tunneling over tty
1751.1Sitojunpseudo-device	gre		2	# generic L3 over IP tunnel
1761.1Sitojunpseudo-device	ipip		2	# IP Encapsulation within IP (RFC 2003)
1771.5Sitojunpseudo-device	gif		4	# IPv[46] over IPv[46] tunnel (RFC1933)
1781.5Sitojun#pseudo-device	faith		1	# IPv[46] tcp relay translation i/f
1791.13Sitojun#pseudo-device	stf		1	# 6to4 IPv6 over IPv4 encapsulation
1801.21Sbouyerpseudo-device	vlan			# IEEE 802.1q encapsulation
1811.28Satatatpseudo-device	bridge			# simple inter-network bridging
1821.19Sjdolecekpseudo-device	pty			# pseudo-terminals
1831.1Sitojunpseudo-device	rnd			# /dev/random and in-kernel generator
1841.1Sitojunpseudo-device	vcoda		4	# coda minicache <-> venus comm.
1851.1Sitojun#pseudo-device	md		1	# memory disk device (ramdisk)
1861.1Sitojun
1871.1Sitojun# Enable the hooks used for initializing the root memory-disk.
1881.1Sitojun#options 	MEMORY_DISK_HOOKS
1891.1Sitojun#options 	MEMORY_DISK_IS_ROOT	# force root on memory disk
1901.1Sitojun#options 	MEMORY_DISK_SERVER=0	# no userspace memory disk support
1911.1Sitojun#options 	MINIROOTSIZE=3074	# size of memory disk, in blocks
192