GENERIC revision 1.47
11.47Sgwr# $NetBSD: GENERIC,v 1.47 1998/01/22 23:00:25 gwr Exp $
21.9Sgwr
31.21Sgwr# GENERIC Sun3 (3/50, 3/60, 3/110, 3/160, 3/260)
41.21Sgwr# Supports root on: ie0, le0, sd*, ...
51.1Sglass
61.29Sjtcinclude "arch/sun3/conf/std.sun3"
71.1Sglass
81.4Sgwr# 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.41Sgwr#options 	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.41Sgwroptions 	COMPAT_43	# and 4.3BSD and ...
441.41Sgwroptions 	COMPAT_10	# NetBSD 1.0
451.41Sgwroptions 	COMPAT_11	# NetBSD 1.1
461.41Sgwroptions 	COMPAT_12	# NetBSD 1.2
471.45Skleinkoptions 	COMPAT_13	# NetBSD 1.3
481.41Sgwr
491.4Sgwr# Filesystem options
501.41Sgwrfile-system	FFS		# Berkeley Fast Filesystem
511.41Sgwrfile-system	NFS		# Sun NFS client support
521.38Slukemfile-system	CD9660		# ISO 9660 + Rock Ridge file system
531.38Slukemfile-system	FDESC		# /dev/fd/*
541.38Slukemfile-system	KERNFS		# /kern
551.38Slukemfile-system	NULLFS		# loopback file system
561.38Slukemfile-system	PROCFS		# /proc
571.38Slukemfile-system	UNION		# union file system
581.38Slukemfile-system	MFS		# memory-based filesystem
591.35Sthorpej
601.41Sgwroptions 	FIFO		# FIFOs; RECOMMENDED
611.30Sthorpejoptions 	NFSSERVER	# nfs server support
621.41Sgwroptions 	QUOTA		# FFS quotas
631.4Sgwr
641.4Sgwr# Networking options
651.30Sthorpejoptions 	INET		# IP prototol stack support
661.41Sgwroptions 	TCP_COMPAT_42	# compatibility with 4.2BSD TCP/IP
671.38Slukem#options 	GATEWAY		# IP packet forwarding
681.41Sgwr#options 	ISO,TPIP	# OSI networking
691.41Sgwr#options 	EON		# OSI tunneling over IP
701.41Sgwr#options 	CCITT,LLC,HDLC	# X.25
711.41Sgwr#options 	PFIL_HOOKS	# pfil(9) packet filter hooks.
721.41Sgwr
731.41Sgwr# Work-around for root on slow servers (insurance...)
741.12Sgwroptions 	NFS_BOOT_RWSIZE=1024
751.3Sglass
761.35Sthorpejconfig		netbsd root on ? type ?
771.1Sglass
781.25Sgwr#
791.27Sgwr# Serial ports
801.27Sgwr#
811.38Slukemzstty0	at zsc1 channel 0	# ttya
821.38Slukemzstty1	at zsc1 channel 1	# ttyb
831.27Sgwr
841.38Slukemkbd0	at zsc0 channel 0	# keyboard
851.38Slukemms0	at zsc0 channel 1	# mouse
861.27Sgwr
871.27Sgwr#
881.25Sgwr# Network devices
891.25Sgwr#
901.16Sgwr
911.25Sgwr# Intel Ethernet (onboard, or VME)
921.31Sgwrie0 at obio0 addr   0x0C0000 level 3
931.12Sgwrie1 at vmes0 addr 0xffe88000 level 3 vect 0x75
941.4Sgwr
951.25Sgwr# Lance Ethernet (only onboard)
961.31Sgwrle0 at obio0 addr   0x120000 level 3
971.12Sgwr
981.25Sgwr#
991.25Sgwr# Disk and tape devices
1001.25Sgwr#
1011.25Sgwr
1021.25Sgwr# Sun3 "si" SCSI controller (NCR 5380)
1031.37Sgwr# This driver has several flags which may be enabled using
1041.37Sgwr# the "flags" directive.  Valid flags are:
1051.31Sgwr#
1061.37Sgwr# 0x000ff	Set (1<<target) to disable disconnect/reselect
1071.37Sgwr# 0x0ff00	Set (1<<(target+8)) to disable parity checking
1081.37Sgwr# 0x10000	Set this bit to disable DMA interrupts (poll)
1091.37Sgwr# 0x20000	Set this bit to disable DMA entirely (use PIO)
1101.37Sgwr#
1111.37Sgwr# For example: "flags 0x1000f" would disable DMA interrupts,
1121.37Sgwr# and disable disconnect/reselect for targets 0-3
1131.47Sgwrsi0 at obio0 addr   0x140000 level 2
1141.47Sgwrsi0 at vmes0 addr 0xff200000 level 2 vect 0x40
1151.47Sgwrsi1 at vmes0 addr 0xff204000 level 2 vect 0x41
1161.25Sgwr
1171.37Sgwr# Xylogics 450/451 controllers
1181.41Sgwrxyc0 at vmes0 addr 0xffffee40 level 2 vect 0x48
1191.41Sgwrxyc1 at vmes0 addr 0xffffee48 level 2 vect 0x49
1201.41Sgwrxy* at xyc? drive ?
1211.37Sgwr
1221.25Sgwr# Xylogics 7053 controllers
1231.41Sgwrxdc0 at vmel0 addr 0xffffee80 level 2 vect 0x44
1241.41Sgwrxdc1 at vmel0 addr 0xffffee90 level 2 vect 0x45
1251.41Sgwrxd* at xdc? drive ?
1261.25Sgwr
1271.25Sgwr# Xylogics 472 tape controllers?
1281.25Sgwr
1291.25Sgwr#
1301.46Sgwr# Sun3/E stuff
1311.46Sgwr#
1321.46Sgwrsebuf0 at vmes0 addr 0xff300000 level 2 vect 0x74
1331.46Sgwrsebuf1 at vmes0 addr 0xff340000 level 2 vect 0x76
1341.46Sgwrsi* at sebuf?
1351.46Sgwrie* at sebuf?
1361.46Sgwr
1371.46Sgwr#
1381.25Sgwr# Frame buffer devices
1391.25Sgwr#
1401.10Sgwr
1411.25Sgwr# The default cgfour address depends on the machine:
1421.27Sgwr# 3/60: obmem 0xFF200000 .. 0xFF9fffff
1431.25Sgwr# 3/110: different? (not tested)
1441.25Sgwrcgfour0 at obmem0 addr ?
1451.25Sgwr
1461.25Sgwr# 3/60 P4 accelerated 8-bit color frame buffer
1471.25Sgwr# cgsix0 at obmem0 addr ?
1481.25Sgwr
1491.25Sgwr# 3/60 P4 24-bit color frame buffer
1501.25Sgwr# cgeight0 at obmem0 addr ?
1511.25Sgwr
1521.25Sgwr# The default bwtwo address depends on the machine:
1531.27Sgwr# 3/50: obmem   0x100000
1541.27Sgwr# else: obmem 0xff000000
1551.25Sgwrbwtwo0 at obmem0 addr ?
1561.25Sgwr# 3/60 P4 color frame buffer overlay plane, or P4 monochrome frame buffer
1571.25Sgwr#bwtwo1 at obmem0 addr 0xff300000
1581.25Sgwr# 3/60 plug-in color frame buffer overlay plane
1591.25Sgwr#bwtwo1 at obmem0 addr 0xff400000
1601.25Sgwr
1611.25Sgwr# Sun-3 color board, or CG5 8-bit VME frame buffer.
1621.25Sgwrcgtwo0 at vmes0 addr 0xff400000 level 4 vect 0xA8
1631.25Sgwr
1641.25Sgwr# Support for the CG9 24-bit VME frame buffer.
1651.25Sgwr# cgnine0 at vmel0 addr 0x08000000
1661.25Sgwr
1671.25Sgwr#
1681.25Sgwr# SCSI infrastructure
1691.25Sgwr#
1701.7Sgwrscsibus* at scsi?
1711.14Sgwr
1721.37Sgwrsd* at scsibus? target ? lun ?		# SCSI disks
1731.37Sgwrst* at scsibus? target ? lun ?		# SCSI tapes
1741.37Sgwrcd* at scsibus? target ? lun ?		# SCSI CD-ROMs
1751.37Sgwrch* at scsibus? target ? lun ?		# SCSI changer devices
1761.37Sgwrss* at scsibus? target ? lun ?		# SCSI scanners
1771.37Sgwruk* at scsibus? target ? lun ?		# unknown SCSI devices
1781.24Sgwr
1791.33Spk# Memory-disk drivers
1801.38Slukempseudo-device	md		2
1811.1Sglass
1821.25Sgwr# Misc.
1831.38Slukempseudo-device	loop		1	# network loopback
1841.38Slukempseudo-device	bpfilter	8	# packet filter
1851.38Slukempseudo-device	sl		2	# CSLIP
1861.38Slukempseudo-device	ppp		2	# PPP
1871.38Slukempseudo-device	tun		2	# network tunneling over tty
1881.37Sgwr#pseudo-device	ipfilter		# ip filter
1891.44Sfair# rnd is EXPERIMENTAL
1901.44Sfair#pseudo-device	rnd			# /dev/random and in-kernel generator
1911.17Sgwr
1921.38Slukempseudo-device	pty		64	# pseudo-terminals
1931.38Slukem#pseudo-device	vnd		4	# paging to files
1941.38Slukem#pseudo-device	ccd		4	# concatenated disks
195