files.sun3 revision 1.49 1 # $NetBSD: files.sun3,v 1.49 1998/12/15 19:37:11 itohy 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 file arch/sun3/dev/dma.c esp
165
166 # Sun3/80 Floppy disk
167 device fdc {}
168 attach fdc at obio
169 device fd: disk
170 attach fd at fdc
171 file arch/sun3/dev/fd.c fdc | fd needs-flag
172
173 # Sun3/80 printer port
174 device pp
175 attach pp at obio
176 file arch/sun3/dev/pp.c pp needs-flag
177
178 #
179 # On-Board MEMory (OBMEM)
180 #
181
182 device bwtwo: fb
183 attach bwtwo at obmem
184 file arch/sun3/dev/bw2.c bwtwo needs-flag
185
186 device cgfour: fb
187 attach cgfour at obmem
188 file arch/sun3/dev/cg4.c cgfour needs-flag
189
190 #
191 # VME
192 #
193
194 attach ie at vme with ie_vme
195 file arch/sun3/dev/if_ie_vme.c ie_vme
196
197 attach si at vme with si_vme
198 file arch/sun3/dev/si_vme.c si_vme
199
200 # Sun3/E SCSI+Ethernet board
201 device sebuf {}
202 attach sebuf at vme
203 file arch/sun3/dev/sebuf.c sebuf
204 attach ie at sebuf with ie_sebuf
205 file arch/sun3/dev/if_ie_sebuf.c ie_sebuf
206 attach si at sebuf with si_sebuf
207 file arch/sun3/dev/si_sebuf.c si_sebuf
208
209 device cgtwo: fb
210 attach cgtwo at vme
211 file arch/sun3/dev/cg2.c cgtwo needs-flag
212
213 device xyc {drive = -1}
214 attach xyc at vme
215 device xy: disk
216 attach xy at xyc
217 file arch/sun3/dev/xy.c xy | xyc needs-flag
218
219 device xdc {drive = -1}
220 attach xdc at vme
221 device xd: disk
222 attach xd at xdc
223 file arch/sun3/dev/xd.c xd | xdc needs-flag
224
225
226 #
227 # Console (zs) related stuff
228 #
229
230 device zstty: tty
231 attach zstty at zsc
232 file dev/ic/z8530tty.c zstty needs-flag
233 file arch/sun3/dev/zs_kgdb.c kgdb
234
235 define zsevent
236 file dev/sun/event.c zsevent
237
238 device kbd: zsevent
239 attach kbd at zsc
240 file dev/sun/kbd.c kbd needs-flag
241 file dev/sun/kbd_tables.c kbd
242 file arch/sun3/dev/kd.c kbd
243
244 device ms: zsevent
245 attach ms at zsc
246 file dev/sun/ms.c ms needs-flag
247
248
249 # Memory Disk for boot tape
250 file arch/sun3/dev/md_root.c memory_disk_hooks
251
252 # Compatibility modules
253
254 # SunOS Binary Compatibility (COMPAT_SUNOS)
255 include "../../../compat/sunos/files.sunos"
256 file arch/m68k/m68k/sunos_machdep.c compat_sunos
257
258 # Linux binary compatibility (COMPAT_LINUX)
259 include "compat/linux/files.linux"
260 include "compat/linux/arch/m68k/files.linux_m68k"
261
262 # OSS audio driver compatibility
263 include "compat/ossaudio/files.ossaudio"
264
265 # Major numbers for root/swap device configuration
266 major {xy=3} # Xylogics 450 and 451
267 major {vnd=5} # vnode pseudo-device
268 major {sd=7} # SCSI disk
269 major {xd=10} # Xylogics 7053
270 major {md=13} # Memory disk (for mini-kernel)
271