files.sun3 revision 1.64 1 # $NetBSD: files.sun3,v 1.64 2002/10/03 16:13:25 uwe 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/procfs_machdep.c procfs
44 file arch/sun3/sun3/stub.c
45 file arch/sun3/sun3/sunmon.c
46 file arch/sun3/sun3/sys_machdep.c
47 file arch/sun3/sun3/trap.c
48 file arch/sun3/sun3/vector.c
49 file arch/sun3/sun3/vm_machdep.c
50
51 include "arch/m68k/fpe/files.fpe"
52
53 # Console support
54 #file arch/sun3/sun3/cninit.c
55 file dev/cons.c
56
57 #
58 # Bus types
59 #
60
61 device mainbus {}
62 attach mainbus at root
63 file arch/sun3/sun3/mainbus.c
64
65 # On-board I/O space (required).
66 device obio {addr = -1, [ipl = -1], [vect = -1]}
67 attach obio at mainbus
68 file arch/sun3/sun3/obio.c _sun3_
69 file arch/sun3/sun3x/obio.c _sun3x_
70
71 # On-board MEMory space (optional).
72 device obmem {addr = -1, [ipl = -1], [vect = -1]}
73 attach obmem at mainbus
74 file arch/sun3/sun3/obmem.c obmem
75
76 # VME (unit encodes address/data sizes)
77 device vme {addr = -1, [ipl = -1], [vect = -1]}
78 attach vme at mainbus
79 file arch/sun3/sun3/vme.c vme
80
81 #
82 # Machine-independent SCSI drivers
83 #
84 include "dev/scsipi/files.scsipi"
85
86 #
87 # Devices and attributes needed below
88 #
89
90 device ie: ifnet, ether, arp
91 file arch/sun3/dev/if_ie.c ie
92
93 device si: scsi, ncr5380sbc
94 file arch/sun3/dev/si.c si
95
96 define fb
97 file arch/sun3/dev/fb.c fb needs-flag
98
99 #
100 # On-Board I/O (OBIO), in attach order.
101 # The following are all required.
102 #
103
104 # The IDPROM could have a device config line, but this
105 # driver has to do its initialization before autoconfig,
106 # and there is nothing left to do at attach time.
107 file arch/sun3/sun3/idprom.c _sun3_
108 file arch/sun3/sun3x/idprom.c _sun3x_
109
110 # Interrupt register
111 device intreg
112 attach intreg at obio
113 file arch/sun3/sun3/intreg.c intreg
114
115 # Memory error register
116 device memerr
117 attach memerr at obio
118 file arch/sun3/dev/memerr.c memerr
119
120 # Zilog Serial (ZS)
121 device zsc {channel = -1}
122 attach zsc at obio
123 file arch/sun3/dev/zs.c zsc needs-flag
124 file dev/ic/z8530sc.c zsc
125
126 # Intersil or Mostek clock
127 device clock
128 attach clock at obio
129 device oclock
130 attach oclock at obio
131 file arch/sun3/sun3/clock.c _sun3_
132 file arch/sun3/sun3x/clock.c _sun3x_
133 file dev/clock_subr.c
134
135 # EEPROM (or NV-RAM)
136 device eeprom
137 attach eeprom at obio
138 file arch/sun3/dev/eeprom.c eeprom
139
140 # I/O MMU (a.k.a I/O mapper)
141 device iommu
142 attach iommu at obio
143 file arch/sun3/sun3x/iommu.c _sun3x_
144
145 #
146 # Optional OBIO devices
147 #
148
149 # device defined above
150 attach ie at obio with ie_obio
151 file arch/sun3/dev/if_ie_obio.c ie_obio
152
153 # device defined in sys/conf/files
154 attach le at obio: le24
155 file arch/sun3/dev/if_le.c le
156
157 # Sun3/60 on-board SCSI
158 attach si at obio with si_obio
159 file arch/sun3/dev/si_obio.c si_obio
160
161 # Sun3/80 on-board SCSI
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 with kbd_zs
242 file dev/sun/kbd_zs.c kbd_zs
243 file dev/sun/kbdsun.c kbd_zs
244 file dev/sun/kbd.c kbd needs-flag
245 file dev/sun/kbd_tables.c kbd
246 file arch/sun3/dev/kd.c kbd
247
248 device ms: zsevent
249 attach ms at zsc with ms_zs
250 file dev/sun/ms_zs.c ms_zs
251 file dev/sun/ms.c ms needs-flag
252
253
254 # Memory Disk for boot tape
255 file dev/md_root.c memory_disk_hooks
256
257 # Compatibility modules
258
259 # NetBSD m68k a.out Binary Compatibility (COMPAT_AOUT_M68K)
260 include "compat/aoutm68k/files.aoutm68k"
261
262 # SunOS Binary Compatibility (COMPAT_SUNOS)
263 include "compat/sunos/files.sunos"
264 file arch/m68k/m68k/sunos_machdep.c compat_sunos
265
266 # SVR4 Binary Compatibility (COMPAT_SVR4)
267 include "compat/svr4/files.svr4"
268
269 # Linux binary compatibility (COMPAT_LINUX)
270 include "compat/linux/files.linux"
271 include "compat/linux/arch/m68k/files.linux_m68k"
272 file arch/m68k/m68k/linux_trap.c compat_linux
273
274 # OSS audio driver compatibility
275 include "compat/ossaudio/files.ossaudio"
276
277 include "arch/sun3/conf/majors.sun3"
278