GENERIC revision 1.78
11.78Swiz# $NetBSD: GENERIC,v 1.78 2001/06/11 01:50:55 wiz 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.78Swiz#ident 		"GENERIC-$Revision: 1.78 $"
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.78Swiz# Compatibility 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.77Schsoptions 	COMPAT_AOUT_M68K # support for NetBSD a.out executables
531.56Sitohy#options 	COMPAT_LINUX	# can run Linux/m68k executables
541.77Schsoptions 	EXEC_AOUT	# support for a.out executables
551.41Sgwr
561.4Sgwr# Filesystem options
571.41Sgwrfile-system	FFS		# Berkeley Fast Filesystem
581.41Sgwrfile-system	NFS		# Sun NFS client support
591.38Slukemfile-system	CD9660		# ISO 9660 + Rock Ridge file system
601.38Slukemfile-system	FDESC		# /dev/fd/*
611.38Slukemfile-system	KERNFS		# /kern
621.38Slukemfile-system	NULLFS		# loopback file system
631.62Swrstudenfile-system 	OVERLAY		# overlay file system
641.38Slukemfile-system	PROCFS		# /proc
651.38Slukemfile-system	UNION		# union file system
661.38Slukemfile-system	MFS		# memory-based filesystem
671.35Sthorpej
681.30Sthorpejoptions 	NFSSERVER	# nfs server support
691.41Sgwroptions 	QUOTA		# FFS quotas
701.51Sbouyer#options 	FFS_EI		# FFS Endian Independant support
711.69Sfvdloptions 	SOFTDEP         # FFS soft updates support.
721.61Sitojun
731.4Sgwr# Networking options
741.30Sthorpejoptions 	INET		# IP prototol stack support
751.61Sitojunoptions 	INET6		# IPV6
761.61Sitojun#options 	IPSEC		# IP security
771.61Sitojun#options 	IPSEC_ESP	# IP security (encryption part; define w/IPSEC)
781.61Sitojun#options 	IPSEC_DEBUG	# debug for IP security
791.41Sgwroptions 	TCP_COMPAT_42	# compatibility with 4.2BSD TCP/IP
801.38Slukem#options 	GATEWAY		# IP packet forwarding
811.41Sgwr#options 	ISO,TPIP	# OSI networking
821.41Sgwr#options 	EON		# OSI tunneling over IP
831.41Sgwr#options 	CCITT,LLC,HDLC	# X.25
841.58Schristosoptions 	PFIL_HOOKS	# pfil(9) packet filter hooks.
851.41Sgwr
861.41Sgwr# Work-around for root on slow servers (insurance...)
871.12Sgwroptions 	NFS_BOOT_RWSIZE=1024
881.48Sgwroptions 	NFS_BOOT_BOOTPARAM
891.3Sglass
901.35Sthorpejconfig		netbsd root on ? type ?
911.1Sglass
921.49Sgwr# On-board I/O space (required)
931.49Sgwrinclude "arch/sun3/conf/obio.sun3"
941.49Sgwr
951.49Sgwr# On-board memory (optional)
961.49Sgwr# See frame-buffers
971.49Sgwrobmem0 at mainbus?
981.49Sgwr
991.49Sgwr# VME bus support (optional)
1001.49Sgwr# One unit for each address space
1011.49Sgwrvme0 at mainbus? # A16/D16
1021.49Sgwrvme1 at mainbus? # A16/D32
1031.49Sgwrvme2 at mainbus? # A24/D16
1041.49Sgwrvme3 at mainbus? # A24/D32
1051.49Sgwrvme4 at mainbus? # A32/D16
1061.49Sgwrvme5 at mainbus? # A32/D32
1071.49Sgwr
1081.25Sgwr#
1091.27Sgwr# Serial ports
1101.27Sgwr#
1111.38Slukemzstty0	at zsc1 channel 0	# ttya
1121.38Slukemzstty1	at zsc1 channel 1	# ttyb
1131.27Sgwr
1141.38Slukemkbd0	at zsc0 channel 0	# keyboard
1151.38Slukemms0	at zsc0 channel 1	# mouse
1161.27Sgwr
1171.27Sgwr#
1181.25Sgwr# Network devices
1191.25Sgwr#
1201.16Sgwr
1211.25Sgwr# Intel Ethernet (onboard, or VME)
1221.49Sgwrie0 at obio0 addr 0x0C0000 ipl 3
1231.49Sgwrie1 at vme2  addr 0xe88000 ipl 3 vect 0x75
1241.4Sgwr
1251.25Sgwr# Lance Ethernet (only onboard)
1261.49Sgwrle0 at obio0 addr 0x120000 ipl 3
1271.49Sgwr
1281.49Sgwr# All Sun3 machines with an "le" (3/50, 3/60) should be
1291.49Sgwr# presumed to have the old, buggy LANCE chip. (Rev. C)
1301.49Sgwroptions 	LANCE_REVC_BUG
1311.12Sgwr
1321.25Sgwr#
1331.25Sgwr# Disk and tape devices
1341.25Sgwr#
1351.25Sgwr
1361.25Sgwr# Sun3 "si" SCSI controller (NCR 5380)
1371.37Sgwr# This driver has several flags which may be enabled using
1381.37Sgwr# the "flags" directive.  Valid flags are:
1391.31Sgwr#
1401.37Sgwr# 0x000ff	Set (1<<target) to disable disconnect/reselect
1411.37Sgwr# 0x0ff00	Set (1<<(target+8)) to disable parity checking
1421.37Sgwr# 0x10000	Set this bit to disable DMA interrupts (poll)
1431.37Sgwr# 0x20000	Set this bit to disable DMA entirely (use PIO)
1441.37Sgwr#
1451.37Sgwr# For example: "flags 0x1000f" would disable DMA interrupts,
1461.37Sgwr# and disable disconnect/reselect for targets 0-3
1471.49Sgwrsi0 at obio0 addr 0x140000 ipl 2
1481.49Sgwrsi0 at vme2  addr 0x200000 ipl 2 vect 0x40
1491.49Sgwrsi1 at vme2  addr 0x204000 ipl 2 vect 0x41
1501.49Sgwr
1511.49Sgwr# Xylogics 450/451 controllers (VME A16/D16)
1521.49Sgwrxyc0 at vme0 addr 0xee40 ipl 2 vect 0x48
1531.49Sgwrxyc1 at vme0 addr 0xee48 ipl 2 vect 0x49
1541.41Sgwrxy* at xyc? drive ?
1551.37Sgwr
1561.49Sgwr# Xylogics 7053 controllers (VME A16/D32)
1571.49Sgwrxdc0 at vme1 addr 0xee80 ipl 2 vect 0x44
1581.49Sgwrxdc1 at vme1 addr 0xee90 ipl 2 vect 0x45
1591.41Sgwrxd* at xdc? drive ?
1601.25Sgwr
1611.25Sgwr# Xylogics 472 tape controllers?
1621.25Sgwr
1631.49Sgwr# Sun3/E SCSI+Ethernet board (VME A24/D16)
1641.49Sgwr# Note: the board uses vect and vect+1
1651.49Sgwrsebuf0 at vme2 addr 0x300000 ipl 2 vect 0x74 # and 0x75
1661.49Sgwrsebuf1 at vme2 addr 0x340000 ipl 2 vect 0x76 # and 0x77
1671.46Sgwrsi* at sebuf?
1681.46Sgwrie* at sebuf?
1691.46Sgwr
1701.46Sgwr#
1711.25Sgwr# Frame buffer devices
1721.25Sgwr#
1731.10Sgwr
1741.50Sgwrinclude "arch/sun3/conf/bw2.sun3"
1751.50Sgwrinclude "arch/sun3/conf/cg4.sun3"
1761.25Sgwr
1771.25Sgwr# 3/60 P4 accelerated 8-bit color frame buffer
1781.50Sgwr# cgsix0 at obmem0 addr 0xff000000
1791.25Sgwr
1801.25Sgwr# 3/60 P4 24-bit color frame buffer
1811.50Sgwr# cgeight0 at obmem0 addr 0xff300000
1821.25Sgwr
1831.49Sgwr# Sun-3 color board, or CG5 8-bit frame buffer (VME A24/D16).
1841.49Sgwrcgtwo0 at vme2 addr 0x400000 ipl 4 vect 0xA8
1851.25Sgwr
1861.49Sgwr# Support for the CG9 24-bit frame buffer (VME A32/D32).
1871.49Sgwr# cgnine0 at vme5 addr 0x08000000 ipl 4 vect 0xAA
1881.25Sgwr
1891.25Sgwr#
1901.25Sgwr# SCSI infrastructure
1911.25Sgwr#
1921.7Sgwrscsibus* at scsi?
1931.14Sgwr
1941.37Sgwrsd* at scsibus? target ? lun ?		# SCSI disks
1951.37Sgwrst* at scsibus? target ? lun ?		# SCSI tapes
1961.37Sgwrcd* at scsibus? target ? lun ?		# SCSI CD-ROMs
1971.37Sgwrch* at scsibus? target ? lun ?		# SCSI changer devices
1981.37Sgwrss* at scsibus? target ? lun ?		# SCSI scanners
1991.37Sgwruk* at scsibus? target ? lun ?		# unknown SCSI devices
2001.24Sgwr
2011.33Spk# Memory-disk drivers
2021.38Slukempseudo-device	md		2
2031.1Sglass
2041.25Sgwr# Misc.
2051.38Slukempseudo-device	loop		1	# network loopback
2061.38Slukempseudo-device	bpfilter	8	# packet filter
2071.38Slukempseudo-device	sl		2	# CSLIP
2081.38Slukempseudo-device	ppp		2	# PPP
2091.38Slukempseudo-device	tun		2	# network tunneling over tty
2101.55Shwr#pseudo-device	gre		2	# generic L3 over IP tunnel
2111.37Sgwr#pseudo-device	ipfilter		# ip filter
2121.61Sitojunpseudo-device	gif		4	# IPv[46] over IPv[46] tunnel (RFC1933)
2131.61Sitojun#pseudo-device	faith		1	# IPv[46] tcp relay translation i/f
2141.66Sitojun#pseudo-device	stf		1	# 6to4 IPv6 over IPv4 encapsulation
2151.75Sbouyerpseudo-device	vlan			# IEEE 802.1q encapsulation
2161.74Sitojunpseudo-device	rnd			# /dev/random and in-kernel generator
2171.17Sgwr
2181.73Sjdolecekpseudo-device	pty			# pseudo-terminals
2191.67Stsutsuipseudo-device	vnd		4	# paging to files
2201.38Slukem#pseudo-device	ccd		4	# concatenated disks
2211.54Soster#pseudo-device	raid		4	# RAIDframe disk driver
2221.65Ssimonb#options 	RAID_AUTOCONFIG		# auto-configuration of RAID components
223