GENERIC revision 1.19
11.19Slukem# $NetBSD: GENERIC,v 1.19 2002/06/17 05:14:16 lukem Exp $
21.1Swdk#
31.13Sgmcgarry# GENERIC machine description file
41.13Sgmcgarry# 
51.13Sgmcgarry# This machine description file is used to generate the default NetBSD
61.13Sgmcgarry# kernel.  The generic kernel does not include all options, subsystems
71.13Sgmcgarry# and device drivers, but should be useful for most applications.
81.1Swdk#
91.13Sgmcgarry# The machine description file can be customised for your specific
101.13Sgmcgarry# machine to reduce the kernel size and improve its performance.
111.13Sgmcgarry#
121.13Sgmcgarry# For further information on compiling NetBSD kernels, see the config(8)
131.13Sgmcgarry# man page.
141.13Sgmcgarry#
151.13Sgmcgarry# For further information on hardware support for this architecture, see
161.13Sgmcgarry# the intro(4) man page.  For further information about kernel options
171.13Sgmcgarry# for this architecture, see the options(4) man page.  For an explanation
181.13Sgmcgarry# of each device driver in this file see the section 4 man page for the
191.13Sgmcgarry# device.
201.13Sgmcgarry
211.1Swdkinclude		"arch/mipsco/conf/std.mipsco"
221.18Satatat
231.18Satatatoptions 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
241.1Swdk
251.1Swdkmaxusers	16
261.1Swdk
271.1Swdkoptions 	MIPS1			# R2000/R3000 support
281.1Swdk
291.1Swdk# Standard system options
301.1Swdkoptions 	KTRACE			# system call tracing support
311.1Swdkoptions 	SYSVMSG			# System V message queues
321.1Swdkoptions 	SYSVSEM			# System V semaphores
331.11Slukem#options 	SEMMNI=10		# number of semaphore identifiers
341.11Slukem#options 	SEMMNS=60		# number of semaphores in system
351.11Slukem#options 	SEMUME=10		# max number of undo entries per process
361.11Slukem#options 	SEMMNU=30		# number of undo structures in system
371.1Swdkoptions 	SYSVSHM			# System V shared memory
381.1Swdk#options 	SHMMAXPGS=1024		# 1024 pages is the default
391.1Swdk#options 	LKM			# loadable kernel modules
401.1Swdk#options 	NTP			# network time protocol
411.1Swdk#options 	UCONSOLE		# users can redirect console (unsafe)
421.11Slukemoptions 	HZ=25
431.17Sgmcgarry#options 	USERCONF		# userconf(4) support
441.16Sjdolecek#options	PIPE_SOCKETPAIR		# smaller, but slower pipe(2)
451.1Swdk
461.1Swdk# Debugging options
471.1Swdkoptions 	DDB			# kernel dynamic debugger
481.1Swdkoptions 	DDB_HISTORY_SIZE=100	# enable history editing in DDB
491.1Swdk#options 	DEBUG			# extra kernel debugging support
501.1Swdkoptions 	DIAGNOSTIC		# extra kernel sanity checking
511.1Swdkoptions 	SCSIVERBOSE		# Verbose SCSI errors
521.5Swdk
531.11Slukem#options 	KGDB			# Remote kernel debug using gdb
541.11Slukem#options 	KGDB_DEV=0x0100		# KGDB port (this is serial0)
551.11Slukem#options 	KGDB_DEVRATE=19200	# KGDB Baud Rate (default=19200)
561.5Swdk#makeoptions	DEBUG="-g"		# Build kernel with debug symbols
571.1Swdk
581.1Swdk# Compatibility options
591.1Swdkoptions 	COMPAT_43		# compatibility with 4.3BSD binaries
601.1Swdk#options 	COMPAT_10		# NetBSD 1.0 binary compatibility
611.1Swdk#options 	COMPAT_11		# NetBSD 1.1 binary compatibility
621.1Swdk#options 	COMPAT_12		# NetBSD 1.2 binary compatibility
631.1Swdkoptions 	COMPAT_13		# NetBSD 1.3 binary compatibility
641.1Swdkoptions 	COMPAT_14		# NetBSD 1.4 binary compatibility
651.1Swdk#options 	EXEC_AOUT		# exec a.out binaries
661.1Swdk#options 	EXEC_ECOFF		# exec ecoff binaries
671.7Sabs#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
681.1Swdk
691.1Swdk# Filesystem options
701.1Swdkfile-system	FFS		# Berkeley Fast Filesystem
711.1Swdkfile-system	NFS		# Sun NFS-compatible filesystem client
721.1Swdkfile-system	KERNFS		# kernel data-structure filesystem
731.1Swdk#file-system	NULLFS		# NULL layered filesystem
741.1Swdk#file-system	MFS		# memory-based filesystem
751.1Swdk#file-system	FDESC		# user file descriptor filesystem
761.1Swdk#file-system	UMAPFS		# uid/gid remapping filesystem
771.1Swdk#file-system	LFS		# Log-based filesystem (still experimental)
781.1Swdk#file-system	PORTAL		# portal filesystem (still experimental)
791.1Swdkfile-system	PROCFS		# /proc
801.1Swdkfile-system	CD9660		# ISO 9660 + Rock Ridge file system
811.1Swdk#file-system	UNION		# union file system
821.1Swdk#file-system	MSDOSFS		# MS-DOS FAT filesystem(s).
831.1Swdk#
841.1Swdkoptions 	NFSSERVER	# Sun NFS-compatible filesystem server
851.1Swdkoptions 	QUOTA		# FFS quotas
861.1Swdk#options 	FFS_EI		# FFS Endian Independant support
871.1Swdk
881.1Swdk# Networking options
891.1Swdkoptions 	INET		# Internet protocols
901.1Swdk#options 	GATEWAY		# IP packet forwarding
911.1Swdk#options 	MROUTING	# packet forwarding of multicast packets
921.1Swdk#options 	NS		# Xerox NS networking
931.1Swdk#options 	NSIP		# Xerox NS tunneling over IP
941.1Swdk#options 	ISO,TPIP	# OSI networking
951.1Swdk#options 	EON		# OSI tunneling over IP
961.1Swdk#options 	CCITT,LLC,HDLC	# X.25
971.1Swdk#options 	NETATALK	# AppleTalk (over Ethernet) protocol
981.1Swdk#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
991.1Swdk#options 	PPP_DEFLATE	# Deflate compression support for PPP
1001.1Swdk#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
1011.1Swdk#options 	PFIL_HOOKS	# pfil(9) packet filter hooks
1021.1Swdk#options 	IPFILTER_LOG	# ipmon(8) log support
1031.7Sabs#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
1041.1Swdk
1051.1Swdkconfig		netbsd	root on ? type ?
1061.1Swdk
1071.1Swdkmainbus0 at root
1081.1Swdk
1091.1Swdkcpu0	at mainbus0
1101.1Swdkobio0	at mainbus0
1111.1Swdk
1121.1Swdkmkclock0 at obio0 addr 0xbd000000	# MK48T02 realtime clock
1131.1Swdk
1141.1Swdkrambo0	at obio0 addr 0xbc000000	# RAMBO dma & timer asic
1151.1Swdk
1161.1Swdkle0	at obio0 addr 0xba000000	# onboard LANCE ethernet
1171.1Swdk
1181.1Swdk# Not currently implemented
1191.1Swdk#kb0	at obio0 addr 0xbfd00000	# keyboard
1201.1Swdk#fb0	at obio0 addr 0x88000000	# framebuffer
1211.1Swdk
1221.1Swdkfd0	at obio0 addr 0xbe000000	# i82072 floppy disk controller
1231.1Swdk
1241.1Swdkzsc0	at obio0 addr 0xbb000000	# Base address for Z8530 SCC
1251.1Swdkzstty0	at zsc0 channel 0		# tty00
1261.1Swdkzstty1	at zsc0 channel 1		# tty01
1271.1Swdk
1281.1Swdkasc0	at obio0 addr 0xb8000000	# onboard NCR 53c94 SCSI controller
1291.1Swdk
1301.1Swdkscsibus0 at asc0
1311.1Swdk
1321.1Swdksd*	at scsibus? target ? lun ?	# SCSI disks
1331.1Swdkst*	at scsibus? target ? lun ?	# SCSI tapes
1341.1Swdkcd*	at scsibus? target ? lun ?	# SCSI CD-ROMs
1351.1Swdkch*	at scsibus? target ? lun ?	# SCSI changer devices
1361.1Swdk
1371.1Swdkpseudo-device	loop			# loopback interface; required
1381.2Sjdolecekpseudo-device	pty			# pseudo-terminals
1391.1Swdk#pseudo-device	sl		2	# SLIP interfaces
1401.1Swdk#pseudo-device	ppp		2	# PPP interfaces
1411.14Smartin#pseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
1421.1Swdkpseudo-device	tun		4	# Network "tunnel" device
1431.1Swdk#pseudo-device	gre		2	# generic L3 over IP tunnel
1441.1Swdkpseudo-device	bpfilter	16	# Berkeley Packet Filter
1451.1Swdk#pseudo-device	vnd		4	# disk-like interface to files
1461.1Swdk#pseudo-device	ccd		4	# concatenated and striped disks
1471.15Soster#pseudo-device	raid		8	# RAIDframe disk driver
1481.15Soster# Options to enable various other RAIDframe RAID types.
1491.15Soster# options	RF_INCLUDE_EVENODD=1
1501.15Soster# options	RF_INCLUDE_RAID5_RS=1
1511.15Soster# options	RF_INCLUDE_PARITYLOGGING=1
1521.15Soster# options	RF_INCLUDE_CHAINDECLUSTER=1
1531.15Soster# options	RF_INCLUDE_INTERDECLUSTER=1
1541.15Soster# options 	RF_INCLUDE_PARITY_DECLUSTERING=1
1551.15Soster# options	RF_INCLUDE_PARITY_DECLUSTERING_DS=1
1561.1Swdk#pseudo-device	strip		1	# radio clock
1571.1Swdk#pseudo-device	ipfilter		# ip filter
1581.4Sbouyerpseudo-device	vlan			# IEEE 802.1q encapsulation
1591.12Satatatpseudo-device	bridge			# simple inter-network bridging
1601.19Slukempseudo-device	clockctl		# user control of clock subsystem
1611.3Sitojun
1621.3Sitojun# random number generator pseudo-device
1631.3Sitojunpseudo-device	rnd			# /dev/random and in-kernel generator
1641.3Sitojun#options 	RND_COM			# use "com" randomness as well (BROKEN)
165