GENERIC revision 1.102
11.102Slukem# $NetBSD: GENERIC,v 1.102 2002/09/18 02:44:06 lukem Exp $
21.1Sjonathan#
31.93Sgmcgarry# GENERIC machine description file
41.93Sgmcgarry# 
51.93Sgmcgarry# This machine description file is used to generate the default NetBSD
61.93Sgmcgarry# kernel.  The generic kernel does not include all options, subsystems
71.93Sgmcgarry# and device drivers, but should be useful for most applications.
81.39Snisimura#
91.93Sgmcgarry# The machine description file can be customised for your specific
101.93Sgmcgarry# machine to reduce the kernel size and improve its performance.
111.1Sjonathan#
121.93Sgmcgarry# For further information on compiling NetBSD kernels, see the config(8)
131.93Sgmcgarry# man page.
141.93Sgmcgarry#
151.93Sgmcgarry# For further information on hardware support for this architecture, see
161.93Sgmcgarry# the intro(4) man page.  For further information about kernel options
171.93Sgmcgarry# for this architecture, see the options(4) man page.  For an explanation
181.93Sgmcgarry# of each device driver in this file see the section 4 man page for the
191.93Sgmcgarry# device.
201.93Sgmcgarry
211.5Sjonathaninclude		"arch/pmax/conf/std.pmax"
221.64Shubertf
231.99Satatatoptions 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
241.99Satatat
251.102Slukem#ident		"GENERIC-$Revision: 1.102 $"
261.1Sjonathan
271.5Sjonathanmaxusers	64
281.1Sjonathan
291.39Snisimuraoptions 	MIPS1		# R2000/R3000 CPUs
301.39Snisimuraoptions 	MIPS3		# R4000/R4400 CPUs
311.6Sjonathan
321.1Sjonathan
331.5Sjonathan# Support for specific models of DECstation
341.39Snisimuraoptions 	DEC_3100	# DECstation 2100, 3100 (kn01)
351.39Snisimuraoptions 	DEC_5100	# DECsystem 5100 (kn230)
361.39Snisimuraoptions 	DEC_3MAX	# DECstation 5000/200 (kn02)
371.39Snisimuraoptions 	DEC_3MIN	# DECstation 5000/1xx (kn02ba), 5000/150 (kn04)
381.39Snisimuraoptions 	DEC_MAXINE	# Personal DECstation 5000/xx (kn02ca)
391.39Snisimuraoptions 	DEC_3MAXPLUS	# DECstation 5000/240 (kn03), 5000/260 (kn05)
401.24Sjonathan
411.60Ssimonb#options 	DEC_5400	# DECsystem 5400 (kn210)
421.60Ssimonb#options 	DEC_5500	# DECsystem 5500 (kn220)
431.60Ssimonb#options 	DEC_5800	# DECsystem 58x0 (kn5800)
441.1Sjonathan
451.1Sjonathan# Standard system options
461.16Sjonathanoptions 	DDB			# in-kernel debugger
471.19Slukem#options 	DDB_HISTORY_SIZE=100	# enable history editing in DDB
481.16Sjonathanoptions 	DDB_ONPANIC=0		# don't enter debugger on panic
491.15Sjonathan#options 	DIAGNOSTIC		# extra kernel debugging checks
501.15Sjonathan#options 	DEBUG			# extra kernel debugging support
511.92Slukemoptions 	COMPAT_43		# compatibility with 4.3BSD binaries
521.15Sjonathanoptions 	KTRACE			# system call tracing support
531.43Sjonathan
541.43Sjonathanoptions 	SYSVMSG		# System V-like message queues
551.43Sjonathanoptions 	SYSVSEM		# System V-like semaphores
561.92Slukem#options 	SEMMNI=10	# number of semaphore identifiers
571.92Slukem#options 	SEMMNS=60	# number of semaphores in system
581.92Slukem#options 	SEMUME=10	# max number of undo entries per process
591.92Slukem#options 	SEMMNU=30	# number of undo structures in system
601.43Sjonathanoptions 	SYSVSHM		# System V-like memory sharing
611.43Sjonathan#options 	SHMMAXPGS=1024	# 1024 pages is the default
621.43Sjonathan
631.43Sjonathanoptions 	LKM			# loadable kernel modules
641.96Sjdolecek
651.102Slukemoptions 	USERCONF	# userconf(4) support
661.96Sjdolecek#options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
671.17Smjacob
681.18Smjacob#options 	SCSIVERBOSE		# Verbose SCSI errors
691.80Stsutsui#options 	TCVERBOSE		# recognize "unknown" TC devices
701.12Sjonathan
711.62Sad# Old 4.4BSD/pmax kgdb options
721.15Sjonathan#options 	KGDB			# support for kernel gdb
731.91Slukem#options 	KGDB_DEVRATE=19200	# kernel gdb port rate (default 9600)
741.91Slukem#options 	KGDB_DEV="15*256+0"	# device for kernel gdb
751.1Sjonathan
761.15Sjonathanoptions 	NTP			# network time protocol
771.15Sjonathan#options 	UCONSOLE		# users can redirect console (unsafe)
781.5Sjonathan
791.5Sjonathan
801.1Sjonathan# Filesystem options
811.83Snisimurafile-system	FFS		# fast filesystem with user and group quotas
821.83Snisimurafile-system	MFS		# memory-based filesystem
831.83Snisimurafile-system	NFS		# Sun NFS-compatible filesystem (client)
841.12Sjonathanfile-system	LFS		# Log-based filesystem (still experimental)
851.83Snisimurafile-system	CD9660		# ISO 9660 + Rock Ridge file system
861.83Snisimurafile-system	FDESC		# /dev/fd
871.83Snisimurafile-system	KERNFS		# /kern (kernel informational filesystem)
881.83Snisimurafile-system	NULLFS		# loopback file system
891.83Snisimurafile-system	OVERLAY		# overlay file system
901.83Snisimurafile-system	PORTAL		# portal filesystem (still experimental)
911.83Snisimurafile-system	PROCFS		# /proc
921.83Snisimurafile-system	UMAPFS		# NULLFS + uid and gid remapping
931.83Snisimurafile-system	UNION
941.10Sthorpej
951.15Sjonathanoptions 	NFSSERVER	# Sun NFS-compatible filesystem (server)
961.15Sjonathanoptions 	QUOTA		# UFS quotas
971.23Sbouyer#options 	FFS_EI		# FFS Endian Independant support
981.92Slukemoptions 	SOFTDEP		# FFS soft updates support.
991.84Ssimonb# VNODE_OP_NOINLINE will produce smaller and possibly slightly faster kernels
1001.84Ssimonb#options 	VNODE_OP_NOINLINE	# don't inline vnode op calls
1011.50Sitojun
1021.1Sjonathan# Networking options
1031.15Sjonathanoptions 	INET		# Internet protocols
1041.50Sitojunoptions 	INET6		# IPV6
1051.50Sitojun#options 	IPSEC		# IP security
1061.50Sitojun#options 	IPSEC_ESP	# IP security (encryption part; define w/IPSEC)
1071.50Sitojun#options 	IPSEC_DEBUG	# debug for IP security
1081.15Sjonathanoptions 	GATEWAY		# IP packet forwarding
1091.12Sjonathan#options 	MROUTING	# Multicast routing support
1101.12Sjonathan#options 	ISO		# OSI networking
1111.12Sjonathan#options 	TPIP		# TPIP
1121.12Sjonathan#options 	EON		# OSI tunneling over IP
1131.12Sjonathan#options 	CCITT,LLC,HDLC	# X.25
1141.38Ssimonboptions 	NETATALK	# AppleTalk networking protocols
1151.46Schristosoptions 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
1161.46Schristosoptions 	PPP_DEFLATE	# Deflate compression support for PPP
1171.46Schristosoptions 	PPP_FILTER	# Active filter support for PPP (requires bpf)
1181.46Schristosoptions 	PFIL_HOOKS	# pfil(9) packet filter hooks
1191.38Ssimonboptions 	IPFILTER_LOG	# ipmon(8) log support
1201.88Sabs#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
1211.1Sjonathan
1221.5Sjonathan# NetBSD backwards compatibility
1231.15Sjonathan#options 	COMPAT_10	# NetBSD 1.0, (needed for X on 386?)
1241.98Ssimonb#options 	COMPAT_11	# NetBSD 1.1, EXEC_ELF_NOTELESS
1251.98Ssimonboptions 	COMPAT_12	# Netbsd 1.2 reboot(), EXEC_ELF_NOTELESS
1261.21Skleinkoptions 	COMPAT_13	# Netbsd 1.3
1271.47Saugustssoptions 	COMPAT_14	# Netbsd 1.4
1281.88Sabs#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
1291.1Sjonathan
1301.40Sad# Raster console options
1311.57Ssimonboptions 	FONT_BOLD8x16		# Font for fb devices
1321.101Sadoptions 	FONT_GALLANT12x22
1331.5Sjonathan
1341.1Sjonathan# pmax specific
1351.39Snisimuraoptions 	COMPAT_ULTRIX	# Ultrix compatibility
1361.89Ssimonb#options 	EXEC_AOUT	# Old NetBSD/pmax a.out compatibility
1371.15Sjonathanoptions 	EXEC_ECOFF	# Ultrix RISC binaries are ECOFF format
1381.92Slukemoptions 	HZ=256		# RTC rate required
1391.22Sdrochner
1401.41Ssimonboptions 	NFS_BOOT_DHCP	# superset of BOOTP
1411.1Sjonathan
1421.16Sjonathanconfig		netbsd		root on ? type ?
1431.42Ssimonb#config		nfsnetbsd	root on ? type nfs
1441.1Sjonathan
1451.30Smhitch
1461.30Smhitchmainbus0	at root
1471.30Smhitchcpu*		at mainbus0
1481.1Sjonathan
1491.48Snisimura## Peripheral Bus Support (for devices to attach to)
1501.48Snisimura## ----------------------------------------------------------------------------
1511.1Sjonathan
1521.48Snisimura# TURBOchannel bus support
1531.48Snisimuratc*	at	mainbus0
1541.26Sjonathan
1551.48Snisimura# 3MIN, 3MAX+ and MAXINE have IOASIC in system slot
1561.48Snisimuraioasic0	at	tc?
1571.55Ssimonbmcclock* at	ioasic? offset ?	# DS1287 RTC
1581.55Ssimonble*	at	ioasic? offset ?	# LANCE
1591.55Ssimonbscc*	at	ioasic? offset ?	# Z85C30
1601.75Sgmcgarrybba*	at	ioasic? offset ?	# MAXINE baseboard audio
1611.73Saugustssaudio*	at	bba?
1621.55Ssimonbdtop*	at	ioasic? offset ?	# MAXINE kbd and mouse
1631.48Snisimura#fdc	at	ioasic? offset ?	# MAXINE floppy disk (not supported)
1641.55Ssimonbasc*	at	ioasic? offset ?	# NCR53C94 SCSI with IOASIC
1651.48Snisimura
1661.48Snisimura# 3MAX has TURBOchannel but no IOASIC
1671.52Sthorpejibus0	at	tc? slot ? offset ?	# 3MAX system slot
1681.55Ssimonb
1691.55Ssimonb# PMAX, 3MAX and MIPSMATE common devices
1701.55Ssimonbmcclock* at	ibus0 addr ?		# DS1287 RTC
1711.55Ssimonbdc*	at	ibus0 addr ?		# DC7085 quad line serial device
1721.48Snisimura
1731.48Snisimura# TURBOchannel devices
1741.52Sthorpejmfb*	at	tc? slot ? offset ?	# PMAG-A MX Monochrome Framebuffer
1751.52Sthorpejcfb*	at	tc? slot ? offset ?	# PMAG-B CX Color Framebuffer
1761.52Sthorpej#tfb*	at	tc? slot ? offset ?	# PMAG-RO TX True Color Framebuffer
1771.52Sthorpejsfb*	at	tc? slot ? offset ?	# PMAGB-B HX Smart Framebuffer
1781.61Sadpx0	at	tc? slot ? offset ?	# PMAG-C,D,E,F PX family
1791.52Sthorpej#sfbp*	at	tc? slot ? offset ?	# PMAGD HX+ Smart Framebuffer
1801.55Ssimonbxcfb*	at	tc? slot ? offset ?	# PMAG-DV Color Framebuffer at MAXINE
1811.52Sthorpejasc*	at	tc? slot ? offset ?	# PMAZ-A single channel SCSI
1821.52Sthorpejle*	at	tc? slot ? offset ?	# PMAD-A LANCE
1831.52Sthorpejfta*	at	tc? slot ? offset ?	# PMAF-F FDDI
1841.89Ssimonbtcds*	at	tc? slot ? offset ?	# PMAZB/PMAZC dual channel SCSI
1851.89Ssimonbasc*	at	tcds? chip ?
1861.48Snisimura
1871.48Snisimura# PMAX and MIPSMATE
1881.48Snisimuraibus0	at	mainbus0
1891.55Ssimonbpm*	at	ibus0 addr ?		# 3100 onboard fb
1901.55Ssimonble*	at	ibus0 addr ?		# 3100, 5100 onboard LANCE
1911.55Ssimonbsii*	at	ibus0 addr ?		# DC7061 onboard SCSI
1921.1Sjonathan
1931.34Ssimonb#########################################################################
1941.34Ssimonb# SCSI configuration							#
1951.34Ssimonb#########################################################################
1961.1Sjonathan
1971.89Ssimonbscsibus* at sii?
1981.89Ssimonbscsibus* at asc?
1991.89Ssimonb
2001.89Ssimonbsd*	at scsibus? target ? lun ?	# SCSI disks
2011.89Ssimonbst*	at scsibus? target ? lun ?	# SCSI tapes
2021.92Slukemcd*	at scsibus? target ? lun ?	# SCSI CD-ROMs
2031.89Ssimonbch*	at scsibus? target ? lun ?	# SCSI changer devices
2041.89Ssimonbss*	at scsibus? target ? lun ?	# SCSI scanners
2051.89Ssimonbuk*	at scsibus? target ? lun ?	# unknown SCSI
2061.1Sjonathan
2071.34Ssimonb#########################################################################
2081.34Ssimonb# Pseudo-devices							#
2091.34Ssimonb#########################################################################
2101.1Sjonathan
2111.34Ssimonbpseudo-device	loop		 1	# network loopback
2121.1Sjonathanpseudo-device	sl		 4	# serial-line IP ports
2131.34Ssimonbpseudo-device	ppp		 2	# serial-line IP ports
2141.94Smartinpseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
2151.85Sjdolecekpseudo-device	pty			# pseudo-terminals
2161.1Sjonathanpseudo-device	bpfilter	16	# packet filter ports
2171.36Ssimonbpseudo-device	ipfilter		# IP filter, NAT
2181.34Ssimonb#pseudo-device	gre		 2	# generic L3 over IP tunnel
2191.50Sitojunpseudo-device	gif		4	# IPv[46] over IPv[46] tunnel (RFC1933)
2201.50Sitojun#pseudo-device	faith		1	# IPv[46] tcp relay translation i/f
2211.70Sitojun#pseudo-device	stf		1	# 6to4 IPv6 over IPv4 encapsulation
2221.86Sbouyerpseudo-device	vlan			# IEEE 802.1q encapsulation
2231.90Satatatpseudo-device	bridge			# simple inter-network bridging
2241.12Sjonathan
2251.34Ssimonbpseudo-device	vnd		 4	# virtual disk ick
2261.34Ssimonbpseudo-device	ccd		 4	# concatenated disks
2271.95Sosterpseudo-device	raid		 8	# RAIDframe disk driver
2281.95Sosteroptions 	RAID_AUTOCONFIG		# auto-configuration of RAID components
2291.95Soster# Options to enable various other RAIDframe RAID types.
2301.95Soster# options	RF_INCLUDE_EVENODD=1
2311.95Soster# options	RF_INCLUDE_RAID5_RS=1
2321.95Soster# options	RF_INCLUDE_PARITYLOGGING=1
2331.95Soster# options	RF_INCLUDE_CHAINDECLUSTER=1
2341.95Soster# options	RF_INCLUDE_INTERDECLUSTER=1
2351.95Soster# options 	RF_INCLUDE_PARITY_DECLUSTERING=1
2361.95Soster# options	RF_INCLUDE_PARITY_DECLUSTERING_DS=1
2371.1Sjonathan
2381.34Ssimonbpseudo-device	rasterconsole	 1 	# NB: raster console requires "fb"
2391.45Ssimonbpseudo-device	fb		 3	# up to 3 framebuffers
2401.36Ssimonb
2411.36Ssimonbpseudo-device	rnd			# /dev/random and in-kernel generator
2421.100Slukempseudo-device	clockctl		# user control of clock subsystem
243