GENERIC revision 1.48
11.48Sgwr# $NetBSD: GENERIC,v 1.48 1998/01/28 16:40:21 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.48Sgwroptions 	NFS_BOOT_BOOTPARAM
761.3Sglass
771.35Sthorpejconfig		netbsd root on ? type ?
781.1Sglass
791.25Sgwr#
801.27Sgwr# Serial ports
811.27Sgwr#
821.38Slukemzstty0	at zsc1 channel 0	# ttya
831.38Slukemzstty1	at zsc1 channel 1	# ttyb
841.27Sgwr
851.38Slukemkbd0	at zsc0 channel 0	# keyboard
861.38Slukemms0	at zsc0 channel 1	# mouse
871.27Sgwr
881.27Sgwr#
891.25Sgwr# Network devices
901.25Sgwr#
911.16Sgwr
921.25Sgwr# Intel Ethernet (onboard, or VME)
931.31Sgwrie0 at obio0 addr   0x0C0000 level 3
941.12Sgwrie1 at vmes0 addr 0xffe88000 level 3 vect 0x75
951.4Sgwr
961.25Sgwr# Lance Ethernet (only onboard)
971.31Sgwrle0 at obio0 addr   0x120000 level 3
981.12Sgwr
991.25Sgwr#
1001.25Sgwr# Disk and tape devices
1011.25Sgwr#
1021.25Sgwr
1031.25Sgwr# Sun3 "si" SCSI controller (NCR 5380)
1041.37Sgwr# This driver has several flags which may be enabled using
1051.37Sgwr# the "flags" directive.  Valid flags are:
1061.31Sgwr#
1071.37Sgwr# 0x000ff	Set (1<<target) to disable disconnect/reselect
1081.37Sgwr# 0x0ff00	Set (1<<(target+8)) to disable parity checking
1091.37Sgwr# 0x10000	Set this bit to disable DMA interrupts (poll)
1101.37Sgwr# 0x20000	Set this bit to disable DMA entirely (use PIO)
1111.37Sgwr#
1121.37Sgwr# For example: "flags 0x1000f" would disable DMA interrupts,
1131.37Sgwr# and disable disconnect/reselect for targets 0-3
1141.47Sgwrsi0 at obio0 addr   0x140000 level 2
1151.47Sgwrsi0 at vmes0 addr 0xff200000 level 2 vect 0x40
1161.47Sgwrsi1 at vmes0 addr 0xff204000 level 2 vect 0x41
1171.25Sgwr
1181.37Sgwr# Xylogics 450/451 controllers
1191.41Sgwrxyc0 at vmes0 addr 0xffffee40 level 2 vect 0x48
1201.41Sgwrxyc1 at vmes0 addr 0xffffee48 level 2 vect 0x49
1211.41Sgwrxy* at xyc? drive ?
1221.37Sgwr
1231.25Sgwr# Xylogics 7053 controllers
1241.41Sgwrxdc0 at vmel0 addr 0xffffee80 level 2 vect 0x44
1251.41Sgwrxdc1 at vmel0 addr 0xffffee90 level 2 vect 0x45
1261.41Sgwrxd* at xdc? drive ?
1271.25Sgwr
1281.25Sgwr# Xylogics 472 tape controllers?
1291.25Sgwr
1301.25Sgwr#
1311.46Sgwr# Sun3/E stuff
1321.46Sgwr#
1331.46Sgwrsebuf0 at vmes0 addr 0xff300000 level 2 vect 0x74
1341.46Sgwrsebuf1 at vmes0 addr 0xff340000 level 2 vect 0x76
1351.46Sgwrsi* at sebuf?
1361.46Sgwrie* at sebuf?
1371.46Sgwr
1381.46Sgwr#
1391.25Sgwr# Frame buffer devices
1401.25Sgwr#
1411.10Sgwr
1421.25Sgwr# The default cgfour address depends on the machine:
1431.27Sgwr# 3/60: obmem 0xFF200000 .. 0xFF9fffff
1441.25Sgwr# 3/110: different? (not tested)
1451.25Sgwrcgfour0 at obmem0 addr ?
1461.25Sgwr
1471.25Sgwr# 3/60 P4 accelerated 8-bit color frame buffer
1481.25Sgwr# cgsix0 at obmem0 addr ?
1491.25Sgwr
1501.25Sgwr# 3/60 P4 24-bit color frame buffer
1511.25Sgwr# cgeight0 at obmem0 addr ?
1521.25Sgwr
1531.25Sgwr# The default bwtwo address depends on the machine:
1541.27Sgwr# 3/50: obmem   0x100000
1551.27Sgwr# else: obmem 0xff000000
1561.25Sgwrbwtwo0 at obmem0 addr ?
1571.25Sgwr# 3/60 P4 color frame buffer overlay plane, or P4 monochrome frame buffer
1581.25Sgwr#bwtwo1 at obmem0 addr 0xff300000
1591.25Sgwr# 3/60 plug-in color frame buffer overlay plane
1601.25Sgwr#bwtwo1 at obmem0 addr 0xff400000
1611.25Sgwr
1621.25Sgwr# Sun-3 color board, or CG5 8-bit VME frame buffer.
1631.25Sgwrcgtwo0 at vmes0 addr 0xff400000 level 4 vect 0xA8
1641.25Sgwr
1651.25Sgwr# Support for the CG9 24-bit VME frame buffer.
1661.25Sgwr# cgnine0 at vmel0 addr 0x08000000
1671.25Sgwr
1681.25Sgwr#
1691.25Sgwr# SCSI infrastructure
1701.25Sgwr#
1711.7Sgwrscsibus* at scsi?
1721.14Sgwr
1731.37Sgwrsd* at scsibus? target ? lun ?		# SCSI disks
1741.37Sgwrst* at scsibus? target ? lun ?		# SCSI tapes
1751.37Sgwrcd* at scsibus? target ? lun ?		# SCSI CD-ROMs
1761.37Sgwrch* at scsibus? target ? lun ?		# SCSI changer devices
1771.37Sgwrss* at scsibus? target ? lun ?		# SCSI scanners
1781.37Sgwruk* at scsibus? target ? lun ?		# unknown SCSI devices
1791.24Sgwr
1801.33Spk# Memory-disk drivers
1811.38Slukempseudo-device	md		2
1821.1Sglass
1831.25Sgwr# Misc.
1841.38Slukempseudo-device	loop		1	# network loopback
1851.38Slukempseudo-device	bpfilter	8	# packet filter
1861.38Slukempseudo-device	sl		2	# CSLIP
1871.38Slukempseudo-device	ppp		2	# PPP
1881.38Slukempseudo-device	tun		2	# network tunneling over tty
1891.37Sgwr#pseudo-device	ipfilter		# ip filter
1901.44Sfair# rnd is EXPERIMENTAL
1911.44Sfair#pseudo-device	rnd			# /dev/random and in-kernel generator
1921.17Sgwr
1931.38Slukempseudo-device	pty		64	# pseudo-terminals
1941.38Slukem#pseudo-device	vnd		4	# paging to files
1951.38Slukem#pseudo-device	ccd		4	# concatenated disks
196