1# $NetBSD: files.amiga,v 1.173 2013/12/26 20:38:11 rkujawa Exp $ 2 3# maxpartitions must be first item in files.${ARCH}.newconf 4maxpartitions 16 # NOTE THAT AMIGA IS SPECIAL! 5 6defflag opt_m060sp.h M060SP 7defflag PANICBUTTON # panic on kbd NMI if not DDB 8 9maxusers 2 8 64 10 11defflag opt_amigaccgrf.h GRF_NTSC 12defflag opt_amigaccgrf.h GRF_PAL :GRF_NTSC # temporary workaround 13defflag opt_amigaccgrf.h GRF_ECS GRF_AGA 14defflag opt_amigaccgrf.h GRF_A2024:GRF_ECS 15defflag opt_amigaccgrf.h GRF_AGA_VGA:GRF_AGA 16defflag opt_amigaccgrf.h GRF_SUPER72:GRF_AGA 17defflag opt_amigaccgrf.h USE_C_BFOPS 18 19defflag opt_amigacons.h RETINACONSOLE ULOWELLCONSOLE CL5426CONSOLE 20defflag opt_amigacons.h CV64CONSOLE CV3DCONSOLE TSENGCONSOLE 21defflag opt_amigacons.h SERCONSOLE 22 23defflag opt_kfont.h KFONT_CONS_ISO8859_1 24defflag opt_kfont.h KFONT_CONS_ISO8859_2 25 26defparam opt_retina.h RH_MEMCLK 27defflag opt_retina.h RH_64BIT_SPRITE RH_HARDWARECURSOR 28defflag opt_retina.h RETINA_SPEED_HACK 29 30defflag BB060STUPIDROM 31defflag P5PPC68KBOARD 32defflag LEV6_DEFER 33defflag DEVRELOAD 34 35defflag opt_p5pb.h P5PB_DEBUG P5PB_CONSOLE 36 37defparam IOBZCLOCK 38 39device mainbus {} 40attach mainbus at root 41 42device cpu 43attach cpu at mainbus 44 45# for bus_space 46define amibus_bl 47file arch/amiga/amiga/amiga_bus_simple_4.c 48 49define amibus_ww 50file arch/amiga/amiga/amiga_bus_simple_2word.c 51 52define amibus_wb 53file arch/amiga/amiga/amiga_bus_simple_1word.c 54 55define amibus_b16 56file arch/amiga/amiga/amiga_bus_simple_16.c amibus_b16 57 58define amibus_b800 59file arch/amiga/amiga/amiga_bus_simple_0x800.c amibus_b800 60 61define amibus_b4000 62file arch/amiga/amiga/amiga_bus_simple_0x4000.c amibus_b4000 63 64define amibus_empb 65file arch/amiga/pci/empb_bsm.c amibus_empb 66 67file arch/amiga/amiga/bus.c 68 69# zorro expansion bus. 70device zbus {} 71attach zbus at mainbus 72file arch/amiga/dev/zbus.c zbus 73 74define event {} 75file arch/amiga/dev/event.c event 76 77device clock 78attach clock at mainbus 79file arch/amiga/dev/clock.c 80 81# A2000 internal hwc 82device a2kbbc: msm6242b 83attach a2kbbc at mainbus 84file arch/amiga/dev/a2kbbc.c a2kbbc 85 86# A3000/4000 internal hwc 87device a34kbbc 88attach a34kbbc at mainbus 89file arch/amiga/dev/a34kbbc.c a34kbbc 90 91# keyboard 92device kbd: event,wskbddev 93attach kbd at mainbus 94file arch/amiga/dev/kbd.c kbd needs-flag 95file arch/amiga/dev/wskbdmap_amiga.c kbd 96 97# serial port 98device ser: tty 99attach ser at mainbus 100file arch/amiga/dev/ser.c ser needs-count 101 102# parallel port 103device par 104attach par at mainbus 105file arch/amiga/dev/par.c par needs-count 106 107# audio 108device aucc: audiobus 109attach aucc at mainbus 110file arch/amiga/dev/aucc.c aucc needs-flag 111 112device melody: audiobus, tms320av110 113attach melody at zbus 114file arch/amiga/dev/melody.c melody 115 116device repulse: audiobus, ac97, mulaw 117attach repulse at zbus 118file arch/amiga/dev/repulse.c repulse 119 120device toccata: audiobus, ad1848, auconv 121attach toccata at zbus 122file arch/amiga/dev/toccata.c toccata 123 124# mouse 125device ms: event, wsmousedev 126attach ms at mainbus 127file arch/amiga/dev/ms.c ms needs-flag 128 129# floppy 130device fdc { unit = -1 } 131attach fdc at mainbus 132 133device fd: disk 134attach fd at fdc 135file arch/amiga/dev/fd.c fd needs-flag 136 137# graphic devices 138define grfbus {} 139 140device grf {}: wsemuldisplaydev, vcons 141attach grf at grfbus 142file arch/amiga/dev/grf.c grf needs-count 143 144device ite: tty 145attach ite at grf 146file arch/amiga/dev/ite.c ite needs-flag 147file arch/amiga/dev/kbdmap.c ite 148file arch/amiga/dev/kf_custom.c kfont_custom 149file arch/amiga/dev/kf_iso8859_1_8x8.c kfont_cons_iso8859_1 & 150 ( ite | wsdisplay) 151file arch/amiga/dev/kf_iso8859_1_8x11.c kfont_cons_iso8859_1 & 152 kfont_8x11 153file arch/amiga/dev/kf_iso8859_2_8x8.c kfont_cons_iso8859_2 & 154 ( ite | wsdisplay ) 155file arch/amiga/dev/kf_iso8859_2_8x11.c kfont_cons_iso8859_2 & 156 kfont_8x11 157 158# custom chips grf (ite0 grf0) 159device grfcc: grfbus 160attach grfcc at mainbus 161file arch/amiga/dev/grf_cc.c grfcc needs-flag 162file arch/amiga/dev/ite_cc.c grfcc & ite 163 164# wscons interface to custom chips 165device amidisplaycc: wsemuldisplaydev 166attach amidisplaycc at mainbus 167file arch/amiga/dev/amidisplaycc.c amidisplaycc needs-flag 168 169defpseudo view 170file arch/amiga/dev/view.c view | grfcc needs-count 171file arch/amiga/dev/grfabs.c grfcc | view | amidisplaycc 172file arch/amiga/dev/grfabs_cc.c grfcc | view | amidisplaycc 173file arch/amiga/dev/grfabs_ccglb.c grfcc | view | amidisplaycc 174 175# retina ZII grf (ite1 grf1) 176device grfrt: grfbus 177attach grfrt at zbus 178file arch/amiga/dev/grf_rt.c grfrt needs-flag 179file arch/amiga/dev/ite_rt.c grfrt & ite 180 181# retina ZIII grf (ite2 grf2) 182device grfrh: grfbus 183attach grfrh at zbus 184file arch/amiga/dev/grf_rh.c grfrh needs-flag 185file arch/amiga/dev/ite_rh.c grfrh & ite 186 187# cirrus grf (ite3 grf3) 188device grfcl: grfbus 189attach grfcl at zbus 190file arch/amiga/dev/grf_cl.c grfcl needs-flag 191file arch/amiga/dev/ite_cl.c grfcl & ite 192 193# A2410 grf (ite4 grf4) 194device grful: grfbus 195attach grful at zbus 196file arch/amiga/dev/grf_ul.c grful needs-flag 197file arch/amiga/dev/ite_ul.c grful & ite 198file arch/amiga/dev/grf_ultms.c grful 199 200# CyberVison 64 grf (ite5 grf5) 201device grfcv: grfbus 202attach grfcv at zbus 203file arch/amiga/dev/grf_cv.c grfcv needs-flag 204file arch/amiga/dev/ite_cv.c grfcv & ite 205 206# Tseng grf (ite6 grf6) 207device grfet: grfbus 208attach grfet at zbus 209file arch/amiga/dev/grf_et.c grfet needs-flag 210file arch/amiga/dev/ite_et.c grfet & ite 211 212# CyberVison 64/3D grf (ite7 grf7) 213device grfcv3d: grfbus 214attach grfcv3d at zbus 215file arch/amiga/dev/grf_cv3d.c grfcv3d needs-flag 216file arch/amiga/dev/ite_cv3d.c grfcv3d & ite 217 218# device defined in sys/conf/files 219# A2065, Ameristar, Ariadne ethernet cards 220attach le at zbus with le_zbus: le24 221file arch/amiga/dev/if_le.c le_zbus needs-flag 222 223# AriadneII ethernet card 224# device defined in sys/conf/files 225attach ne at zbus with ne_zbus: rtl80x9 226file arch/amiga/dev/if_ne_zbus.c ne_zbus needs-flag 227 228# X-Surf 229define xsurfbus {} 230 231device xsurf: xsurfbus 232attach xsurf at zbus 233file arch/amiga/dev/xsurf.c xsurf needs-flag 234 235attach ne at xsurfbus with ne_xsurf: rtl80x9 236file arch/amiga/dev/if_ne_xsurf.c ne_xsurf needs-flag 237 238attach wdc at xsurfbus with wdc_xsurf 239file arch/amiga/dev/wdc_xsurf.c wdc_xsurf & xsurf 240 241define xshbus {} 242 243device xsh: xshbus 244attach xsh at zbus 245file arch/amiga/dev/xsh.c xsh needs-flag 246 247attach ne at xshbus with ne_xsh: dp8390nic 248file arch/amiga/dev/if_ne_xsh.c ne_xsh needs-flag 249 250# Hydra ethernet card 251device ed: ifnet, ether, arp 252attach ed at zbus with ed_zbus: dp8390nic 253file arch/amiga/dev/if_ed_zbus.c ed_zbus needs-flag 254 255# C=/Ameristar A2060 / 560 256attach bah at zbus with bah_zbus 257file arch/amiga/dev/if_bah_zbus.c bah_zbus 258 259# CEI A4066 EthernetPLUS 260device es: ifnet, ether, arp 261attach es at zbus 262file arch/amiga/dev/if_es.c es needs-flag 263 264# Quicknet ethernet card 265device qn: ifnet, ether, arp 266attach qn at zbus 267file arch/amiga/dev/if_qn.c qn needs-flag 268 269# A2232 msc serial ports 270device msc: tty 271attach msc at zbus 272file arch/amiga/dev/msc.c msc needs-count 273 274# bsc/Alf Data MultiFaceCard 275device mfc { unit = -1 } 276attach mfc at zbus 277 278device mfcs: tty 279attach mfcs at mfc 280device mfcp 281attach mfcp at mfc 282file arch/amiga/dev/mfc.c mfcs | mfcp needs-count 283 284# direct bus ISA-chip i/o 285define supio {port = -1} 286 287# DraCo superio chip 288 289device drsupio: supio 290attach drsupio at mainbus 291file arch/amiga/dev/drsupio.c drsupio 292 293# ZBus HyperComs: HyperCom Z3, HyperCom 4 294device hyper: supio 295attach hyper at zbus 296file arch/amiga/dev/hyper.c hyper 297 298# IOBlix 299device iobl: supio, amibus_b16 300attach iobl at zbus with iobl_zbus 301file arch/amiga/dev/ioblix_zbus.c iobl_zbus 302 303 304attach com at supio with com_supio 305file arch/amiga/dev/com_supio.c com_supio 306 307# ISDN Blaster, ISDN Master 308device aster: supio 309attach aster at zbus 310file arch/amiga/dev/aster.c aster 311 312attach isic at supio with isic_supio 313file arch/amiga/dev/isic_supio.c isic_supio 314 315# handle gvp's odd autoconf info.. 316device gvpbus {} 317attach gvpbus at zbus 318file arch/amiga/dev/gvpbus.c gvpbus 319 320attach lpt at supio with lpt_supio 321file arch/amiga/dev/lpt_supio.c lpt_supio 322 323include "dev/scsipi/files.scsipi" 324 325# wd 33c93 contrllers 326define sbic 327file arch/amiga/dev/sbic.c sbic 328 329# GVP series II 330device gtsc: scsi, sbic 331attach gtsc at gvpbus 332file arch/amiga/dev/gtsc.c gtsc needs-flag 333 334# Amiga 3000 internal 335device ahsc: scsi, sbic 336attach ahsc at mainbus 337file arch/amiga/dev/ahsc.c ahsc needs-flag 338 339# C= A2091 340device atzsc: scsi, sbic 341attach atzsc at zbus 342file arch/amiga/dev/atzsc.c atzsc needs-flag 343 344# ncr 5380 controllers 345define sci 346file arch/amiga/dev/sci.c sci 347 348# Supra Wordsync II 349device wstsc: scsi, sci 350attach wstsc at zbus 351file arch/amiga/dev/wstsc.c wstsc needs-flag 352 353# IVS 354device ivsc: scsi, sci 355attach ivsc at zbus 356file arch/amiga/dev/ivsc.c ivsc needs-flag 357 358# MLH 359device mlhsc: scsi, sci 360attach mlhsc at zbus 361file arch/amiga/dev/mlhsc.c mlhsc needs-flag 362 363# CSA twelve gauge. 364device otgsc: scsi, sci 365attach otgsc at zbus 366file arch/amiga/dev/otgsc.c otgsc needs-flag 367 368# ncr 57c710 controllers 369define asiop 370file arch/amiga/dev/siop.c asiop 371 372# PPI Zeus 373device zssc: scsi, asiop 374attach zssc at zbus 375file arch/amiga/dev/zssc.c zssc needs-flag 376 377# CSA Magnum 378device mgnsc: scsi, asiop 379attach mgnsc at zbus 380file arch/amiga/dev/mgnsc.c mgnsc needs-flag 381 382# MacroSystems USA Warp Engine 383device wesc: scsi, asiop 384attach wesc at zbus 385file arch/amiga/dev/wesc.c wesc needs-flag 386 387# C= A4091 & A4000T 388device afsc: scsi, asiop 389attach afsc at zbus 390device aftsc: scsi, asiop 391attach aftsc at mainbus 392file arch/amiga/dev/afsc.c afsc | aftsc needs-flag 393 394# ncr 57c720/770 controllers 395define siopng 396file arch/amiga/dev/siop2.c siopng 397 398# Emulex ESP216 & FAS216 controllers 399 400# FastlaneZ3 401device flsc: scsi, ncr53c9x 402attach flsc at zbus 403file arch/amiga/dev/flsc.c flsc needs-flag 404 405# Blizzard1230-I,II 406device bzsc: scsi, ncr53c9x 407attach bzsc at zbus 408file arch/amiga/dev/bzsc.c bzsc needs-flag 409 410# Blizzard12x0-IV 411device bzivsc: scsi, ncr53c9x 412attach bzivsc at zbus 413file arch/amiga/dev/bzivsc.c bzivsc needs-flag 414 415# Blizzard2060 scsi 416device bztzsc: scsi, ncr53c9x 417attach bztzsc at zbus 418file arch/amiga/dev/bztzsc.c bztzsc needs-flag 419 420# CyberSCSI [I] scsi 421device cbsc: scsi, ncr53c9x 422attach cbsc at zbus 423file arch/amiga/dev/cbsc.c cbsc needs-flag 424 425# CyberSCSI MKII scsi 426device cbiisc: scsi, ncr53c9x 427attach cbiisc at zbus 428file arch/amiga/dev/cbiisc.c cbiisc needs-flag 429 430# EMPLANT 431device empsc: scsi, sci 432attach empsc at zbus 433file arch/amiga/dev/empsc.c empsc needs-flag 434 435# MacroSystem DraCo internal 436device drsc: scsi, asiop 437attach drsc at mainbus 438file arch/amiga/dev/drsc.c drsc needs-flag 439 440# MacroSystem DraCo internal DS2404 hwc 441device drbbc 442attach drbbc at mainbus 443file arch/amiga/dev/drbbc.c drbbc 444 445# kernel floating point emulator 446include "arch/m68k/fpe/files.fpe" 447 448# Motorola 68060 support package 449include "arch/m68k/060sp/files.060sp" 450 451# list of standard files... 452 453file dev/cons.c 454file dev/cninit.c 455file arch/amiga/amiga/amiga_init.c 456file arch/amiga/amiga/autoconf.c 457file arch/amiga/amiga/cia.c 458file arch/amiga/amiga/conf.c 459file arch/amiga/amiga/disksubr.c 460file arch/amiga/amiga/dkbad.c 461file arch/amiga/amiga/machdep.c 462file arch/amiga/amiga/pmap_bootstrap.c 463file arch/amiga/amiga/trap.c 464file arch/amiga/amiga/cc.c 465file dev/md_root.c memory_disk_hooks 466file arch/m68k/m68k/cacheops.c 467file arch/m68k/m68k/db_memrw.c ddb 468file arch/m68k/m68k/pmap_motorola.c 469file arch/m68k/m68k/procfs_machdep.c procfs 470file arch/m68k/m68k/sys_machdep.c 471file arch/m68k/m68k/vm_machdep.c 472file arch/m68k/m68k/bus_dma.c 473 474define gayle 475file arch/amiga/amiga/gayle.c gayle 476 477file arch/amiga/dev/gayle_pcmcia.c pccard 478device pccard: pcmciabus, gayle 479attach pccard at mainbus 480 481include "dev/pcmcia/files.pcmcia" 482 483include "dev/ata/files.ata" 484 485# Amiga 4000/1200 IDE using MI wdc 486attach wdc at mainbus with wdc_amiga: gayle 487file arch/amiga/dev/wdc_amiga.c wdc_amiga 488 489# Buddha wdc 490attach wdc at zbus with wdc_buddha 491file arch/amiga/dev/wdc_buddha.c wdc_buddha 492 493# FastATA 494device efa: ata,wdc_common 495attach efa at mainbus 496file arch/amiga/dev/efa.c efa 497 498# Compatibility modules 499 500# NetBSD m68k a.out Binary Compatibility (COMPAT_AOUT_M68K) 501include "compat/aoutm68k/files.aoutm68k" 502 503# SunOS Binary Compatibility (COMPAT_SUNOS) 504include "compat/sunos/files.sunos" 505file arch/m68k/m68k/sunos_machdep.c compat_sunos 506 507# SVR4 Binary Compatibility (COMPAT_SVR4) 508include "compat/svr4/files.svr4" 509 510# Linux binary compatibility (COMPAT_LINUX) 511include "compat/linux/files.linux" 512include "compat/linux/arch/m68k/files.linux_m68k" 513file arch/m68k/m68k/linux_trap.c compat_linux 514 515# OSS audio driver compatibility 516include "compat/ossaudio/files.ossaudio" 517 518# Bluetooth stack 519include "dev/bluetooth/files.bluetooth" 520 521# USB stack 522include "dev/usb/files.usb" 523 524# Phase5 BPPC/CSPPC internal bus 525device p5bus {} 526attach p5bus at zbus 527file arch/amiga/dev/p5bus.c p5bus 528 529device p5membar {} 530attach p5membar at zbus 531file arch/amiga/pci/p5membar.c p5membar 532 533# CyberStorm MKIII scsi 534device cbiiisc: scsi, siopng 535attach cbiiisc at p5bus 536file arch/amiga/dev/cbiiisc.c cbiiisc needs-flag 537 538# Phase5 Blizzard 603e+ SCSI 539device bppcsc: scsi, asiop 540attach bppcsc at p5bus 541file arch/amiga/dev/bppcsc.c bppcsc needs-flag 542 543# PCI bus 544file arch/amiga/pci/pci_machdep.c pci 545 546device p5pb: pcibus 547attach p5pb at p5bus 548file arch/amiga/pci/p5pb.c p5pb & pci 549 550device mppb: pcibus 551attach mppb at zbus 552file arch/amiga/pci/mppb.c mppb & pci 553 554device cv3dpb: pcibus 555attach cv3dpb at zbus 556file arch/amiga/pci/cv3dpb.c cv3dpb & pci 557 558define empmdev { } 559device empm 560attach empm at empmdev 561file arch/amiga/pci/empm.c empm needs-flag 562 563device empb: pcibus, amibus_empb, empmdev 564attach empb at zbus 565file arch/amiga/pci/empb.c empb & pci & empm 566 567device em4k: pcibus 568attach em4k at zbus 569file arch/amiga/pci/em4k.c em4k & pci 570 571device emmem {} 572attach emmem at zbus 573file arch/amiga/pci/emmem.c emmem 574 575include "dev/i2o/files.i2o" 576include "dev/pci/files.pci" 577 578device z3rambd: altmemdev 579attach z3rambd at zbus 580file arch/amiga/dev/z3rambd.c z3rambd needs-flag 581 582attach slhci at zbus with slhci_zbus 583file arch/amiga/dev/slhci_zbus.c slhci_zbus 584 585define acafhbus {} 586 587device acafh: acafhbus, amibus_b4000 588attach acafh at mainbus 589file arch/amiga/dev/acafh.c acafh needs-count 590 591attach wdc at acafhbus with wdc_acafh 592file arch/amiga/dev/wdc_acafh.c wdc_acafh & acafh 593 594include "arch/amiga/clockport/files.clockport" 595 596include "arch/amiga/conf/majors.amiga" 597