files.sun3 revision 1.52 1 # $NetBSD: files.sun3,v 1.52 1999/04/19 21:23:01 kleink Exp $
2
3 #
4 # sun3-specific configuration info
5 #
6
7 # maxpartitions must be first item in files.${ARCH}
8 maxpartitions 8
9
10 maxusers 2 8 64
11
12 # Standard stuff (Sun3-specific)
13 file arch/sun3/sun3/bus_subr.c _sun3_
14 file arch/sun3/sun3/cache.c _sun3_ & havecache
15 file arch/sun3/sun3/control.c _sun3_
16 file arch/sun3/sun3/ctrlsp.S _sun3_
17 file arch/sun3/sun3/dvma.c _sun3_
18 file arch/sun3/sun3/enable.c _sun3_
19 file arch/sun3/sun3/locore2.c _sun3_
20 file arch/sun3/sun3/machdep.c _sun3_
21 file arch/sun3/sun3/mem.c _sun3_
22 file arch/sun3/sun3/pmap.c _sun3_
23
24 # Standard stuff (Sun3X-specific)
25 file arch/sun3/sun3x/bus_subr.c _sun3x_
26 file arch/sun3/sun3x/dvma.c _sun3x_
27 file arch/sun3/sun3x/enable.c _sun3x_
28 file arch/sun3/sun3x/locore2.c _sun3x_
29 file arch/sun3/sun3x/machdep.c _sun3x_
30 file arch/sun3/sun3x/mem.c _sun3x_
31 file arch/sun3/sun3x/pmap.c _sun3x_
32
33 # Standard stuff (common to Sun3 and Sun3X)
34 file arch/sun3/sun3/autoconf.c
35 file arch/sun3/sun3/conf.c
36 file arch/sun3/sun3/db_machdep.c ddb
37 file arch/sun3/sun3/db_memrw.c ddb | kgdb
38 file arch/sun3/sun3/disksubr.c
39 file arch/sun3/sun3/fpu.c
40 file arch/sun3/sun3/isr.c
41 file arch/sun3/sun3/kgdb_machdep.c kgdb
42 file arch/sun3/sun3/leds.c
43 file arch/sun3/sun3/stub.c
44 file arch/sun3/sun3/sunmon.c
45 file arch/sun3/sun3/sys_machdep.c
46 file arch/sun3/sun3/trap.c
47 file arch/sun3/sun3/vector.c
48 file arch/sun3/sun3/vm_machdep.c
49
50 include "arch/m68k/fpe/files.fpe"
51
52 # Console support
53 #file arch/sun3/sun3/cninit.c
54 file dev/cons.c
55
56 #
57 # Bus types
58 #
59
60 device mainbus {}
61 attach mainbus at root
62 file arch/sun3/sun3/mainbus.c
63
64 # On-board I/O space (required).
65 device obio {addr = -1, [ipl = -1], [vect = -1]}
66 attach obio at mainbus
67 file arch/sun3/sun3/obio.c _sun3_
68 file arch/sun3/sun3x/obio.c _sun3x_
69
70 # On-board MEMory space (optional).
71 device obmem {addr = -1, [ipl = -1], [vect = -1]}
72 attach obmem at mainbus
73 file arch/sun3/sun3/obmem.c obmem
74
75 # VME (unit encodes address/data sizes)
76 device vme {addr = -1, [ipl = -1], [vect = -1]}
77 attach vme at mainbus
78 file arch/sun3/sun3/vme.c vme
79
80 #
81 # Machine-independent SCSI drivers
82 #
83 include "../../../dev/scsipi/files.scsipi"
84
85 #
86 # Devices and attributes needed below
87 #
88
89 device ie: ifnet, ether, arp
90 file arch/sun3/dev/if_ie.c ie
91
92 device si: scsi, ncr5380sbc
93 file arch/sun3/dev/si.c si
94
95 define fb
96 file arch/sun3/dev/fb.c fb needs-flag
97
98 #
99 # On-Board I/O (OBIO), in attach order.
100 # The following are all required.
101 #
102
103 # The IDPROM could have a device config line, but this
104 # driver has to do its initialization before autoconfig,
105 # and there is nothing left to do at attach time.
106 file arch/sun3/sun3/idprom.c _sun3_
107 file arch/sun3/sun3x/idprom.c _sun3x_
108
109 # Interrupt register
110 device intreg
111 attach intreg at obio
112 file arch/sun3/sun3/intreg.c intreg
113
114 # Memory error register
115 device memerr
116 attach memerr at obio
117 file arch/sun3/dev/memerr.c memerr
118
119 # Zilog Serial (ZS)
120 device zsc {channel = -1}
121 attach zsc at obio
122 file arch/sun3/dev/zs.c zsc needs-flag
123 file dev/ic/z8530sc.c zsc
124
125 # Intersil or Mostek clock
126 device clock
127 attach clock at obio
128 device oclock
129 attach oclock at obio
130 file arch/sun3/sun3/clock.c _sun3_
131 file arch/sun3/sun3x/clock.c _sun3x_
132 file dev/clock_subr.c
133
134 # EEPROM (or NV-RAM)
135 device eeprom
136 attach eeprom at obio
137 file arch/sun3/dev/eeprom.c eeprom
138
139 # I/O MMU (a.k.a I/O mapper)
140 device iommu
141 attach iommu at obio
142 file arch/sun3/sun3x/iommu.c _sun3x_
143
144 #
145 # Optional OBIO devices
146 #
147
148 # device defined above
149 attach ie at obio with ie_obio
150 file arch/sun3/dev/if_ie_obio.c ie_obio
151
152 # device defined in sys/conf/files
153 attach le at obio: le24
154 file arch/sun3/dev/if_le.c le
155
156 # Sun3/60 on-board SCSI
157 attach si at obio with si_obio
158 file arch/sun3/dev/si_obio.c si_obio
159
160 # Sun3/80 on-board SCSI
161 device esp: scsi, ncr53c9x
162 attach esp at obio
163 file arch/sun3/dev/esp.c esp
164 device dma
165 attach dma at obio
166 file arch/sun3/dev/dma.c dma | esp
167
168 # Sun3/80 Floppy disk
169 device fdc {}
170 attach fdc at obio
171 device fd: disk
172 attach fd at fdc
173 file arch/sun3/dev/fd.c fdc | fd needs-flag
174
175 # Sun3/80 printer port
176 device pp
177 attach pp at obio
178 file arch/sun3/dev/pp.c pp needs-flag
179
180 #
181 # On-Board MEMory (OBMEM)
182 #
183
184 device bwtwo: fb
185 attach bwtwo at obmem
186 file arch/sun3/dev/bw2.c bwtwo needs-flag
187
188 device cgfour: fb
189 attach cgfour at obmem
190 file arch/sun3/dev/cg4.c cgfour needs-flag
191
192 #
193 # VME
194 #
195
196 attach ie at vme with ie_vme
197 file arch/sun3/dev/if_ie_vme.c ie_vme
198
199 attach si at vme with si_vme
200 file arch/sun3/dev/si_vme.c si_vme
201
202 # Sun3/E SCSI+Ethernet board
203 device sebuf {}
204 attach sebuf at vme
205 file arch/sun3/dev/sebuf.c sebuf
206 attach ie at sebuf with ie_sebuf
207 file arch/sun3/dev/if_ie_sebuf.c ie_sebuf
208 attach si at sebuf with si_sebuf
209 file arch/sun3/dev/si_sebuf.c si_sebuf
210
211 device cgtwo: fb
212 attach cgtwo at vme
213 file arch/sun3/dev/cg2.c cgtwo needs-flag
214
215 device xyc {drive = -1}
216 attach xyc at vme
217 device xy: disk
218 attach xy at xyc
219 file arch/sun3/dev/xy.c xy | xyc needs-flag
220
221 device xdc {drive = -1}
222 attach xdc at vme
223 device xd: disk
224 attach xd at xdc
225 file arch/sun3/dev/xd.c xd | xdc needs-flag
226
227
228 #
229 # Console (zs) related stuff
230 #
231
232 device zstty: tty
233 attach zstty at zsc
234 file dev/ic/z8530tty.c zstty needs-flag
235 file arch/sun3/dev/zs_kgdb.c kgdb
236
237 define zsevent
238 file dev/sun/event.c zsevent
239
240 device kbd: zsevent
241 attach kbd at zsc
242 file dev/sun/kbd.c kbd needs-flag
243 file dev/sun/kbd_tables.c kbd
244 file arch/sun3/dev/kd.c kbd
245
246 device ms: zsevent
247 attach ms at zsc
248 file dev/sun/ms.c ms needs-flag
249
250
251 # Memory Disk for boot tape
252 file arch/sun3/dev/md_root.c memory_disk_hooks
253
254 # Compatibility modules
255
256 # SunOS Binary Compatibility (COMPAT_SUNOS)
257 include "compat/sunos/files.sunos"
258 file arch/m68k/m68k/sunos_machdep.c compat_sunos
259
260 # SVR4 Binary Compatibility (COMPAT_SVR4)
261 include "compat/svr4/files.svr4"
262
263 # Linux binary compatibility (COMPAT_LINUX)
264 include "compat/linux/files.linux"
265 include "compat/linux/arch/m68k/files.linux_m68k"
266
267 # OSS audio driver compatibility
268 include "compat/ossaudio/files.ossaudio"
269
270 # Major numbers for root/swap device configuration
271 major {xy=3} # Xylogics 450 and 451
272 major {vnd=5} # vnode pseudo-device
273 major {sd=7} # SCSI disk
274 major {xd=10} # Xylogics 7053
275 major {md=13} # Memory disk (for mini-kernel)
276