KGDB revision 1.1.2.2 1 # $NetBSD: KGDB,v 1.1.2.2 1996/08/19 23:35:07 gwr Exp $
2
3 #
4 # GENERIC_KGDB Sun3 (3/50, 3/60, 3/110, 3/160, 3/260)
5 # like GENERIC but supports KGDB (gdb -k on other machine)
6 #
7
8 include "std.sun3"
9
10 # Machines to be supported by this kernel
11 options GENERIC
12 options FPU_EMULATE
13 options HAVECACHE # Sun3/260 VAC
14
15 # Needs to be set per system. i.e change these as you see fit
16 maxusers 4
17
18 # Standard system options
19 options SWAPPAGER, VNODEPAGER, DEVPAGER # paging
20 options KTRACE # system call tracing support
21
22 # Debugging options. Uncomment either this:
23 #options DDB
24 # ... or these two: (for KGDB on another machine)
25 makeoptions DEBUG="-g" # symbols for kgdb + nm
26 options KGDB
27
28 # Filesystem options
29 options NFSSERVER # nfs server support
30 options NFSCLIENT # nfs client support
31 options FFS # ufs file system
32 #
33 options CD9660 # ISO 9660 + Rock Ridge file system
34 options FDESC # /dev/fd/*
35 options FIFO # FIFOs; RECOMMENDED
36 options KERNFS # /kern
37 options NULLFS # loopback file system
38 options PROCFS # /proc
39 options UNION # union file system
40 options MFS # memory-based filesystem
41
42 # Networking options
43 options INET # IP prototol stack support
44 #options GATEWAY # IP packet forwarding
45 options TCP_COMPAT_42 # TCP bug compatibility with 4.2BSD
46 # XXX - Work-around for root on slow SunOS/Sun3 servers (sigh...)
47 options NFS_BOOT_RWSIZE=1024
48
49 # Compatability options
50 options COMPAT_SUNOS # can run SunOS 4.1.1 executables
51 options COMPAT_43 # and 4.3BSD and ...
52 options COMPAT_10 # NetBSD 1.0
53 options COMPAT_11 # NetBSD 1.1
54 options COMPAT_12 # NetBSD 1.2
55 options UCONSOLE # Allow non-root TIOCCONS
56
57 # Sun3-specific debugging options
58 options PMAP_DEBUG
59 #options VMFAULT_TRACE
60 #options SYSCALL_DEBUG
61 #options EXEC_DEBUG
62 options DIAGNOSTIC
63 #options SCSIDEBUG
64 options NCR5380_DEBUG
65
66 config netbsd swap generic
67
68 #
69 # Serial ports
70 #
71 zstty0 at zsc1 channel 0 # ttya
72 zstty1 at zsc1 channel 1 # ttyb
73
74 kbd0 at zsc0 channel 0 # keyboard
75 ms0 at zsc0 channel 1 # mouse
76
77 #
78 # Network devices
79 #
80
81 # Intel Ethernet (onboard, or VME)
82 ie0 at obio0 addr ? level ?
83 ie1 at vmes0 addr 0xffe88000 level 3 vect 0x75
84
85 # Lance Ethernet (only onboard)
86 le0 at obio0 addr ? level ?
87
88 #
89 # Disk and tape devices
90 #
91
92 # Sun3 "si" SCSI controller (NCR 5380)
93 si0 at obio0 addr ? level ?
94 si0 at vmes0 addr 0xff200000 level 2 vect 0x40
95 si1 at vmes0 addr 0xff204000 level 2 vect 0x41
96
97 # Xylogics 7053 controllers
98 # xdc0 at vmel0 addr 0xffffee80 level 2 vect 0x44
99 # xdc1 at vmel0 addr 0xffffee90 level 2 vect 0x45
100 # xd* at xdc? drive ?
101
102 # Xylogics 450/451 controllers
103 # xyc0 at vmes0 addr 0xffffee40 level 2 vect 0x48
104 # xyc1 at vmes0 addr 0xffffee48 level 2 vect 0x49
105 # xy* at xyc? drive ?
106
107 # Xylogics 472 tape controllers?
108
109 #
110 # Frame buffer devices
111 #
112
113 # The default cgfour address depends on the machine:
114 # 3/60: obmem 0xFF200000 .. 0xFF9fffff
115 # 3/110: different? (not tested)
116 cgfour0 at obmem0 addr ?
117
118 # 3/60 P4 accelerated 8-bit color frame buffer
119 # cgsix0 at obmem0 addr ?
120
121 # 3/60 P4 24-bit color frame buffer
122 # cgeight0 at obmem0 addr ?
123
124 # The default bwtwo address depends on the machine:
125 # 3/50: obmem 0x100000
126 # else: obmem 0xff000000
127 bwtwo0 at obmem0 addr ?
128 # 3/60 P4 color frame buffer overlay plane, or P4 monochrome frame buffer
129 #bwtwo1 at obmem0 addr 0xff300000
130 # 3/60 plug-in color frame buffer overlay plane
131 #bwtwo1 at obmem0 addr 0xff400000
132
133 # Sun-3 color board, or CG5 8-bit VME frame buffer.
134 cgtwo0 at vmes0 addr 0xff400000 level 4 vect 0xA8
135
136 # Support for the CG9 24-bit VME frame buffer.
137 # cgnine0 at vmel0 addr 0x08000000
138
139 #
140 # SCSI infrastructure
141 #
142 scsibus* at scsi?
143
144 # Sun compatible scsi device mappings
145 sd0 at scsibus? target 0 lun 0
146 sd1 at scsibus? target 0 lun 1
147 sd2 at scsibus? target 1 lun 0
148 sd3 at scsibus? target 1 lun 1
149 sd* at scsibus? target ? lun ?
150
151 st0 at scsibus? target 4 lun 0
152 st1 at scsibus? target 5 lun 0
153 st* at scsibus? target ? lun ?
154
155 cd0 at scsibus? target 6 lun 0
156 cd* at scsibus? target ? lun ?
157
158 #ch* at scsibus? target ? lun ?
159
160 # RAM-disk drivers
161 pseudo-device rd 2
162
163 # Misc.
164 pseudo-device loop 1 # network loopback
165 pseudo-device bpfilter 8 # packet filter
166 pseudo-device sl 2 # CSLIP
167 pseudo-device ppp 2 # PPP
168 pseudo-device tun 2 # network tunneling over tty
169
170 pseudo-device pty 64 # pseudo-terminals
171 #pseudo-device vnd 4 # paging to files
172