files.amigappc revision 1.25 1 # $NetBSD: files.amigappc,v 1.25 2012/02/15 12:11:43 phx Exp $
2
3 # maxpartitions must be first item in files.${ARCH}.newconf
4 maxpartitions 16 # NOTE THAT AMIGA IS SPECIAL!
5
6 maxusers 2 8 64
7
8 include "arch/powerpc/pic/files.pic"
9
10 defflag opt_amigaccgrf.h GRF_NTSC
11 defflag opt_amigaccgrf.h GRF_PAL :GRF_NTSC # temporary workaround
12 defflag opt_amigaccgrf.h GRF_ECS GRF_AGA
13 defflag opt_amigaccgrf.h GRF_A2024:GRF_ECS
14 defflag opt_amigaccgrf.h GRF_AGA_VGA:GRF_AGA
15 defflag opt_amigaccgrf.h GRF_SUPER72:GRF_AGA
16 defflag opt_amigaccgrf.h USE_C_BFOPS
17
18 defflag opt_amigacons.h RETINACONSOLE ULOWELLCONSOLE CL5426CONSOLE
19 defflag opt_amigacons.h CV64CONSOLE CV3DCONSOLE TSENGCONSOLE
20 defflag opt_amigacons.h CV3DONZORRO2
21 defflag opt_amigacons.h SERCONSOLE
22
23 defflag opt_kfont.h KFONT_CONS_ISO8859_1
24 defflag opt_kfont.h KFONT_CONS_ISO8859_2
25
26 defparam opt_retina.h RH_MEMCLK
27 defflag opt_retina.h RH_64BIT_SPRITE RH_HARDWARECURSOR
28 defflag opt_retina.h RETINA_SPEED_HACK
29
30 defflag BB060STUPIDROM
31 defflag P5PPC68KBOARD
32 defflag LEV6_DEFER
33
34 defparam IOBZCLOCK
35
36 file dev/cons.c
37 file dev/cninit.c
38 file arch/amigappc/amigappc/amiga_init.c
39 file arch/amigappc/amigappc/autoconf.c
40 file arch/amigappc/amigappc/machdep.c
41 file arch/amigappc/amigappc/pic_amiga.c
42 file arch/powerpc/powerpc/clock.c
43 file arch/powerpc/powerpc/procfs_machdep.c procfs
44 file arch/amiga/amiga/cc.c
45 file arch/amiga/amiga/cia.c
46 file arch/amiga/amiga/conf.c
47 file arch/amiga/amiga/disksubr.c
48 file arch/amiga/amiga/dkbad.c
49 file arch/amiga/dev/md_root.c memory_disk_hooks
50
51 # for bus_space
52
53 define amibus_bl
54 file arch/amiga/amiga/amiga_bus_simple_4.c
55
56 define amibus_ww
57 file arch/amiga/amiga/amiga_bus_simple_2word.c
58
59 define amibus_wb
60 file arch/amiga/amiga/amiga_bus_simple_1word.c
61
62 define amibus_b16
63 file arch/amiga/amiga/amiga_bus_simple_16.c amibus_b16
64
65 define amibus_b800
66 file arch/amiga/amiga/amiga_bus_simple_0x800.c amibus_b800
67
68 device mainbus {}
69 attach mainbus at root
70 file arch/amigappc/amigappc/mainbus.c mainbus
71
72 device cpu
73 attach cpu at mainbus
74 file arch/amigappc/amigappc/cpu.c cpu
75
76 # zorro expansion bus.
77 device zbus {}
78 attach zbus at mainbus
79 file arch/amiga/dev/zbus.c zbus
80
81 define event {}
82 file arch/amiga/dev/event.c event
83
84 #device clock
85 #attach clock at mainbus
86 #file arch/amiga/dev/clock.c
87
88 # A3000/4000 internal hwc
89 device a34kbbc
90 attach a34kbbc at mainbus
91 file arch/amiga/dev/a34kbbc.c a34kbbc
92
93 # keyboard
94 device kbd: event,wskbddev
95 attach kbd at mainbus
96 file arch/amiga/dev/kbd.c kbd needs-flag
97 file arch/amiga/dev/wskbdmap_amiga.c kbd
98
99 # serial port
100 device ser: tty
101 attach ser at mainbus
102 file arch/amiga/dev/ser.c ser needs-count
103
104 # parallel port
105 device par
106 attach par at mainbus
107 file arch/amiga/dev/par.c par needs-count
108
109 # audio
110 device aucc: audiobus
111 attach aucc at mainbus
112 file arch/amiga/dev/aucc.c aucc needs-flag
113
114 device melody: audiobus, tms320av110
115 attach melody at zbus
116 file arch/amiga/dev/melody.c melody
117
118 device repulse: audiobus, ac97, mulaw
119 attach repulse at zbus
120 file arch/amiga/dev/repulse.c repulse
121
122 device toccata: audiobus, ad1848, auconv
123 attach toccata at zbus
124 file arch/amiga/dev/toccata.c toccata
125
126 # mouse
127 device ms: event
128 attach ms at mainbus
129 file arch/amiga/dev/ms.c ms needs-flag
130
131 # floppy
132 device fdc { unit = -1 }
133 attach fdc at mainbus
134
135 device fd: disk
136 attach fd at fdc
137 file arch/amiga/dev/fd.c fd needs-flag
138
139 # graphic devices
140 define grfbus {}
141
142 device grf {}
143 attach grf at grfbus
144 file arch/amiga/dev/grf.c grf needs-count
145
146 device ite: tty
147 attach ite at grf
148 file arch/amiga/dev/ite.c ite needs-flag
149 file arch/amiga/dev/kbdmap.c ite
150 file arch/amiga/dev/kf_custom.c kfont_custom
151 file arch/amiga/dev/kf_iso8859_1_8x8.c kfont_cons_iso8859_1 &
152 ( ite | wsdisplay )
153 file arch/amiga/dev/kf_iso8859_1_8x11.c kfont_cons_iso8859_1 &
154 kfont_8x11
155 file arch/amiga/dev/kf_iso8859_2_8x8.c kfont_cons_iso8859_2 &
156 ( ite | wsdisplay )
157 file arch/amiga/dev/kf_iso8859_2_8x11.c kfont_cons_iso8859_2 &
158 kfont_8x11
159
160 # custom chips grf (ite0 grf0)
161 device grfcc: grfbus
162 attach grfcc at mainbus
163 file arch/amiga/dev/grf_cc.c grfcc needs-flag
164 file arch/amiga/dev/ite_cc.c grfcc & ite
165
166 # wscons interface to custom chips
167 device amidisplaycc: wsemuldisplaydev
168 attach amidisplaycc at mainbus
169 file arch/amiga/dev/amidisplaycc.c amidisplaycc needs-flag
170
171 defpseudo view
172 file arch/amiga/dev/view.c view | grfcc needs-count
173 file arch/amiga/dev/grfabs.c grfcc | view | amidisplaycc
174 file arch/amiga/dev/grfabs_cc.c grfcc | view | amidisplaycc
175 file arch/amiga/dev/grfabs_ccglb.c grfcc | view | amidisplaycc
176
177 # retina ZII grf (ite1 grf1)
178 device grfrt: grfbus
179 attach grfrt at zbus
180 file arch/amiga/dev/grf_rt.c grfrt needs-flag
181 file arch/amiga/dev/ite_rt.c grfrt & ite
182
183 # retina ZIII grf (ite2 grf2)
184 device grfrh: grfbus
185 attach grfrh at zbus
186 file arch/amiga/dev/grf_rh.c grfrh needs-flag
187 file arch/amiga/dev/ite_rh.c grfrh & ite
188
189 # cirrus grf (ite3 grf3)
190 device grfcl: grfbus
191 attach grfcl at zbus
192 file arch/amiga/dev/grf_cl.c grfcl needs-flag
193 file arch/amiga/dev/ite_cl.c grfcl & ite
194
195 # A2410 grf (ite4 grf4)
196 device grful: grfbus
197 attach grful at zbus
198 file arch/amiga/dev/grf_ul.c grful needs-flag
199 file arch/amiga/dev/ite_ul.c grful & ite
200 file arch/amiga/dev/grf_ultms.c grful
201
202 # CyberVison 64 grf (ite5 grf5)
203 device grfcv: grfbus
204 attach grfcv at zbus
205 file arch/amiga/dev/grf_cv.c grfcv needs-flag
206 file arch/amiga/dev/ite_cv.c grfcv & ite
207
208 # Tseng grf (ite6 grf6)
209 device grfet: grfbus
210 attach grfet at zbus
211 file arch/amiga/dev/grf_et.c grfet needs-flag
212 file arch/amiga/dev/ite_et.c grfet & ite
213
214 # CyberVison 64/3D grf (ite7 grf7)
215 device grfcv3d: grfbus
216 attach grfcv3d at zbus
217 file arch/amiga/dev/grf_cv3d.c grfcv3d needs-flag
218 file arch/amiga/dev/ite_cv3d.c grfcv3d & ite
219
220 # device defined in sys/conf/files
221 # A2065, Ameristar, Ariadne ethernet cards
222 attach le at zbus with le_zbus: le24
223 file arch/amiga/dev/if_le.c le_zbus needs-flag
224
225 # AriadneII ethernet card
226 # device defined in sys/conf/files
227 attach ne at zbus with ne_zbus: rtl80x9
228 file arch/amiga/dev/if_ne_zbus.c ne_zbus needs-flag
229
230 # Hydra ethernet card
231 device ed: ifnet, ether, arp
232 attach ed at zbus with ed_zbus
233 file arch/amiga/dev/if_ed.c ed_zbus needs-flag
234
235 # C=/Ameristar A2060 / 560
236 attach bah at zbus with bah_zbus
237 file arch/amiga/dev/if_bah_zbus.c bah_zbus
238
239 # CEI A4066 EthernetPLUS
240 device es: ifnet, ether, arp
241 attach es at zbus
242 file arch/amiga/dev/if_es.c es needs-flag
243
244 # Quicknet ethernet card
245 device qn: ifnet, ether, arp
246 attach qn at zbus
247 file arch/amiga/dev/if_qn.c qn needs-flag
248
249 # A2232 msc serial ports
250 device msc: tty
251 attach msc at zbus
252 file arch/amiga/dev/msc.c msc needs-count
253
254 # bsc/Alf Data MultiFaceCard
255 device mfc { unit = -1 }
256 attach mfc at zbus
257
258 device mfcs: tty
259 attach mfcs at mfc
260 device mfcp
261 attach mfcp at mfc
262 file arch/amiga/dev/mfc.c mfcs | mfcp needs-count
263
264 # direct bus ISA-chip i/o
265 define supio {port = -1}
266
267 # ZBus HyperComs: HyperCom Z3, HyperCom 4
268 device hyper: supio
269 attach hyper at zbus
270 file arch/amiga/dev/hyper.c hyper
271
272 # IOBlix
273 device iobl: supio, amibus_b16
274 attach iobl at zbus with iobl_zbus
275 file arch/amiga/dev/ioblix_zbus.c iobl_zbus
276
277 attach com at supio with com_supio
278 file arch/amiga/dev/com_supio.c com_supio
279
280 # ISDN Blaster, ISDN Master
281 device aster: supio
282 attach aster at zbus
283 file arch/amiga/dev/aster.c aster
284
285 # handle gvp's odd autoconf info..
286 device gvpbus {}
287 attach gvpbus at zbus
288 file arch/amiga/dev/gvpbus.c gvpbus
289
290 attach lpt at supio with lpt_supio
291 file arch/amiga/dev/lpt_supio.c lpt_supio
292
293 include "dev/scsipi/files.scsipi"
294
295 # wd 33c93 contrllers
296 define sbic
297 file arch/amiga/dev/sbic.c sbic
298
299 # GVP series II
300 device gtsc: scsi, sbic
301 attach gtsc at gvpbus
302 file arch/amiga/dev/gtsc.c gtsc needs-flag
303
304 # Amiga 3000 internal
305 device ahsc: scsi, sbic
306 attach ahsc at mainbus
307 file arch/amiga/dev/ahsc.c ahsc needs-flag
308
309 # C= A2091
310 device atzsc: scsi, sbic
311 attach atzsc at zbus
312 file arch/amiga/dev/atzsc.c atzsc needs-flag
313
314 # ncr 5380 controllers
315 define sci
316 file arch/amiga/dev/sci.c sci
317
318 # Supra Wordsync II
319 device wstsc: scsi, sci
320 attach wstsc at zbus
321 file arch/amiga/dev/wstsc.c wstsc needs-flag
322
323 # IVS
324 device ivsc: scsi, sci
325 attach ivsc at zbus
326 file arch/amiga/dev/ivsc.c ivsc needs-flag
327
328 # MLH
329 device mlhsc: scsi, sci
330 attach mlhsc at zbus
331 file arch/amiga/dev/mlhsc.c mlhsc needs-flag
332
333 # CSA twelve gauge.
334 device otgsc: scsi, sci
335 attach otgsc at zbus
336 file arch/amiga/dev/otgsc.c otgsc needs-flag
337
338 # ncr 57c710 controllers
339 define asiop
340 file arch/amiga/dev/siop.c asiop
341
342 # PPI Zeus
343 device zssc: scsi, asiop
344 attach zssc at zbus
345 file arch/amiga/dev/zssc.c zssc needs-flag
346
347 # CSA Magnum
348 device mgnsc: scsi, asiop
349 attach mgnsc at zbus
350 file arch/amiga/dev/mgnsc.c mgnsc needs-flag
351
352 # MacroSystems USA Warp Engine
353 device wesc: scsi, asiop
354 attach wesc at zbus
355 file arch/amiga/dev/wesc.c wesc needs-flag
356
357 # Phase5 Blizzard 603e+ SCSI
358 device bppcsc: scsi, asiop
359 attach bppcsc at zbus
360 file arch/amiga/dev/bppcsc.c bppcsc needs-flag
361
362 # C= A4091 & A4000T
363 device afsc: scsi, asiop
364 attach afsc at zbus
365 device aftsc: scsi, asiop
366 attach aftsc at mainbus
367 file arch/amiga/dev/afsc.c afsc | aftsc needs-flag
368
369 # ncr 57c720/770 controllers
370 define siopng
371 file arch/amiga/dev/siop2.c siopng
372
373 # CyberStorm MKIII scsi
374 device cbiiisc: scsi, siopng
375 attach cbiiisc at zbus
376 file arch/amiga/dev/cbiiisc.c cbiiisc needs-flag
377
378 # Emulex ESP216 & FAS216 controllers
379
380 # FastlaneZ3
381 device flsc: scsi, ncr53c9x
382 attach flsc at zbus
383 file arch/amiga/dev/flsc.c flsc needs-flag
384
385 # Blizzard1230-I,II
386 device bzsc: scsi, ncr53c9x
387 attach bzsc at zbus
388 file arch/amiga/dev/bzsc.c bzsc needs-flag
389
390 # Blizzard12x0-IV
391 device bzivsc: scsi, ncr53c9x
392 attach bzivsc at zbus
393 file arch/amiga/dev/bzivsc.c bzivsc needs-flag
394
395 # Blizzard2060 scsi
396 device bztzsc: scsi, ncr53c9x
397 attach bztzsc at zbus
398 file arch/amiga/dev/bztzsc.c bztzsc needs-flag
399
400 # CyberSCSI [I] scsi
401 device cbsc: scsi, ncr53c9x
402 attach cbsc at zbus
403 file arch/amiga/dev/cbsc.c cbsc needs-flag
404
405 # CyberSCSI MKII scsi
406 device cbiisc: scsi, ncr53c9x
407 attach cbiisc at zbus
408 file arch/amiga/dev/cbiisc.c cbiisc needs-flag
409
410 # EMPLANT
411 device empsc: scsi, sci
412 attach empsc at zbus
413 file arch/amiga/dev/empsc.c empsc needs-flag
414
415 # Amiga 4000/1200 IDE masquerading as SCSI
416 device idesc: scsi
417 attach idesc at mainbus
418 file arch/amiga/dev/idesc.c idesc needs-flag
419
420 define gayle
421 file arch/amiga/amiga/gayle.c gayle
422
423 file arch/amiga/dev/gayle_pcmcia.c pccard
424 device pccard: pcmciabus, gayle
425 attach pccard at mainbus
426
427 include "dev/pcmcia/files.pcmcia"
428
429 include "dev/ata/files.ata"
430
431 # Amiga 4000/1200 IDE using MI wdc
432 attach wdc at mainbus with wdc_amiga: gayle
433 file arch/amiga/dev/wdc_amiga.c wdc_amiga
434
435 # Buddha wdc
436 attach wdc at zbus with wdc_buddha
437 file arch/amiga/dev/wdc_buddha.c wdc_buddha
438
439 # Compatibility modules
440
441 # OSS audio driver compatibility
442 #include "compat/ossaudio/files.ossaudio"
443
444 include "arch/amigappc/conf/majors.amigappc"
445