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