KGDB revision 1.16
1#	$NetBSD: KGDB,v 1.16 1998/01/28 16:40:22 gwr Exp $
2
3# GENERIC_KGDB Sun3 (3/50, 3/60, 3/110, 3/160, 3/260)
4# like GENERIC but supports gdb on other machine, i.e.:
5#	% gdb -k netbsd.gdb
6#	(gdb) set remotebaud 19200
7#	(gdb) target remote /dev/ttyb
8
9include "arch/sun3/conf/std.sun3"
10
11# Machines to be supported by this kernel
12options 	FPU_EMULATE
13options 	HAVECACHE		# Sun3/260 VAC
14
15# Needs to be set per system.  i.e change these as you see fit
16maxusers	4
17
18# Standard system options
19options 	KTRACE		# system call tracing
20options 	SYSVMSG		# System V message queues
21options 	SYSVSEM		# System V semaphores
22options 	SYSVSHM		# System V shared memory
23#options 	SHMMAXPGS=1024	# 1024 pages is the default
24#options 	LKM		# loadable kernel modules
25#options 	INSECURE	# disable kernel security level
26#options 	UCONSOLE	# Allow non-root TIOCCONS
27
28# Which kernel debugger?  Uncomment either this:
29#options 	DDB
30# ... or these for KGDB (gdb remote target)
31makeoptions DEBUG="-g"		# debugging symbols for gdb
32options 	KGDB
33options 	KGDBDEV=0x0C01	# ttya=0C00 ttyb=0C01
34
35# Other debugging options
36#options 	DDB_HISTORY_SIZE=100	# enable history editing in DDB
37options 	DEBUG		# kernel debugging code
38options 	DIAGNOSTIC	# extra kernel sanity checking
39# Note: KMEMSTATS causes horrible performance!
40#options 	KMEMSTATS	# kernel memory statistics (vmstat -m)
41options 	PMAP_DEBUG
42options 	SWAPDEBUG
43#options 	SCSIDEBUG
44#options 	SCSIVERBOSE		# Verbose SCSI errors
45
46# Compatability options
47options 	COMPAT_SUNOS	# can run SunOS 4.1.1 executables
48options 	COMPAT_43	# and 4.3BSD and ...
49options 	COMPAT_10	# NetBSD 1.0
50options 	COMPAT_11	# NetBSD 1.1
51options 	COMPAT_12	# NetBSD 1.2
52options 	COMPAT_13	# NetBSD 1.3
53
54# Filesystem options
55file-system	FFS		# Berkeley Fast Filesystem
56file-system	NFS		# Sun NFS client support
57file-system	CD9660		# ISO 9660 + Rock Ridge file system
58file-system	FDESC		# /dev/fd/*
59file-system	KERNFS		# /kern
60file-system	NULLFS		# loopback file system
61file-system	PROCFS		# /proc
62file-system	UNION		# union file system
63file-system	MFS		# memory-based filesystem
64
65options 	FIFO		# FIFOs; RECOMMENDED
66options 	NFSSERVER	# nfs server support
67options 	QUOTA		# FFS quotas
68
69# Networking options
70options 	INET		# IP prototol stack support
71options 	TCP_COMPAT_42	# compatibility with 4.2BSD TCP/IP
72#options 	GATEWAY		# IP packet forwarding
73#options 	ISO,TPIP	# OSI networking
74#options 	EON		# OSI tunneling over IP
75#options 	CCITT,LLC,HDLC	# X.25
76#options 	PFIL_HOOKS	# pfil(9) packet filter hooks.
77
78# Work-around for root on slow servers (insurance...)
79options 	NFS_BOOT_RWSIZE=1024
80options 	NFS_BOOT_BOOTPARAM
81
82config		netbsd root on ? type ?
83
84#
85# Serial ports
86#
87zstty0	at zsc1 channel 0	# ttya
88zstty1	at zsc1 channel 1	# ttyb
89
90kbd0	at zsc0 channel 0	# keyboard
91ms0	at zsc0 channel 1	# mouse
92
93#
94# Network devices
95#
96
97# Intel Ethernet (onboard, or VME)
98ie0 at obio0 addr   0x0C0000 level 3
99ie1 at vmes0 addr 0xffe88000 level 3 vect 0x75
100
101# Lance Ethernet (only onboard)
102le0 at obio0 addr   0x120000 level 3
103
104#
105# Disk and tape devices
106#
107
108# Sun3 "si" SCSI controller (NCR 5380)
109# See GENERIC for the flags description.
110si0 at obio0 addr   0x140000 level 2
111si0 at vmes0 addr 0xff200000 level 2 vect 0x40
112si1 at vmes0 addr 0xff204000 level 2 vect 0x41
113
114# Xylogics 450/451 controllers
115xyc0 at vmes0 addr 0xffffee40 level 2 vect 0x48
116xyc1 at vmes0 addr 0xffffee48 level 2 vect 0x49
117xy* at xyc? drive ?
118
119# Xylogics 7053 controllers
120xdc0 at vmel0 addr 0xffffee80 level 2 vect 0x44
121xdc1 at vmel0 addr 0xffffee90 level 2 vect 0x45
122xd* at xdc? drive ?
123
124# Xylogics 472 tape controllers?
125
126#
127# Sun3/E stuff
128#
129sebuf0 at vmes0 addr 0xff300000 level 2 vect 0x74
130sebuf1 at vmes0 addr 0xff340000 level 2 vect 0x76
131si* at sebuf?
132ie* at sebuf?
133
134#
135# Frame buffer devices
136#
137
138# The default cgfour address depends on the machine:
139# 3/60: obmem 0xFF200000 .. 0xFF9fffff
140# 3/110: different? (not tested)
141cgfour0 at obmem0 addr ?
142
143# 3/60 P4 accelerated 8-bit color frame buffer
144# cgsix0 at obmem0 addr ?
145
146# 3/60 P4 24-bit color frame buffer
147# cgeight0 at obmem0 addr ?
148
149# The default bwtwo address depends on the machine:
150# 3/50: obmem   0x100000
151# else: obmem 0xff000000
152bwtwo0 at obmem0 addr ?
153# 3/60 P4 color frame buffer overlay plane, or P4 monochrome frame buffer
154#bwtwo1 at obmem0 addr 0xff300000
155# 3/60 plug-in color frame buffer overlay plane
156#bwtwo1 at obmem0 addr 0xff400000
157
158# Sun-3 color board, or CG5 8-bit VME frame buffer.
159cgtwo0 at vmes0 addr 0xff400000 level 4 vect 0xA8
160
161# Support for the CG9 24-bit VME frame buffer.
162# cgnine0 at vmel0 addr 0x08000000
163
164#
165# SCSI infrastructure
166#
167scsibus* at scsi?
168
169sd* at scsibus? target ? lun ?		# SCSI disks
170st* at scsibus? target ? lun ?		# SCSI tapes
171cd* at scsibus? target ? lun ?		# SCSI CD-ROMs
172ch* at scsibus? target ? lun ?		# SCSI changer devices
173ss* at scsibus? target ? lun ?		# SCSI scanners
174uk* at scsibus? target ? lun ?		# unknown SCSI devices
175
176# Memory-disk drivers
177pseudo-device	md		2
178
179# Misc.
180pseudo-device	loop		1	# network loopback
181pseudo-device	bpfilter	8	# packet filter
182pseudo-device	sl		2	# CSLIP
183pseudo-device	ppp		2	# PPP
184pseudo-device	tun		2	# network tunneling over tty
185#pseudo-device	ipfilter		# ip filter
186# rnd is EXPERIMENTAL
187#pseudo-device	rnd			# /dev/random and in-kernel generator
188
189pseudo-device	pty		64	# pseudo-terminals
190#pseudo-device	vnd		4	# paging to files
191#pseudo-device	ccd		4	# concatenated disks
192