GENERIC revision 1.90
11.90Sgmcgarry# $NetBSD: GENERIC,v 1.90 2002/04/12 08:11:24 gmcgarry Exp $
21.86Sgmcgarry#
31.86Sgmcgarry# GENERIC machine description file
41.86Sgmcgarry# 
51.86Sgmcgarry# This machine description file is used to generate the default NetBSD
61.86Sgmcgarry# kernel.  The generic kernel does not include all options, subsystems
71.86Sgmcgarry# and device drivers, but should be useful for most applications.
81.86Sgmcgarry#
91.86Sgmcgarry# The machine description file can be customised for your specific
101.86Sgmcgarry# machine to reduce the kernel size and improve its performance.
111.86Sgmcgarry#
121.86Sgmcgarry# For further information on compiling NetBSD kernels, see the config(8)
131.86Sgmcgarry# man page.
141.86Sgmcgarry#
151.86Sgmcgarry# For further information on hardware support for this architecture, see
161.86Sgmcgarry# the intro(4) man page.  For further information about kernel options
171.86Sgmcgarry# for this architecture, see the options(4) man page.  For an explanation
181.86Sgmcgarry# of each device driver in this file see the section 4 man page for the
191.86Sgmcgarry# device.
201.9Sgwr
211.86Sgmcgarry# Supports Sun3 (3/50, 3/60, 3/110, 3/160, 3/260, 3/E)
221.21Sgwr# Supports root on: ie0, le0, sd*, ...
231.1Sglass
241.86Sgmcgarryinclude 	"arch/sun3/conf/std.sun3"
251.63Shubertf
261.90Sgmcgarry#ident 		"GENERIC-$Revision: 1.90 $"
271.1Sglass
281.50Sgwr# Machines to be supported by this kernel
291.15Sgwroptions 	FPU_EMULATE
301.21Sgwroptions 	HAVECACHE		# Sun3/260 VAC
311.3Sglass
321.4Sgwr# Needs to be set per system.  i.e change these as you see fit
331.3Sglassmaxusers	4
341.23Sgwr
351.4Sgwr# Standard system options
361.41Sgwroptions 	KTRACE		# system call tracing
371.41Sgwroptions 	SYSVMSG		# System V message queues
381.41Sgwroptions 	SYSVSEM		# System V semaphores
391.84Slukem#options 	SEMMNI=10	# number of semaphore identifiers
401.84Slukem#options 	SEMMNS=60	# number of semaphores in system
411.84Slukem#options 	SEMUME=10	# max number of undo entries per process
421.84Slukem#options 	SEMMNU=30	# number of undo structures in system
431.41Sgwroptions 	SYSVSHM		# System V shared memory
441.41Sgwr#options 	SHMMAXPGS=1024	# 1024 pages is the default
451.52Sfairoptions 	LKM		# loadable kernel modules
461.41Sgwr#options 	INSECURE	# disable kernel security level
471.41Sgwr#options 	UCONSOLE	# Allow non-root TIOCCONS
481.90Sgmcgarry#options 	USERCONF	# userconf(4) support
491.89Sjdolecek#options	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
501.30Sthorpej
511.41Sgwr# Which kernel debugger?  Uncomment either this:
521.30Sthorpejoptions 	DDB
531.36Sgwr# ... or these for KGDB (gdb remote target)
541.84Slukem#makeoptions	DEBUG="-g"	# debugging symbols for gdb
551.30Sthorpej#options 	KGDB
561.83Slukem#options 	KGDB_DEV=0x0C01	# ttya=0C00 ttyb=0C01
571.41Sgwr
581.41Sgwr# Other debugging options
591.43Slukem#options 	DDB_HISTORY_SIZE=100	# enable history editing in DDB
601.41Sgwr#options 	DEBUG		# kernel debugging code
611.41Sgwr#options 	DIAGNOSTIC	# extra kernel sanity checking
621.41Sgwr#options 	KMEMSTATS	# kernel memory statistics (vmstat -m)
631.41Sgwr#options 	PMAP_DEBUG
641.41Sgwr#options 	SCSIDEBUG
651.40Smjacob#options 	SCSIVERBOSE		# Verbose SCSI errors
661.1Sglass
671.78Swiz# Compatibility options
681.41Sgwroptions 	COMPAT_SUNOS	# can run SunOS 4.1.1 executables
691.57Skleink#options 	COMPAT_SVR4	# can run SVR4 executables
701.41Sgwroptions 	COMPAT_43	# and 4.3BSD and ...
711.41Sgwroptions 	COMPAT_10	# NetBSD 1.0
721.41Sgwroptions 	COMPAT_11	# NetBSD 1.1
731.41Sgwroptions 	COMPAT_12	# NetBSD 1.2
741.45Skleinkoptions 	COMPAT_13	# NetBSD 1.3
751.59Saugustssoptions 	COMPAT_14	# NetBSD 1.4
761.77Schsoptions 	COMPAT_AOUT_M68K # support for NetBSD a.out executables
771.56Sitohy#options 	COMPAT_LINUX	# can run Linux/m68k executables
781.77Schsoptions 	EXEC_AOUT	# support for a.out executables
791.80Sabs#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
801.41Sgwr
811.4Sgwr# Filesystem options
821.41Sgwrfile-system	FFS		# Berkeley Fast Filesystem
831.41Sgwrfile-system	NFS		# Sun NFS client support
841.38Slukemfile-system	CD9660		# ISO 9660 + Rock Ridge file system
851.38Slukemfile-system	FDESC		# /dev/fd/*
861.38Slukemfile-system	KERNFS		# /kern
871.38Slukemfile-system	NULLFS		# loopback file system
881.62Swrstudenfile-system 	OVERLAY		# overlay file system
891.38Slukemfile-system	PROCFS		# /proc
901.38Slukemfile-system	UNION		# union file system
911.38Slukemfile-system	MFS		# memory-based filesystem
921.35Sthorpej
931.30Sthorpejoptions 	NFSSERVER	# nfs server support
941.41Sgwroptions 	QUOTA		# FFS quotas
951.51Sbouyer#options 	FFS_EI		# FFS Endian Independant support
961.84Slukemoptions 	SOFTDEP		# FFS soft updates support.
971.61Sitojun
981.4Sgwr# Networking options
991.30Sthorpejoptions 	INET		# IP prototol stack support
1001.61Sitojunoptions 	INET6		# IPV6
1011.61Sitojun#options 	IPSEC		# IP security
1021.61Sitojun#options 	IPSEC_ESP	# IP security (encryption part; define w/IPSEC)
1031.61Sitojun#options 	IPSEC_DEBUG	# debug for IP security
1041.38Slukem#options 	GATEWAY		# IP packet forwarding
1051.41Sgwr#options 	ISO,TPIP	# OSI networking
1061.41Sgwr#options 	EON		# OSI tunneling over IP
1071.41Sgwr#options 	CCITT,LLC,HDLC	# X.25
1081.58Schristosoptions 	PFIL_HOOKS	# pfil(9) packet filter hooks.
1091.80Sabs#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
1101.41Sgwr
1111.41Sgwr# Work-around for root on slow servers (insurance...)
1121.12Sgwroptions 	NFS_BOOT_RWSIZE=1024
1131.48Sgwroptions 	NFS_BOOT_BOOTPARAM
1141.3Sglass
1151.35Sthorpejconfig		netbsd root on ? type ?
1161.1Sglass
1171.49Sgwr# On-board I/O space (required)
1181.49Sgwrinclude "arch/sun3/conf/obio.sun3"
1191.49Sgwr
1201.49Sgwr# On-board memory (optional)
1211.49Sgwr# See frame-buffers
1221.49Sgwrobmem0 at mainbus?
1231.49Sgwr
1241.49Sgwr# VME bus support (optional)
1251.49Sgwr# One unit for each address space
1261.49Sgwrvme0 at mainbus? # A16/D16
1271.49Sgwrvme1 at mainbus? # A16/D32
1281.49Sgwrvme2 at mainbus? # A24/D16
1291.49Sgwrvme3 at mainbus? # A24/D32
1301.49Sgwrvme4 at mainbus? # A32/D16
1311.49Sgwrvme5 at mainbus? # A32/D32
1321.49Sgwr
1331.25Sgwr#
1341.27Sgwr# Serial ports
1351.27Sgwr#
1361.38Slukemzstty0	at zsc1 channel 0	# ttya
1371.38Slukemzstty1	at zsc1 channel 1	# ttyb
1381.27Sgwr
1391.38Slukemkbd0	at zsc0 channel 0	# keyboard
1401.38Slukemms0	at zsc0 channel 1	# mouse
1411.27Sgwr
1421.27Sgwr#
1431.25Sgwr# Network devices
1441.25Sgwr#
1451.16Sgwr
1461.25Sgwr# Intel Ethernet (onboard, or VME)
1471.49Sgwrie0 at obio0 addr 0x0C0000 ipl 3
1481.84Slukemie1 at vme2 addr 0xe88000 ipl 3 vect 0x75
1491.4Sgwr
1501.25Sgwr# Lance Ethernet (only onboard)
1511.49Sgwrle0 at obio0 addr 0x120000 ipl 3
1521.49Sgwr
1531.49Sgwr# All Sun3 machines with an "le" (3/50, 3/60) should be
1541.49Sgwr# presumed to have the old, buggy LANCE chip. (Rev. C)
1551.49Sgwroptions 	LANCE_REVC_BUG
1561.12Sgwr
1571.25Sgwr#
1581.25Sgwr# Disk and tape devices
1591.25Sgwr#
1601.25Sgwr
1611.25Sgwr# Sun3 "si" SCSI controller (NCR 5380)
1621.37Sgwr# This driver has several flags which may be enabled using
1631.37Sgwr# the "flags" directive.  Valid flags are:
1641.31Sgwr#
1651.37Sgwr# 0x000ff	Set (1<<target) to disable disconnect/reselect
1661.37Sgwr# 0x0ff00	Set (1<<(target+8)) to disable parity checking
1671.37Sgwr# 0x10000	Set this bit to disable DMA interrupts (poll)
1681.37Sgwr# 0x20000	Set this bit to disable DMA entirely (use PIO)
1691.37Sgwr#
1701.37Sgwr# For example: "flags 0x1000f" would disable DMA interrupts,
1711.37Sgwr# and disable disconnect/reselect for targets 0-3
1721.49Sgwrsi0 at obio0 addr 0x140000 ipl 2
1731.84Slukemsi0 at vme2 addr 0x200000 ipl 2 vect 0x40
1741.84Slukemsi1 at vme2 addr 0x204000 ipl 2 vect 0x41
1751.49Sgwr
1761.49Sgwr# Xylogics 450/451 controllers (VME A16/D16)
1771.49Sgwrxyc0 at vme0 addr 0xee40 ipl 2 vect 0x48
1781.49Sgwrxyc1 at vme0 addr 0xee48 ipl 2 vect 0x49
1791.41Sgwrxy* at xyc? drive ?
1801.37Sgwr
1811.49Sgwr# Xylogics 7053 controllers (VME A16/D32)
1821.49Sgwrxdc0 at vme1 addr 0xee80 ipl 2 vect 0x44
1831.49Sgwrxdc1 at vme1 addr 0xee90 ipl 2 vect 0x45
1841.41Sgwrxd* at xdc? drive ?
1851.25Sgwr
1861.25Sgwr# Xylogics 472 tape controllers?
1871.25Sgwr
1881.49Sgwr# Sun3/E SCSI+Ethernet board (VME A24/D16)
1891.49Sgwr# Note: the board uses vect and vect+1
1901.49Sgwrsebuf0 at vme2 addr 0x300000 ipl 2 vect 0x74 # and 0x75
1911.49Sgwrsebuf1 at vme2 addr 0x340000 ipl 2 vect 0x76 # and 0x77
1921.46Sgwrsi* at sebuf?
1931.46Sgwrie* at sebuf?
1941.46Sgwr
1951.46Sgwr#
1961.25Sgwr# Frame buffer devices
1971.25Sgwr#
1981.10Sgwr
1991.50Sgwrinclude "arch/sun3/conf/bw2.sun3"
2001.50Sgwrinclude "arch/sun3/conf/cg4.sun3"
2011.25Sgwr
2021.25Sgwr# 3/60 P4 accelerated 8-bit color frame buffer
2031.50Sgwr# cgsix0 at obmem0 addr 0xff000000
2041.25Sgwr
2051.25Sgwr# 3/60 P4 24-bit color frame buffer
2061.50Sgwr# cgeight0 at obmem0 addr 0xff300000
2071.25Sgwr
2081.49Sgwr# Sun-3 color board, or CG5 8-bit frame buffer (VME A24/D16).
2091.49Sgwrcgtwo0 at vme2 addr 0x400000 ipl 4 vect 0xA8
2101.25Sgwr
2111.49Sgwr# Support for the CG9 24-bit frame buffer (VME A32/D32).
2121.49Sgwr# cgnine0 at vme5 addr 0x08000000 ipl 4 vect 0xAA
2131.25Sgwr
2141.25Sgwr#
2151.25Sgwr# SCSI infrastructure
2161.25Sgwr#
2171.7Sgwrscsibus* at scsi?
2181.14Sgwr
2191.37Sgwrsd* at scsibus? target ? lun ?		# SCSI disks
2201.37Sgwrst* at scsibus? target ? lun ?		# SCSI tapes
2211.37Sgwrcd* at scsibus? target ? lun ?		# SCSI CD-ROMs
2221.37Sgwrch* at scsibus? target ? lun ?		# SCSI changer devices
2231.37Sgwrss* at scsibus? target ? lun ?		# SCSI scanners
2241.37Sgwruk* at scsibus? target ? lun ?		# unknown SCSI devices
2251.24Sgwr
2261.33Spk# Memory-disk drivers
2271.38Slukempseudo-device	md		2
2281.1Sglass
2291.25Sgwr# Misc.
2301.38Slukempseudo-device	loop		1	# network loopback
2311.38Slukempseudo-device	bpfilter	8	# packet filter
2321.38Slukempseudo-device	sl		2	# CSLIP
2331.38Slukempseudo-device	ppp		2	# PPP
2341.87Smartinpseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
2351.38Slukempseudo-device	tun		2	# network tunneling over tty
2361.55Shwr#pseudo-device	gre		2	# generic L3 over IP tunnel
2371.37Sgwr#pseudo-device	ipfilter		# ip filter
2381.61Sitojunpseudo-device	gif		4	# IPv[46] over IPv[46] tunnel (RFC1933)
2391.61Sitojun#pseudo-device	faith		1	# IPv[46] tcp relay translation i/f
2401.66Sitojun#pseudo-device	stf		1	# 6to4 IPv6 over IPv4 encapsulation
2411.75Sbouyerpseudo-device	vlan			# IEEE 802.1q encapsulation
2421.85Satatatpseudo-device	bridge			# simple inter-network bridging
2431.74Sitojunpseudo-device	rnd			# /dev/random and in-kernel generator
2441.17Sgwr
2451.73Sjdolecekpseudo-device	pty			# pseudo-terminals
2461.67Stsutsuipseudo-device	vnd		4	# paging to files
2471.38Slukem#pseudo-device	ccd		4	# concatenated disks
2481.54Soster#pseudo-device	raid		4	# RAIDframe disk driver
2491.65Ssimonb#options 	RAID_AUTOCONFIG		# auto-configuration of RAID components
2501.88Soster# Options to enable various other RAIDframe RAID types.
2511.88Soster# options	RF_INCLUDE_EVENODD=1
2521.88Soster# options	RF_INCLUDE_RAID5_RS=1
2531.88Soster# options	RF_INCLUDE_PARITYLOGGING=1
2541.88Soster# options	RF_INCLUDE_CHAINDECLUSTER=1
2551.88Soster# options	RF_INCLUDE_INTERDECLUSTER=1
2561.88Soster# options 	RF_INCLUDE_PARITY_DECLUSTERING=1
2571.88Soster# options	RF_INCLUDE_PARITY_DECLUSTERING_DS=1
258