1 # $NetBSD: files.amiga,v 1.141 2009/09/14 02:23:05 mhitch Exp $
3 # maxpartitions must be first item in files.${ARCH}.newconf
4 maxpartitions 16 # NOTE THAT AMIGA IS SPECIAL!
6 defflag opt_m060sp.h M060SP
7 defflag PANICBUTTON # panic on kbd NMI if not DDB
11 defflag opt_amigaccgrf.h GRF_NTSC
12 defflag opt_amigaccgrf.h GRF_PAL :GRF_NTSC # temporary workaround
13 defflag opt_amigaccgrf.h GRF_ECS GRF_AGA
14 defflag opt_amigaccgrf.h GRF_A2024:GRF_ECS
15 defflag opt_amigaccgrf.h GRF_AGA_VGA:GRF_AGA
16 defflag opt_amigaccgrf.h GRF_SUPER72:GRF_AGA
17 defflag opt_amigaccgrf.h USE_C_BFOPS
19 defflag opt_amigacons.h RETINACONSOLE ULOWELLCONSOLE CL5426CONSOLE
20 defflag opt_amigacons.h CV64CONSOLE CV3DCONSOLE TSENGCONSOLE
21 defflag opt_amigacons.h CV3DONZORRO2
22 defflag opt_amigacons.h SERCONSOLE
24 defflag opt_kfont.h KFONT_CONS_ISO8859_1
25 defflag opt_kfont.h KFONT_CONS_ISO8859_2
27 defparam opt_retina.h RH_MEMCLK
28 defflag opt_retina.h RH_64BIT_SPRITE RH_HARDWARECURSOR
29 defflag opt_retina.h RETINA_SPEED_HACK
31 defflag BB060STUPIDROM
39 attach mainbus at root
47 file arch/amiga/amiga/amiga_bus_simple_4.c
50 file arch/amiga/amiga/amiga_bus_simple_2word.c
53 file arch/amiga/amiga/amiga_bus_simple_1word.c
56 file arch/amiga/amiga/amiga_bus_simple_16.c amibus_b16
59 file arch/amiga/amiga/amiga_bus_simple_0x800.c amibus_b800
61 # zorro expansion bus.
63 attach zbus at mainbus
64 file arch/amiga/dev/zbus.c zbus
67 file arch/amiga/dev/event.c event
70 attach clock at mainbus
71 file arch/amiga/dev/clock.c
75 attach a2kbbc at mainbus
76 file arch/amiga/dev/a2kbbc.c a2kbbc
78 # A3000/4000 internal hwc
80 attach a34kbbc at mainbus
81 file arch/amiga/dev/a34kbbc.c a34kbbc
84 device kbd: event,wskbddev
86 file arch/amiga/dev/kbd.c kbd needs-flag
87 file arch/amiga/dev/wskbdmap_amiga.c kbd
92 file arch/amiga/dev/ser.c ser needs-count
97 file arch/amiga/dev/par.c par needs-count
100 device aucc: audiobus
101 attach aucc at mainbus
102 file arch/amiga/dev/aucc.c aucc needs-flag
104 device melody: audiobus, tms320av110
105 attach melody at zbus
106 file arch/amiga/dev/melody.c melody
108 device repulse: audiobus, ac97, mulaw
109 attach repulse at zbus
110 file arch/amiga/dev/repulse.c repulse
112 device toccata: audiobus, ad1848, auconv
113 attach toccata at zbus
114 file arch/amiga/dev/toccata.c toccata
117 device ms: event, wsmousedev
119 file arch/amiga/dev/ms.c ms needs-flag
122 device fdc { unit = -1 }
123 attach fdc at mainbus
127 file arch/amiga/dev/fd.c fd needs-flag
134 file arch/amiga/dev/grf.c grf needs-count
138 file arch/amiga/dev/ite.c ite needs-flag
139 file arch/amiga/dev/kbdmap.c ite
140 file arch/amiga/dev/kf_custom.c kfont_custom
141 file arch/amiga/dev/kf_iso8859_1_8x8.c kfont_cons_iso8859_1 &
142 ( ite | amidisplaycc )
143 file arch/amiga/dev/kf_iso8859_1_8x11.c kfont_cons_iso8859_1 &
145 file arch/amiga/dev/kf_iso8859_2_8x8.c kfont_cons_iso8859_2 &
146 ( ite | amidisplaycc )
147 file arch/amiga/dev/kf_iso8859_2_8x11.c kfont_cons_iso8859_2 &
150 # custom chips grf (ite0 grf0)
152 attach grfcc at mainbus
153 file arch/amiga/dev/grf_cc.c grfcc needs-flag
154 file arch/amiga/dev/ite_cc.c grfcc & ite
156 # wscons interface to custom chips
157 device amidisplaycc: wsemuldisplaydev
158 attach amidisplaycc at mainbus
159 file arch/amiga/dev/amidisplaycc.c amidisplaycc needs-flag
162 file arch/amiga/dev/view.c view | grfcc needs-count
163 file arch/amiga/dev/grfabs.c grfcc | view | amidisplaycc
164 file arch/amiga/dev/grfabs_cc.c grfcc | view | amidisplaycc
165 file arch/amiga/dev/grfabs_ccglb.c grfcc | view | amidisplaycc
167 # retina ZII grf (ite1 grf1)
170 file arch/amiga/dev/grf_rt.c grfrt needs-flag
171 file arch/amiga/dev/ite_rt.c grfrt & ite
173 # retina ZIII grf (ite2 grf2)
176 file arch/amiga/dev/grf_rh.c grfrh needs-flag
177 file arch/amiga/dev/ite_rh.c grfrh & ite
179 # cirrus grf (ite3 grf3)
182 file arch/amiga/dev/grf_cl.c grfcl needs-flag
183 file arch/amiga/dev/ite_cl.c grfcl & ite
185 # A2410 grf (ite4 grf4)
188 file arch/amiga/dev/grf_ul.c grful needs-flag
189 file arch/amiga/dev/ite_ul.c grful & ite
190 file arch/amiga/dev/grf_ultms.c grful
192 # CyberVison 64 grf (ite5 grf5)
195 file arch/amiga/dev/grf_cv.c grfcv needs-flag
196 file arch/amiga/dev/ite_cv.c grfcv & ite
198 # Tseng grf (ite6 grf6)
201 file arch/amiga/dev/grf_et.c grfet needs-flag
202 file arch/amiga/dev/ite_et.c grfet & ite
204 # CyberVison 64/3D grf (ite7 grf7)
205 device grfcv3d: grfbus
206 attach grfcv3d at zbus
207 file arch/amiga/dev/grf_cv3d.c grfcv3d needs-flag
208 file arch/amiga/dev/ite_cv3d.c grfcv3d & ite
210 # device defined in sys/conf/files
211 # A2065, Ameristar, Ariadne ethernet cards
212 attach le at zbus with le_zbus: le24
213 file arch/amiga/dev/if_le.c le_zbus needs-flag
215 # AriadneII ethernet card
216 # device defined in sys/conf/files
217 attach ne at zbus with ne_zbus: rtl80x9
218 file arch/amiga/dev/if_ne_zbus.c ne_zbus needs-flag
220 # Hydra ethernet card
221 device ed: ifnet, ether, arp
222 attach ed at zbus with ed_zbus
223 file arch/amiga/dev/if_ed.c ed_zbus needs-flag
225 # C=/Ameristar A2060 / 560
226 attach bah at zbus with bah_zbus
227 file arch/amiga/dev/if_bah_zbus.c bah_zbus
229 # CEI A4066 EthernetPLUS
230 device es: ifnet, ether, arp
232 file arch/amiga/dev/if_es.c es needs-flag
234 # Quicknet ethernet card
235 device qn: ifnet, ether, arp
237 file arch/amiga/dev/if_qn.c qn needs-flag
239 # A2232 msc serial ports
242 file arch/amiga/dev/msc.c msc needs-count
244 # bsc/Alf Data MultiFaceCard
245 device mfc { unit = -1 }
252 file arch/amiga/dev/mfc.c mfcs | mfcp needs-count
254 # direct bus ISA-chip i/o
255 define supio {port = -1}
259 device drsupio: supio
260 attach drsupio at mainbus
261 file arch/amiga/dev/drsupio.c drsupio
263 # ZBus HyperComs: HyperCom Z3, HyperCom 4
266 file arch/amiga/dev/hyper.c hyper
269 device iobl: supio, amibus_b16
270 attach iobl at zbus with iobl_zbus
271 file arch/amiga/dev/ioblix_zbus.c iobl_zbus
274 attach com at supio with com_supio
275 file arch/amiga/dev/com_supio.c com_supio
277 # ISDN Blaster, ISDN Master
280 file arch/amiga/dev/aster.c aster
282 attach isic at supio with isic_supio
283 file arch/amiga/dev/isic_supio.c isic_supio
285 # handle gvp's odd autoconf info..
287 attach gvpbus at zbus
288 file arch/amiga/dev/gvpbus.c gvpbus
290 attach lpt at supio with lpt_supio
291 file arch/amiga/dev/lpt_supio.c lpt_supio
293 include "dev/scsipi/files.scsipi"
295 # wd 33c93 contrllers
297 file arch/amiga/dev/sbic.c sbic
300 device gtsc: scsi, sbic
301 attach gtsc at gvpbus
302 file arch/amiga/dev/gtsc.c gtsc needs-flag
304 # Amiga 3000 internal
305 device ahsc: scsi, sbic
306 attach ahsc at mainbus
307 file arch/amiga/dev/ahsc.c ahsc needs-flag
310 device atzsc: scsi, sbic
312 file arch/amiga/dev/atzsc.c atzsc needs-flag
314 # ncr 5380 controllers
316 file arch/amiga/dev/sci.c sci
319 device wstsc: scsi, sci
321 file arch/amiga/dev/wstsc.c wstsc needs-flag
324 device ivsc: scsi, sci
326 file arch/amiga/dev/ivsc.c ivsc needs-flag
329 device mlhsc: scsi, sci
331 file arch/amiga/dev/mlhsc.c mlhsc needs-flag
334 device otgsc: scsi, sci
336 file arch/amiga/dev/otgsc.c otgsc needs-flag
338 # ncr 57c710 controllers
340 file arch/amiga/dev/siop.c asiop
343 device zssc: scsi, asiop
345 file arch/amiga/dev/zssc.c zssc needs-flag
348 device mgnsc: scsi, asiop
350 file arch/amiga/dev/mgnsc.c mgnsc needs-flag
352 # MacroSystems USA Warp Engine
353 device wesc: scsi, asiop
355 file arch/amiga/dev/wesc.c wesc needs-flag
358 device afsc: scsi, asiop
360 device aftsc: scsi, asiop
361 attach aftsc at mainbus
362 file arch/amiga/dev/afsc.c afsc | aftsc needs-flag
364 # ncr 57c720/770 controllers
366 file arch/amiga/dev/siop2.c siopng
368 # CyberStorm MKIII scsi
369 device cbiiisc: scsi, siopng
370 attach cbiiisc at zbus
371 file arch/amiga/dev/cbiiisc.c cbiiisc needs-flag
373 # Emulex ESP216 & FAS216 controllers
376 device flsc: scsi, ncr53c9x
378 file arch/amiga/dev/flsc.c flsc needs-flag
381 device bzsc: scsi, ncr53c9x
383 file arch/amiga/dev/bzsc.c bzsc needs-flag
386 device bzivsc: scsi, ncr53c9x
387 attach bzivsc at zbus
388 file arch/amiga/dev/bzivsc.c bzivsc needs-flag
391 device bztzsc: scsi, ncr53c9x
392 attach bztzsc at zbus
393 file arch/amiga/dev/bztzsc.c bztzsc needs-flag
396 device cbsc: scsi, ncr53c9x
398 file arch/amiga/dev/cbsc.c cbsc needs-flag
400 # CyberSCSI MKII scsi
401 device cbiisc: scsi, ncr53c9x
402 attach cbiisc at zbus
403 file arch/amiga/dev/cbiisc.c cbiisc needs-flag
406 device empsc: scsi, sci
408 file arch/amiga/dev/empsc.c empsc needs-flag
410 # MacroSystem DraCo internal
411 device drsc: scsi, asiop
412 attach drsc at mainbus
413 file arch/amiga/dev/drsc.c drsc needs-flag
415 # MacroSystem DraCo internal DS2404 hwc
417 attach drbbc at mainbus
418 file arch/amiga/dev/drbbc.c drbbc
420 # kernel floating point emulator
421 include "arch/m68k/fpe/files.fpe"
423 # Motorola 68060 support package
424 include "arch/m68k/060sp/files.060sp"
426 # list of standard files...
430 file arch/amiga/amiga/amiga_init.c
431 file arch/amiga/amiga/autoconf.c
432 file arch/amiga/amiga/cia.c
433 file arch/amiga/amiga/conf.c
434 file arch/amiga/amiga/disksubr.c
435 file arch/amiga/amiga/dkbad.c
436 file arch/amiga/amiga/machdep.c
437 file arch/amiga/amiga/mem.c
438 file arch/amiga/amiga/pmap_bootstrap.c
439 file arch/amiga/amiga/trap.c
440 file arch/amiga/amiga/cc.c
441 file dev/md_root.c memory_disk_hooks
442 file arch/m68k/m68k/cacheops.c
443 file arch/m68k/m68k/db_memrw.c ddb
444 file arch/m68k/m68k/pmap_motorola.c
445 file arch/m68k/m68k/procfs_machdep.c procfs
446 file arch/m68k/m68k/sys_machdep.c
447 file arch/m68k/m68k/vm_machdep.c
450 file arch/amiga/amiga/gayle.c gayle
452 file arch/amiga/dev/gayle_pcmcia.c pccard
453 device pccard: pcmciabus, gayle
454 attach pccard at mainbus
456 include "dev/pcmcia/files.pcmcia"
458 include "dev/ata/files.ata"
460 # Amiga 4000/1200 IDE using MI wdc
461 attach wdc at mainbus with wdc_amiga: gayle
462 file arch/amiga/dev/wdc_amiga.c wdc_amiga
465 attach wdc at zbus with wdc_buddha
466 file arch/amiga/dev/wdc_buddha.c wdc_buddha
468 # Compatibility modules
470 # NetBSD m68k a.out Binary Compatibility (COMPAT_AOUT_M68K)
471 include "compat/aoutm68k/files.aoutm68k"
473 # SunOS Binary Compatibility (COMPAT_SUNOS)
474 include "compat/sunos/files.sunos"
475 file arch/m68k/m68k/sunos_machdep.c compat_sunos
477 # SVR4 Binary Compatibility (COMPAT_SVR4)
478 include "compat/svr4/files.svr4"
480 # Linux binary compatibility (COMPAT_LINUX)
481 include "compat/linux/files.linux"
482 include "compat/linux/arch/m68k/files.linux_m68k"
483 file arch/m68k/m68k/linux_trap.c compat_linux
485 # OSS audio driver compatibility
486 include "compat/ossaudio/files.ossaudio"
488 include "arch/amiga/conf/majors.amiga"