GENERIC revision 1.79
11.79Sdarcy# $NetBSD: GENERIC,v 1.79 2001/06/30 11:00:37 darcy Exp $
21.9Sgwr
31.49Sgwr# GENERIC Sun3 (3/50, 3/60, 3/110, 3/160, 3/260, 3/E)
41.21Sgwr# Supports root on: ie0, le0, sd*, ...
51.1Sglass
61.29Sjtcinclude "arch/sun3/conf/std.sun3"
71.63Shubertf
81.79Sdarcy#ident 		"GENERIC-$Revision: 1.79 $"
91.1Sglass
101.50Sgwr# Machines to be supported by this kernel
111.15Sgwroptions 	FPU_EMULATE
121.21Sgwroptions 	HAVECACHE		# Sun3/260 VAC
131.3Sglass
141.4Sgwr# Needs to be set per system.  i.e change these as you see fit
151.3Sglassmaxusers	4
161.23Sgwr
171.4Sgwr# Standard system options
181.41Sgwroptions 	KTRACE		# system call tracing
191.41Sgwroptions 	SYSVMSG		# System V message queues
201.41Sgwroptions 	SYSVSEM		# System V semaphores
211.79Sdarcy#options	SEMMNI=10	# number of semaphore identifiers
221.79Sdarcy#options	SEMMNS=60	# number of semaphores in system
231.79Sdarcy#options	SEMUME=10	# max number of undo entries per process
241.79Sdarcy#options	SEMMNU=30	# number of undo structures in system
251.41Sgwroptions 	SYSVSHM		# System V shared memory
261.41Sgwr#options 	SHMMAXPGS=1024	# 1024 pages is the default
271.52Sfairoptions 	LKM		# loadable kernel modules
281.41Sgwr#options 	INSECURE	# disable kernel security level
291.41Sgwr#options 	UCONSOLE	# Allow non-root TIOCCONS
301.30Sthorpej
311.41Sgwr# Which kernel debugger?  Uncomment either this:
321.30Sthorpejoptions 	DDB
331.36Sgwr# ... or these for KGDB (gdb remote target)
341.41Sgwr#makeoptions DEBUG="-g"		# debugging symbols for gdb
351.30Sthorpej#options 	KGDB
361.41Sgwr#options 	KGDBDEV=0x0C01	# ttya=0C00 ttyb=0C01
371.41Sgwr
381.41Sgwr# Other debugging options
391.43Slukem#options 	DDB_HISTORY_SIZE=100	# enable history editing in DDB
401.41Sgwr#options 	DEBUG		# kernel debugging code
411.41Sgwr#options 	DIAGNOSTIC	# extra kernel sanity checking
421.41Sgwr#options 	KMEMSTATS	# kernel memory statistics (vmstat -m)
431.41Sgwr#options 	PMAP_DEBUG
441.41Sgwr#options 	SCSIDEBUG
451.40Smjacob#options 	SCSIVERBOSE		# Verbose SCSI errors
461.1Sglass
471.78Swiz# Compatibility options
481.41Sgwroptions 	COMPAT_SUNOS	# can run SunOS 4.1.1 executables
491.57Skleink#options 	COMPAT_SVR4	# can run SVR4 executables
501.41Sgwroptions 	COMPAT_43	# and 4.3BSD and ...
511.41Sgwroptions 	COMPAT_10	# NetBSD 1.0
521.41Sgwroptions 	COMPAT_11	# NetBSD 1.1
531.41Sgwroptions 	COMPAT_12	# NetBSD 1.2
541.45Skleinkoptions 	COMPAT_13	# NetBSD 1.3
551.59Saugustssoptions 	COMPAT_14	# NetBSD 1.4
561.77Schsoptions 	COMPAT_AOUT_M68K # support for NetBSD a.out executables
571.56Sitohy#options 	COMPAT_LINUX	# can run Linux/m68k executables
581.77Schsoptions 	EXEC_AOUT	# support for a.out executables
591.41Sgwr
601.4Sgwr# Filesystem options
611.41Sgwrfile-system	FFS		# Berkeley Fast Filesystem
621.41Sgwrfile-system	NFS		# Sun NFS client support
631.38Slukemfile-system	CD9660		# ISO 9660 + Rock Ridge file system
641.38Slukemfile-system	FDESC		# /dev/fd/*
651.38Slukemfile-system	KERNFS		# /kern
661.38Slukemfile-system	NULLFS		# loopback file system
671.62Swrstudenfile-system 	OVERLAY		# overlay file system
681.38Slukemfile-system	PROCFS		# /proc
691.38Slukemfile-system	UNION		# union file system
701.38Slukemfile-system	MFS		# memory-based filesystem
711.35Sthorpej
721.30Sthorpejoptions 	NFSSERVER	# nfs server support
731.41Sgwroptions 	QUOTA		# FFS quotas
741.51Sbouyer#options 	FFS_EI		# FFS Endian Independant support
751.69Sfvdloptions 	SOFTDEP         # FFS soft updates support.
761.61Sitojun
771.4Sgwr# Networking options
781.30Sthorpejoptions 	INET		# IP prototol stack support
791.61Sitojunoptions 	INET6		# IPV6
801.61Sitojun#options 	IPSEC		# IP security
811.61Sitojun#options 	IPSEC_ESP	# IP security (encryption part; define w/IPSEC)
821.61Sitojun#options 	IPSEC_DEBUG	# debug for IP security
831.41Sgwroptions 	TCP_COMPAT_42	# compatibility with 4.2BSD TCP/IP
841.38Slukem#options 	GATEWAY		# IP packet forwarding
851.41Sgwr#options 	ISO,TPIP	# OSI networking
861.41Sgwr#options 	EON		# OSI tunneling over IP
871.41Sgwr#options 	CCITT,LLC,HDLC	# X.25
881.58Schristosoptions 	PFIL_HOOKS	# pfil(9) packet filter hooks.
891.41Sgwr
901.41Sgwr# Work-around for root on slow servers (insurance...)
911.12Sgwroptions 	NFS_BOOT_RWSIZE=1024
921.48Sgwroptions 	NFS_BOOT_BOOTPARAM
931.3Sglass
941.35Sthorpejconfig		netbsd root on ? type ?
951.1Sglass
961.49Sgwr# On-board I/O space (required)
971.49Sgwrinclude "arch/sun3/conf/obio.sun3"
981.49Sgwr
991.49Sgwr# On-board memory (optional)
1001.49Sgwr# See frame-buffers
1011.49Sgwrobmem0 at mainbus?
1021.49Sgwr
1031.49Sgwr# VME bus support (optional)
1041.49Sgwr# One unit for each address space
1051.49Sgwrvme0 at mainbus? # A16/D16
1061.49Sgwrvme1 at mainbus? # A16/D32
1071.49Sgwrvme2 at mainbus? # A24/D16
1081.49Sgwrvme3 at mainbus? # A24/D32
1091.49Sgwrvme4 at mainbus? # A32/D16
1101.49Sgwrvme5 at mainbus? # A32/D32
1111.49Sgwr
1121.25Sgwr#
1131.27Sgwr# Serial ports
1141.27Sgwr#
1151.38Slukemzstty0	at zsc1 channel 0	# ttya
1161.38Slukemzstty1	at zsc1 channel 1	# ttyb
1171.27Sgwr
1181.38Slukemkbd0	at zsc0 channel 0	# keyboard
1191.38Slukemms0	at zsc0 channel 1	# mouse
1201.27Sgwr
1211.27Sgwr#
1221.25Sgwr# Network devices
1231.25Sgwr#
1241.16Sgwr
1251.25Sgwr# Intel Ethernet (onboard, or VME)
1261.49Sgwrie0 at obio0 addr 0x0C0000 ipl 3
1271.49Sgwrie1 at vme2  addr 0xe88000 ipl 3 vect 0x75
1281.4Sgwr
1291.25Sgwr# Lance Ethernet (only onboard)
1301.49Sgwrle0 at obio0 addr 0x120000 ipl 3
1311.49Sgwr
1321.49Sgwr# All Sun3 machines with an "le" (3/50, 3/60) should be
1331.49Sgwr# presumed to have the old, buggy LANCE chip. (Rev. C)
1341.49Sgwroptions 	LANCE_REVC_BUG
1351.12Sgwr
1361.25Sgwr#
1371.25Sgwr# Disk and tape devices
1381.25Sgwr#
1391.25Sgwr
1401.25Sgwr# Sun3 "si" SCSI controller (NCR 5380)
1411.37Sgwr# This driver has several flags which may be enabled using
1421.37Sgwr# the "flags" directive.  Valid flags are:
1431.31Sgwr#
1441.37Sgwr# 0x000ff	Set (1<<target) to disable disconnect/reselect
1451.37Sgwr# 0x0ff00	Set (1<<(target+8)) to disable parity checking
1461.37Sgwr# 0x10000	Set this bit to disable DMA interrupts (poll)
1471.37Sgwr# 0x20000	Set this bit to disable DMA entirely (use PIO)
1481.37Sgwr#
1491.37Sgwr# For example: "flags 0x1000f" would disable DMA interrupts,
1501.37Sgwr# and disable disconnect/reselect for targets 0-3
1511.49Sgwrsi0 at obio0 addr 0x140000 ipl 2
1521.49Sgwrsi0 at vme2  addr 0x200000 ipl 2 vect 0x40
1531.49Sgwrsi1 at vme2  addr 0x204000 ipl 2 vect 0x41
1541.49Sgwr
1551.49Sgwr# Xylogics 450/451 controllers (VME A16/D16)
1561.49Sgwrxyc0 at vme0 addr 0xee40 ipl 2 vect 0x48
1571.49Sgwrxyc1 at vme0 addr 0xee48 ipl 2 vect 0x49
1581.41Sgwrxy* at xyc? drive ?
1591.37Sgwr
1601.49Sgwr# Xylogics 7053 controllers (VME A16/D32)
1611.49Sgwrxdc0 at vme1 addr 0xee80 ipl 2 vect 0x44
1621.49Sgwrxdc1 at vme1 addr 0xee90 ipl 2 vect 0x45
1631.41Sgwrxd* at xdc? drive ?
1641.25Sgwr
1651.25Sgwr# Xylogics 472 tape controllers?
1661.25Sgwr
1671.49Sgwr# Sun3/E SCSI+Ethernet board (VME A24/D16)
1681.49Sgwr# Note: the board uses vect and vect+1
1691.49Sgwrsebuf0 at vme2 addr 0x300000 ipl 2 vect 0x74 # and 0x75
1701.49Sgwrsebuf1 at vme2 addr 0x340000 ipl 2 vect 0x76 # and 0x77
1711.46Sgwrsi* at sebuf?
1721.46Sgwrie* at sebuf?
1731.46Sgwr
1741.46Sgwr#
1751.25Sgwr# Frame buffer devices
1761.25Sgwr#
1771.10Sgwr
1781.50Sgwrinclude "arch/sun3/conf/bw2.sun3"
1791.50Sgwrinclude "arch/sun3/conf/cg4.sun3"
1801.25Sgwr
1811.25Sgwr# 3/60 P4 accelerated 8-bit color frame buffer
1821.50Sgwr# cgsix0 at obmem0 addr 0xff000000
1831.25Sgwr
1841.25Sgwr# 3/60 P4 24-bit color frame buffer
1851.50Sgwr# cgeight0 at obmem0 addr 0xff300000
1861.25Sgwr
1871.49Sgwr# Sun-3 color board, or CG5 8-bit frame buffer (VME A24/D16).
1881.49Sgwrcgtwo0 at vme2 addr 0x400000 ipl 4 vect 0xA8
1891.25Sgwr
1901.49Sgwr# Support for the CG9 24-bit frame buffer (VME A32/D32).
1911.49Sgwr# cgnine0 at vme5 addr 0x08000000 ipl 4 vect 0xAA
1921.25Sgwr
1931.25Sgwr#
1941.25Sgwr# SCSI infrastructure
1951.25Sgwr#
1961.7Sgwrscsibus* at scsi?
1971.14Sgwr
1981.37Sgwrsd* at scsibus? target ? lun ?		# SCSI disks
1991.37Sgwrst* at scsibus? target ? lun ?		# SCSI tapes
2001.37Sgwrcd* at scsibus? target ? lun ?		# SCSI CD-ROMs
2011.37Sgwrch* at scsibus? target ? lun ?		# SCSI changer devices
2021.37Sgwrss* at scsibus? target ? lun ?		# SCSI scanners
2031.37Sgwruk* at scsibus? target ? lun ?		# unknown SCSI devices
2041.24Sgwr
2051.33Spk# Memory-disk drivers
2061.38Slukempseudo-device	md		2
2071.1Sglass
2081.25Sgwr# Misc.
2091.38Slukempseudo-device	loop		1	# network loopback
2101.38Slukempseudo-device	bpfilter	8	# packet filter
2111.38Slukempseudo-device	sl		2	# CSLIP
2121.38Slukempseudo-device	ppp		2	# PPP
2131.38Slukempseudo-device	tun		2	# network tunneling over tty
2141.55Shwr#pseudo-device	gre		2	# generic L3 over IP tunnel
2151.37Sgwr#pseudo-device	ipfilter		# ip filter
2161.61Sitojunpseudo-device	gif		4	# IPv[46] over IPv[46] tunnel (RFC1933)
2171.61Sitojun#pseudo-device	faith		1	# IPv[46] tcp relay translation i/f
2181.66Sitojun#pseudo-device	stf		1	# 6to4 IPv6 over IPv4 encapsulation
2191.75Sbouyerpseudo-device	vlan			# IEEE 802.1q encapsulation
2201.74Sitojunpseudo-device	rnd			# /dev/random and in-kernel generator
2211.17Sgwr
2221.73Sjdolecekpseudo-device	pty			# pseudo-terminals
2231.67Stsutsuipseudo-device	vnd		4	# paging to files
2241.38Slukem#pseudo-device	ccd		4	# concatenated disks
2251.54Soster#pseudo-device	raid		4	# RAIDframe disk driver
2261.65Ssimonb#options 	RAID_AUTOCONFIG		# auto-configuration of RAID components
227