KGDB revision 1.2
11.2Smrg#	$NetBSD: KGDB,v 1.2 1996/08/26 23:41:13 mrg Exp $
21.1Sgwr
31.1Sgwr#
41.1Sgwr# GENERIC Sun3 (3/50, 3/60, 3/110, 3/160, 3/260)
51.1Sgwr# Supports root on: ie0, le0, sd*, ...
61.1Sgwr#
71.1Sgwr
81.1Sgwrinclude "std.sun3"
91.1Sgwr
101.1Sgwr# Machines to be supported by this kernel
111.1Sgwroptions 	GENERIC
121.1Sgwroptions 	FPU_EMULATE
131.1Sgwroptions 	HAVECACHE		# Sun3/260 VAC
141.1Sgwr
151.1Sgwr# Needs to be set per system.  i.e change these as you see fit
161.1Sgwrmaxusers	4
171.1Sgwr
181.1Sgwr# Standard system options
191.1Sgwroptions 	SWAPPAGER, VNODEPAGER, DEVPAGER	# paging
201.1Sgwroptions 	KTRACE				# system call tracing support
211.1Sgwrmakeoptions DEBUG="-g"			# symbols for kgdb + nm
221.1Sgwroptions 	KGDB
231.1Sgwr
241.1Sgwr# Filesystem options
251.1Sgwroptions 	NFSSERVER			# nfs server support
261.1Sgwroptions 	NFSCLIENT			# nfs client support
271.1Sgwroptions 	FFS				# ufs file system
281.1Sgwr#
291.1Sgwroptions 	CD9660		# ISO 9660 + Rock Ridge file system
301.1Sgwroptions 	FDESC		# /dev/fd/*
311.1Sgwroptions 	FIFO		# FIFOs; RECOMMENDED
321.1Sgwroptions 	KERNFS		# /kern
331.1Sgwroptions 	NULLFS		# loopback file system
341.1Sgwroptions 	PROCFS		# /proc
351.1Sgwroptions 	UNION		# union file system
361.1Sgwr
371.1Sgwr# Networking options
381.1Sgwroptions 	INET				# IP prototol stack support
391.1Sgwr# XXX - Work-around for root on slow SunOS/Sun3 servers (sigh...)
401.1Sgwroptions 	NFS_BOOT_RWSIZE=1024
411.1Sgwroptions 	LANCE_REVC_BUG	# Sun3 machines have the old, buggy LANCE
421.1Sgwr
431.1Sgwr# Compatability options
441.1Sgwroptions 	COMPAT_SUNOS	# can run SunOS 4.1.1 executables
451.1Sgwr#options 	COMPAT_09	# NetBSD 0.9,
461.1Sgwroptions 	COMPAT_10	# NetBSD 1.0,
471.1Sgwroptions 	COMPAT_11	# NetBSD 1.1,
481.2Smrgoptions		COMPAT_12	# NetBSD 1.2,
491.1Sgwroptions 	COMPAT_43	# and 4.3BSD
501.1Sgwroptions 	TCP_COMPAT_42	# TCP bug compatibility with 4.2BSD
511.1Sgwroptions 	UCONSOLE	# Allow non-root TIOCCONS
521.1Sgwr
531.1Sgwr# Sun3-specific debugging options
541.1Sgwroptions 	PMAP_DEBUG
551.1Sgwr#options 	VMFAULT_TRACE
561.1Sgwr#options 	SYSCALL_DEBUG
571.1Sgwr#options 	EXEC_DEBUG
581.1Sgwroptions 	DIAGNOSTIC
591.1Sgwr#options 	SCSIDEBUG
601.1Sgwroptions 	NCR5380_DEBUG
611.1Sgwr
621.1Sgwrconfig		netbsd swap generic
631.1Sgwr
641.1Sgwr#
651.1Sgwr# Serial ports
661.1Sgwr#
671.1Sgwrzstty0 at zsc1 channel 0	# ttya
681.1Sgwrzstty1 at zsc1 channel 1	# ttyb
691.1Sgwr
701.1Sgwrkbd0   at zsc0 channel 0	# keyboard
711.1Sgwrms0    at zsc0 channel 1	# mouse
721.1Sgwr
731.1Sgwr#
741.1Sgwr# Network devices
751.1Sgwr#
761.1Sgwr
771.1Sgwr# Intel Ethernet (onboard, or VME)
781.1Sgwrie0 at obio0 addr ? level ?
791.1Sgwrie1 at vmes0 addr 0xffe88000 level 3 vect 0x75
801.1Sgwr
811.1Sgwr# Lance Ethernet (only onboard)
821.1Sgwrle0 at obio0 addr ? level ?
831.1Sgwr
841.1Sgwr#
851.1Sgwr# Disk and tape devices
861.1Sgwr#
871.1Sgwr
881.1Sgwr# Sun3 "si" SCSI controller (NCR 5380)
891.1Sgwrsi0 at obio0 addr ? level ?
901.1Sgwrsi0 at vmes0 addr 0xff200000 level 2 vect 0x40
911.1Sgwrsi1 at vmes0 addr 0xff204000 level 2 vect 0x41
921.1Sgwr
931.1Sgwr# Xylogics 7053 controllers
941.1Sgwr# xdc0 at vmel0 addr 0xffffee80 level 2 vect 0x44
951.1Sgwr# xdc1 at vmel0 addr 0xffffee90 level 2 vect 0x45
961.1Sgwr# xd* at xdc? drive ?
971.1Sgwr
981.1Sgwr# Xylogics 450/451 controllers
991.1Sgwr# xyc0 at vmes0 addr 0xffffee40 level 2 vect 0x48
1001.1Sgwr# xyc1 at vmes0 addr 0xffffee48 level 2 vect 0x49
1011.1Sgwr# xy* at xyc? drive ?
1021.1Sgwr
1031.1Sgwr# Xylogics 472 tape controllers?
1041.1Sgwr
1051.1Sgwr#
1061.1Sgwr# Frame buffer devices
1071.1Sgwr#
1081.1Sgwr
1091.1Sgwr# The default cgfour address depends on the machine:
1101.1Sgwr# 3/60: obmem 0xFF200000 .. 0xFF9fffff
1111.1Sgwr# 3/110: different? (not tested)
1121.1Sgwrcgfour0 at obmem0 addr ?
1131.1Sgwr
1141.1Sgwr# 3/60 P4 accelerated 8-bit color frame buffer
1151.1Sgwr# cgsix0 at obmem0 addr ?
1161.1Sgwr
1171.1Sgwr# 3/60 P4 24-bit color frame buffer
1181.1Sgwr# cgeight0 at obmem0 addr ?
1191.1Sgwr
1201.1Sgwr# The default bwtwo address depends on the machine:
1211.1Sgwr# 3/50: obmem   0x100000
1221.1Sgwr# else: obmem 0xff000000
1231.1Sgwrbwtwo0 at obmem0 addr ?
1241.1Sgwr# 3/60 P4 color frame buffer overlay plane, or P4 monochrome frame buffer
1251.1Sgwr#bwtwo1 at obmem0 addr 0xff300000
1261.1Sgwr# 3/60 plug-in color frame buffer overlay plane
1271.1Sgwr#bwtwo1 at obmem0 addr 0xff400000
1281.1Sgwr
1291.1Sgwr# Sun-3 color board, or CG5 8-bit VME frame buffer.
1301.1Sgwrcgtwo0 at vmes0 addr 0xff400000 level 4 vect 0xA8
1311.1Sgwr
1321.1Sgwr# Support for the CG9 24-bit VME frame buffer.
1331.1Sgwr# cgnine0 at vmel0 addr 0x08000000
1341.1Sgwr
1351.1Sgwr#
1361.1Sgwr# SCSI infrastructure
1371.1Sgwr#
1381.1Sgwrscsibus* at scsi?
1391.1Sgwr
1401.1Sgwr# Sun compatible scsi device mappings
1411.1Sgwrsd0 at scsibus? target 0 lun 0
1421.1Sgwrsd1 at scsibus? target 0 lun 1
1431.1Sgwrsd2 at scsibus? target 1 lun 0
1441.1Sgwrsd3 at scsibus? target 1 lun 1
1451.1Sgwrsd* at scsibus? target ? lun ?
1461.1Sgwr
1471.1Sgwrst0 at scsibus? target 4 lun 0
1481.1Sgwrst1 at scsibus? target 5 lun 0
1491.1Sgwrst* at scsibus? target ? lun ?
1501.1Sgwr
1511.1Sgwrcd0 at scsibus? target 6 lun 0
1521.1Sgwrcd* at scsibus? target ? lun ?
1531.1Sgwr
1541.1Sgwr#ch* at scsibus? target ? lun ?
1551.1Sgwr
1561.1Sgwr# RAM-disk drivers
1571.1Sgwrpseudo-device	rd	2
1581.1Sgwr
1591.1Sgwr# Misc.
1601.1Sgwrpseudo-device	loop	1		# network loopback
1611.1Sgwrpseudo-device	bpfilter 8		# packet filter
1621.1Sgwrpseudo-device	sl	2		# CSLIP
1631.1Sgwrpseudo-device	ppp	2		# PPP
1641.1Sgwrpseudo-device	tun	2		# network tunneling over tty
1651.1Sgwr
1661.1Sgwrpseudo-device	pty	64		# pseudo-terminals
1671.1Sgwr#pseudo-device	vnd	4		# paging to files
168