GENERIC revision 1.62
11.62Swrstuden# $NetBSD: GENERIC,v 1.62 2000/01/20 19:12:36 wrstuden 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.1Sglass
81.50Sgwr# Machines to be supported by this kernel
91.15Sgwroptions 	FPU_EMULATE
101.21Sgwroptions 	HAVECACHE		# Sun3/260 VAC
111.3Sglass
121.4Sgwr# Needs to be set per system.  i.e change these as you see fit
131.3Sglassmaxusers	4
141.23Sgwr
151.4Sgwr# Standard system options
161.41Sgwroptions 	KTRACE		# system call tracing
171.41Sgwroptions 	SYSVMSG		# System V message queues
181.41Sgwroptions 	SYSVSEM		# System V semaphores
191.41Sgwroptions 	SYSVSHM		# System V shared memory
201.41Sgwr#options 	SHMMAXPGS=1024	# 1024 pages is the default
211.52Sfairoptions 	LKM		# loadable kernel modules
221.41Sgwr#options 	INSECURE	# disable kernel security level
231.41Sgwr#options 	UCONSOLE	# Allow non-root TIOCCONS
241.30Sthorpej
251.41Sgwr# Which kernel debugger?  Uncomment either this:
261.30Sthorpejoptions 	DDB
271.36Sgwr# ... or these for KGDB (gdb remote target)
281.41Sgwr#makeoptions DEBUG="-g"		# debugging symbols for gdb
291.30Sthorpej#options 	KGDB
301.41Sgwr#options 	KGDBDEV=0x0C01	# ttya=0C00 ttyb=0C01
311.41Sgwr
321.41Sgwr# Other debugging options
331.43Slukem#options 	DDB_HISTORY_SIZE=100	# enable history editing in DDB
341.41Sgwr#options 	DEBUG		# kernel debugging code
351.41Sgwr#options 	DIAGNOSTIC	# extra kernel sanity checking
361.41Sgwr#options 	KMEMSTATS	# kernel memory statistics (vmstat -m)
371.41Sgwr#options 	PMAP_DEBUG
381.41Sgwr#options 	SCSIDEBUG
391.40Smjacob#options 	SCSIVERBOSE		# Verbose SCSI errors
401.1Sglass
411.41Sgwr# Compatability options
421.41Sgwroptions 	COMPAT_SUNOS	# can run SunOS 4.1.1 executables
431.57Skleink#options 	COMPAT_SVR4	# can run SVR4 executables
441.41Sgwroptions 	COMPAT_43	# and 4.3BSD and ...
451.41Sgwroptions 	COMPAT_10	# NetBSD 1.0
461.41Sgwroptions 	COMPAT_11	# NetBSD 1.1
471.41Sgwroptions 	COMPAT_12	# NetBSD 1.2
481.45Skleinkoptions 	COMPAT_13	# NetBSD 1.3
491.59Saugustssoptions 	COMPAT_14	# NetBSD 1.4
501.56Sitohy#options 	COMPAT_LINUX	# can run Linux/m68k executables
511.57Skleink#options 	EXEC_ELF32	# 32-bit ELF executables (Linux, SVR4)
521.41Sgwr
531.4Sgwr# Filesystem options
541.41Sgwrfile-system	FFS		# Berkeley Fast Filesystem
551.41Sgwrfile-system	NFS		# Sun NFS client support
561.38Slukemfile-system	CD9660		# ISO 9660 + Rock Ridge file system
571.38Slukemfile-system	FDESC		# /dev/fd/*
581.38Slukemfile-system	KERNFS		# /kern
591.38Slukemfile-system	NULLFS		# loopback file system
601.62Swrstudenfile-system 	OVERLAY		# overlay file system
611.38Slukemfile-system	PROCFS		# /proc
621.38Slukemfile-system	UNION		# union file system
631.38Slukemfile-system	MFS		# memory-based filesystem
641.35Sthorpej
651.30Sthorpejoptions 	NFSSERVER	# nfs server support
661.41Sgwroptions 	QUOTA		# FFS quotas
671.51Sbouyer#options 	FFS_EI		# FFS Endian Independant support
681.60Sfvdl#options 	SOFTDEP         # FFS soft updates support.
691.4Sgwr
701.61Sitojun# Pull in config fragments for kernel crypto.  This is required for
711.61Sitojun# options IPSEC etc. to work. If you want to run with IPSEC, uncomment
721.61Sitojun# one of these, based on whether you use crypto-us or crypto-intl, and
731.61Sitojun# adjust the prefixes as necessary.
741.61Sitojun
751.61Sitojun#prefix ../crypto-us/sys
761.61Sitojun#cinclude "conf/files.crypto-us"
771.61Sitojun#prefix
781.61Sitojun
791.61Sitojun#prefix ../crypto-intl/sys
801.61Sitojun#cinclude "conf/files.crypto-intl"
811.61Sitojun#prefix
821.61Sitojun
831.4Sgwr# Networking options
841.30Sthorpejoptions 	INET		# IP prototol stack support
851.61Sitojunoptions 	INET6		# IPV6
861.61Sitojun#options 	IPSEC		# IP security
871.61Sitojun#options 	IPSEC_ESP	# IP security (encryption part; define w/IPSEC)
881.61Sitojun#options 	IPSEC_DEBUG	# debug for IP security
891.41Sgwroptions 	TCP_COMPAT_42	# compatibility with 4.2BSD TCP/IP
901.38Slukem#options 	GATEWAY		# IP packet forwarding
911.41Sgwr#options 	ISO,TPIP	# OSI networking
921.41Sgwr#options 	EON		# OSI tunneling over IP
931.41Sgwr#options 	CCITT,LLC,HDLC	# X.25
941.58Schristosoptions 	PFIL_HOOKS	# pfil(9) packet filter hooks.
951.41Sgwr
961.41Sgwr# Work-around for root on slow servers (insurance...)
971.12Sgwroptions 	NFS_BOOT_RWSIZE=1024
981.48Sgwroptions 	NFS_BOOT_BOOTPARAM
991.3Sglass
1001.35Sthorpejconfig		netbsd root on ? type ?
1011.1Sglass
1021.49Sgwr# On-board I/O space (required)
1031.49Sgwrinclude "arch/sun3/conf/obio.sun3"
1041.49Sgwr
1051.49Sgwr# On-board memory (optional)
1061.49Sgwr# See frame-buffers
1071.49Sgwrobmem0 at mainbus?
1081.49Sgwr
1091.49Sgwr# VME bus support (optional)
1101.49Sgwr# One unit for each address space
1111.49Sgwrvme0 at mainbus? # A16/D16
1121.49Sgwrvme1 at mainbus? # A16/D32
1131.49Sgwrvme2 at mainbus? # A24/D16
1141.49Sgwrvme3 at mainbus? # A24/D32
1151.49Sgwrvme4 at mainbus? # A32/D16
1161.49Sgwrvme5 at mainbus? # A32/D32
1171.49Sgwr
1181.25Sgwr#
1191.27Sgwr# Serial ports
1201.27Sgwr#
1211.38Slukemzstty0	at zsc1 channel 0	# ttya
1221.38Slukemzstty1	at zsc1 channel 1	# ttyb
1231.27Sgwr
1241.38Slukemkbd0	at zsc0 channel 0	# keyboard
1251.38Slukemms0	at zsc0 channel 1	# mouse
1261.27Sgwr
1271.27Sgwr#
1281.25Sgwr# Network devices
1291.25Sgwr#
1301.16Sgwr
1311.25Sgwr# Intel Ethernet (onboard, or VME)
1321.49Sgwrie0 at obio0 addr 0x0C0000 ipl 3
1331.49Sgwrie1 at vme2  addr 0xe88000 ipl 3 vect 0x75
1341.4Sgwr
1351.25Sgwr# Lance Ethernet (only onboard)
1361.49Sgwrle0 at obio0 addr 0x120000 ipl 3
1371.49Sgwr
1381.49Sgwr# All Sun3 machines with an "le" (3/50, 3/60) should be
1391.49Sgwr# presumed to have the old, buggy LANCE chip. (Rev. C)
1401.49Sgwroptions 	LANCE_REVC_BUG
1411.12Sgwr
1421.25Sgwr#
1431.25Sgwr# Disk and tape devices
1441.25Sgwr#
1451.25Sgwr
1461.25Sgwr# Sun3 "si" SCSI controller (NCR 5380)
1471.37Sgwr# This driver has several flags which may be enabled using
1481.37Sgwr# the "flags" directive.  Valid flags are:
1491.31Sgwr#
1501.37Sgwr# 0x000ff	Set (1<<target) to disable disconnect/reselect
1511.37Sgwr# 0x0ff00	Set (1<<(target+8)) to disable parity checking
1521.37Sgwr# 0x10000	Set this bit to disable DMA interrupts (poll)
1531.37Sgwr# 0x20000	Set this bit to disable DMA entirely (use PIO)
1541.37Sgwr#
1551.37Sgwr# For example: "flags 0x1000f" would disable DMA interrupts,
1561.37Sgwr# and disable disconnect/reselect for targets 0-3
1571.49Sgwrsi0 at obio0 addr 0x140000 ipl 2
1581.49Sgwrsi0 at vme2  addr 0x200000 ipl 2 vect 0x40
1591.49Sgwrsi1 at vme2  addr 0x204000 ipl 2 vect 0x41
1601.49Sgwr
1611.49Sgwr# Xylogics 450/451 controllers (VME A16/D16)
1621.49Sgwrxyc0 at vme0 addr 0xee40 ipl 2 vect 0x48
1631.49Sgwrxyc1 at vme0 addr 0xee48 ipl 2 vect 0x49
1641.41Sgwrxy* at xyc? drive ?
1651.37Sgwr
1661.49Sgwr# Xylogics 7053 controllers (VME A16/D32)
1671.49Sgwrxdc0 at vme1 addr 0xee80 ipl 2 vect 0x44
1681.49Sgwrxdc1 at vme1 addr 0xee90 ipl 2 vect 0x45
1691.41Sgwrxd* at xdc? drive ?
1701.25Sgwr
1711.25Sgwr# Xylogics 472 tape controllers?
1721.25Sgwr
1731.49Sgwr# Sun3/E SCSI+Ethernet board (VME A24/D16)
1741.49Sgwr# Note: the board uses vect and vect+1
1751.49Sgwrsebuf0 at vme2 addr 0x300000 ipl 2 vect 0x74 # and 0x75
1761.49Sgwrsebuf1 at vme2 addr 0x340000 ipl 2 vect 0x76 # and 0x77
1771.46Sgwrsi* at sebuf?
1781.46Sgwrie* at sebuf?
1791.46Sgwr
1801.46Sgwr#
1811.25Sgwr# Frame buffer devices
1821.25Sgwr#
1831.10Sgwr
1841.50Sgwrinclude "arch/sun3/conf/bw2.sun3"
1851.50Sgwrinclude "arch/sun3/conf/cg4.sun3"
1861.25Sgwr
1871.25Sgwr# 3/60 P4 accelerated 8-bit color frame buffer
1881.50Sgwr# cgsix0 at obmem0 addr 0xff000000
1891.25Sgwr
1901.25Sgwr# 3/60 P4 24-bit color frame buffer
1911.50Sgwr# cgeight0 at obmem0 addr 0xff300000
1921.25Sgwr
1931.49Sgwr# Sun-3 color board, or CG5 8-bit frame buffer (VME A24/D16).
1941.49Sgwrcgtwo0 at vme2 addr 0x400000 ipl 4 vect 0xA8
1951.25Sgwr
1961.49Sgwr# Support for the CG9 24-bit frame buffer (VME A32/D32).
1971.49Sgwr# cgnine0 at vme5 addr 0x08000000 ipl 4 vect 0xAA
1981.25Sgwr
1991.25Sgwr#
2001.25Sgwr# SCSI infrastructure
2011.25Sgwr#
2021.7Sgwrscsibus* at scsi?
2031.14Sgwr
2041.37Sgwrsd* at scsibus? target ? lun ?		# SCSI disks
2051.37Sgwrst* at scsibus? target ? lun ?		# SCSI tapes
2061.37Sgwrcd* at scsibus? target ? lun ?		# SCSI CD-ROMs
2071.37Sgwrch* at scsibus? target ? lun ?		# SCSI changer devices
2081.37Sgwrss* at scsibus? target ? lun ?		# SCSI scanners
2091.37Sgwruk* at scsibus? target ? lun ?		# unknown SCSI devices
2101.24Sgwr
2111.33Spk# Memory-disk drivers
2121.38Slukempseudo-device	md		2
2131.1Sglass
2141.25Sgwr# Misc.
2151.38Slukempseudo-device	loop		1	# network loopback
2161.38Slukempseudo-device	bpfilter	8	# packet filter
2171.38Slukempseudo-device	sl		2	# CSLIP
2181.38Slukempseudo-device	ppp		2	# PPP
2191.38Slukempseudo-device	tun		2	# network tunneling over tty
2201.55Shwr#pseudo-device	gre		2	# generic L3 over IP tunnel
2211.37Sgwr#pseudo-device	ipfilter		# ip filter
2221.61Sitojunpseudo-device	gif		4	# IPv[46] over IPv[46] tunnel (RFC1933)
2231.61Sitojun#pseudo-device	faith		1	# IPv[46] tcp relay translation i/f
2241.44Sfair# rnd is EXPERIMENTAL
2251.44Sfair#pseudo-device	rnd			# /dev/random and in-kernel generator
2261.17Sgwr
2271.49Sgwrpseudo-device	pty		32	# pseudo-terminals
2281.38Slukem#pseudo-device	vnd		4	# paging to files
2291.38Slukem#pseudo-device	ccd		4	# concatenated disks
2301.54Soster#pseudo-device	raid		4	# RAIDframe disk driver
231