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