GENERIC revision 1.73
11.73Sjdolecek# $NetBSD: GENERIC,v 1.73 2000/09/24 15:59:38 jdolecek 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.73Sjdolecek#ident 		"GENERIC-$Revision: 1.73 $"
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.41Sgwroptions 	SYSVSHM		# System V shared memory
221.41Sgwr#options 	SHMMAXPGS=1024	# 1024 pages is the default
231.52Sfairoptions 	LKM		# loadable kernel modules
241.41Sgwr#options 	INSECURE	# disable kernel security level
251.41Sgwr#options 	UCONSOLE	# Allow non-root TIOCCONS
261.30Sthorpej
271.41Sgwr# Which kernel debugger?  Uncomment either this:
281.30Sthorpejoptions 	DDB
291.36Sgwr# ... or these for KGDB (gdb remote target)
301.41Sgwr#makeoptions DEBUG="-g"		# debugging symbols for gdb
311.30Sthorpej#options 	KGDB
321.41Sgwr#options 	KGDBDEV=0x0C01	# ttya=0C00 ttyb=0C01
331.41Sgwr
341.41Sgwr# Other debugging options
351.43Slukem#options 	DDB_HISTORY_SIZE=100	# enable history editing in DDB
361.41Sgwr#options 	DEBUG		# kernel debugging code
371.41Sgwr#options 	DIAGNOSTIC	# extra kernel sanity checking
381.41Sgwr#options 	KMEMSTATS	# kernel memory statistics (vmstat -m)
391.41Sgwr#options 	PMAP_DEBUG
401.41Sgwr#options 	SCSIDEBUG
411.40Smjacob#options 	SCSIVERBOSE		# Verbose SCSI errors
421.1Sglass
431.41Sgwr# Compatability options
441.41Sgwroptions 	COMPAT_SUNOS	# can run SunOS 4.1.1 executables
451.57Skleink#options 	COMPAT_SVR4	# can run SVR4 executables
461.41Sgwroptions 	COMPAT_43	# and 4.3BSD and ...
471.41Sgwroptions 	COMPAT_10	# NetBSD 1.0
481.41Sgwroptions 	COMPAT_11	# NetBSD 1.1
491.41Sgwroptions 	COMPAT_12	# NetBSD 1.2
501.45Skleinkoptions 	COMPAT_13	# NetBSD 1.3
511.59Saugustssoptions 	COMPAT_14	# NetBSD 1.4
521.56Sitohy#options 	COMPAT_LINUX	# can run Linux/m68k executables
531.57Skleink#options 	EXEC_ELF32	# 32-bit ELF executables (Linux, SVR4)
541.41Sgwr
551.4Sgwr# Filesystem options
561.41Sgwrfile-system	FFS		# Berkeley Fast Filesystem
571.41Sgwrfile-system	NFS		# Sun NFS client support
581.38Slukemfile-system	CD9660		# ISO 9660 + Rock Ridge file system
591.38Slukemfile-system	FDESC		# /dev/fd/*
601.38Slukemfile-system	KERNFS		# /kern
611.38Slukemfile-system	NULLFS		# loopback file system
621.62Swrstudenfile-system 	OVERLAY		# overlay file system
631.38Slukemfile-system	PROCFS		# /proc
641.38Slukemfile-system	UNION		# union file system
651.38Slukemfile-system	MFS		# memory-based filesystem
661.35Sthorpej
671.30Sthorpejoptions 	NFSSERVER	# nfs server support
681.41Sgwroptions 	QUOTA		# FFS quotas
691.51Sbouyer#options 	FFS_EI		# FFS Endian Independant support
701.69Sfvdloptions 	SOFTDEP         # FFS soft updates support.
711.61Sitojun
721.4Sgwr# Networking options
731.30Sthorpejoptions 	INET		# IP prototol stack support
741.61Sitojunoptions 	INET6		# IPV6
751.61Sitojun#options 	IPSEC		# IP security
761.61Sitojun#options 	IPSEC_ESP	# IP security (encryption part; define w/IPSEC)
771.61Sitojun#options 	IPSEC_DEBUG	# debug for IP security
781.41Sgwroptions 	TCP_COMPAT_42	# compatibility with 4.2BSD TCP/IP
791.38Slukem#options 	GATEWAY		# IP packet forwarding
801.41Sgwr#options 	ISO,TPIP	# OSI networking
811.41Sgwr#options 	EON		# OSI tunneling over IP
821.41Sgwr#options 	CCITT,LLC,HDLC	# X.25
831.58Schristosoptions 	PFIL_HOOKS	# pfil(9) packet filter hooks.
841.41Sgwr
851.41Sgwr# Work-around for root on slow servers (insurance...)
861.12Sgwroptions 	NFS_BOOT_RWSIZE=1024
871.48Sgwroptions 	NFS_BOOT_BOOTPARAM
881.3Sglass
891.35Sthorpejconfig		netbsd root on ? type ?
901.1Sglass
911.49Sgwr# On-board I/O space (required)
921.49Sgwrinclude "arch/sun3/conf/obio.sun3"
931.49Sgwr
941.49Sgwr# On-board memory (optional)
951.49Sgwr# See frame-buffers
961.49Sgwrobmem0 at mainbus?
971.49Sgwr
981.49Sgwr# VME bus support (optional)
991.49Sgwr# One unit for each address space
1001.49Sgwrvme0 at mainbus? # A16/D16
1011.49Sgwrvme1 at mainbus? # A16/D32
1021.49Sgwrvme2 at mainbus? # A24/D16
1031.49Sgwrvme3 at mainbus? # A24/D32
1041.49Sgwrvme4 at mainbus? # A32/D16
1051.49Sgwrvme5 at mainbus? # A32/D32
1061.49Sgwr
1071.25Sgwr#
1081.27Sgwr# Serial ports
1091.27Sgwr#
1101.38Slukemzstty0	at zsc1 channel 0	# ttya
1111.38Slukemzstty1	at zsc1 channel 1	# ttyb
1121.27Sgwr
1131.38Slukemkbd0	at zsc0 channel 0	# keyboard
1141.38Slukemms0	at zsc0 channel 1	# mouse
1151.27Sgwr
1161.27Sgwr#
1171.25Sgwr# Network devices
1181.25Sgwr#
1191.16Sgwr
1201.25Sgwr# Intel Ethernet (onboard, or VME)
1211.49Sgwrie0 at obio0 addr 0x0C0000 ipl 3
1221.49Sgwrie1 at vme2  addr 0xe88000 ipl 3 vect 0x75
1231.4Sgwr
1241.25Sgwr# Lance Ethernet (only onboard)
1251.49Sgwrle0 at obio0 addr 0x120000 ipl 3
1261.49Sgwr
1271.49Sgwr# All Sun3 machines with an "le" (3/50, 3/60) should be
1281.49Sgwr# presumed to have the old, buggy LANCE chip. (Rev. C)
1291.49Sgwroptions 	LANCE_REVC_BUG
1301.12Sgwr
1311.25Sgwr#
1321.25Sgwr# Disk and tape devices
1331.25Sgwr#
1341.25Sgwr
1351.25Sgwr# Sun3 "si" SCSI controller (NCR 5380)
1361.37Sgwr# This driver has several flags which may be enabled using
1371.37Sgwr# the "flags" directive.  Valid flags are:
1381.31Sgwr#
1391.37Sgwr# 0x000ff	Set (1<<target) to disable disconnect/reselect
1401.37Sgwr# 0x0ff00	Set (1<<(target+8)) to disable parity checking
1411.37Sgwr# 0x10000	Set this bit to disable DMA interrupts (poll)
1421.37Sgwr# 0x20000	Set this bit to disable DMA entirely (use PIO)
1431.37Sgwr#
1441.37Sgwr# For example: "flags 0x1000f" would disable DMA interrupts,
1451.37Sgwr# and disable disconnect/reselect for targets 0-3
1461.49Sgwrsi0 at obio0 addr 0x140000 ipl 2
1471.49Sgwrsi0 at vme2  addr 0x200000 ipl 2 vect 0x40
1481.49Sgwrsi1 at vme2  addr 0x204000 ipl 2 vect 0x41
1491.49Sgwr
1501.49Sgwr# Xylogics 450/451 controllers (VME A16/D16)
1511.49Sgwrxyc0 at vme0 addr 0xee40 ipl 2 vect 0x48
1521.49Sgwrxyc1 at vme0 addr 0xee48 ipl 2 vect 0x49
1531.41Sgwrxy* at xyc? drive ?
1541.37Sgwr
1551.49Sgwr# Xylogics 7053 controllers (VME A16/D32)
1561.49Sgwrxdc0 at vme1 addr 0xee80 ipl 2 vect 0x44
1571.49Sgwrxdc1 at vme1 addr 0xee90 ipl 2 vect 0x45
1581.41Sgwrxd* at xdc? drive ?
1591.25Sgwr
1601.25Sgwr# Xylogics 472 tape controllers?
1611.25Sgwr
1621.49Sgwr# Sun3/E SCSI+Ethernet board (VME A24/D16)
1631.49Sgwr# Note: the board uses vect and vect+1
1641.49Sgwrsebuf0 at vme2 addr 0x300000 ipl 2 vect 0x74 # and 0x75
1651.49Sgwrsebuf1 at vme2 addr 0x340000 ipl 2 vect 0x76 # and 0x77
1661.46Sgwrsi* at sebuf?
1671.46Sgwrie* at sebuf?
1681.46Sgwr
1691.46Sgwr#
1701.25Sgwr# Frame buffer devices
1711.25Sgwr#
1721.10Sgwr
1731.50Sgwrinclude "arch/sun3/conf/bw2.sun3"
1741.50Sgwrinclude "arch/sun3/conf/cg4.sun3"
1751.25Sgwr
1761.25Sgwr# 3/60 P4 accelerated 8-bit color frame buffer
1771.50Sgwr# cgsix0 at obmem0 addr 0xff000000
1781.25Sgwr
1791.25Sgwr# 3/60 P4 24-bit color frame buffer
1801.50Sgwr# cgeight0 at obmem0 addr 0xff300000
1811.25Sgwr
1821.49Sgwr# Sun-3 color board, or CG5 8-bit frame buffer (VME A24/D16).
1831.49Sgwrcgtwo0 at vme2 addr 0x400000 ipl 4 vect 0xA8
1841.25Sgwr
1851.49Sgwr# Support for the CG9 24-bit frame buffer (VME A32/D32).
1861.49Sgwr# cgnine0 at vme5 addr 0x08000000 ipl 4 vect 0xAA
1871.25Sgwr
1881.25Sgwr#
1891.25Sgwr# SCSI infrastructure
1901.25Sgwr#
1911.7Sgwrscsibus* at scsi?
1921.14Sgwr
1931.37Sgwrsd* at scsibus? target ? lun ?		# SCSI disks
1941.37Sgwrst* at scsibus? target ? lun ?		# SCSI tapes
1951.37Sgwrcd* at scsibus? target ? lun ?		# SCSI CD-ROMs
1961.37Sgwrch* at scsibus? target ? lun ?		# SCSI changer devices
1971.37Sgwrss* at scsibus? target ? lun ?		# SCSI scanners
1981.37Sgwruk* at scsibus? target ? lun ?		# unknown SCSI devices
1991.24Sgwr
2001.33Spk# Memory-disk drivers
2011.38Slukempseudo-device	md		2
2021.1Sglass
2031.25Sgwr# Misc.
2041.38Slukempseudo-device	loop		1	# network loopback
2051.38Slukempseudo-device	bpfilter	8	# packet filter
2061.38Slukempseudo-device	sl		2	# CSLIP
2071.38Slukempseudo-device	ppp		2	# PPP
2081.38Slukempseudo-device	tun		2	# network tunneling over tty
2091.55Shwr#pseudo-device	gre		2	# generic L3 over IP tunnel
2101.37Sgwr#pseudo-device	ipfilter		# ip filter
2111.61Sitojunpseudo-device	gif		4	# IPv[46] over IPv[46] tunnel (RFC1933)
2121.61Sitojun#pseudo-device	faith		1	# IPv[46] tcp relay translation i/f
2131.66Sitojun#pseudo-device	stf		1	# 6to4 IPv6 over IPv4 encapsulation
2141.44Sfair# rnd is EXPERIMENTAL
2151.44Sfair#pseudo-device	rnd			# /dev/random and in-kernel generator
2161.17Sgwr
2171.73Sjdolecekpseudo-device	pty			# pseudo-terminals
2181.67Stsutsuipseudo-device	vnd		4	# paging to files
2191.38Slukem#pseudo-device	ccd		4	# concatenated disks
2201.54Soster#pseudo-device	raid		4	# RAIDframe disk driver
2211.65Ssimonb#options 	RAID_AUTOCONFIG		# auto-configuration of RAID components
222