1# $NetBSD: files.alpha,v 1.167 2004/08/30 15:05:15 drochner Exp $ 2# 3# alpha-specific configuration info 4 5# maxpartitions must be first item in files.${ARCH}.newconf 6maxpartitions 8 7 8maxusers 8 16 64 9 10# CPU support option headers 11defflag DEC_2000_300 # "Jensen": 2000/300 (DECpc AXP 150) 12defflag DEC_2100_A50 # Avanti etc: AlphaStation 400, 200, etc. 13defflag DEC_2100_A500 # Sable etc: AlphaServer 2100 14defflag DEC_2100A_A500 # Lynx etc: AlphaServer 2100A 15defflag DEC_3000_300 # Pelican etc: 3000/300* 16defflag DEC_3000_500 # Flamingo etc: 3000/[4-9]00* 17defflag DEC_550 # Miata: Personal Workstation (550) 18defflag DEC_AXPPCI_33 # NoName: AXPpci33, etc. 19defflag DEC_EB164 # EB164: AlphaPC 164 20defflag DEC_EB64PLUS # EB64+: AlphaPC 64, etc. 21defflag DEC_KN20AA # KN20AA: AlphaStation 500 and 600 22defflag DEC_KN8AE # KN8AE: AlphaServer 8200 and 8400 23defflag DEC_KN300 # KN300: AlphaServer 4X00 24defflag AVALON_A12 # Avalon: A12T1, A12M Parallel Supercomputer 25defflag DEC_1000 # Mikasa etc: AlphaServer 1000 26defflag DEC_1000A # Corelle etc: AlphaServer 800 and 1000A 27defflag DEC_ALPHABOOK1 # AlphaBook1: Tadpole/DEC AlphaBook 28defflag DEC_EB66 # EB66: 21066 Evaluation Board 29defflag DEC_6600 # EV6 Various EV6 Systems 30defflag API_UP1000 # EV6 Alpha Processor, Inc. UP1000 31 32# Miscellaneous CPU-specific option headers 33defflag FIX_UNALIGNED_VAX_FP 34defflag ZS_IOASIC_DMA 35 36# realtime clock compatible to OSF/1 37defflag CLOCK_COMPAT_OSF1 38 39# this loses, but there's no way to define attributes which have attributes 40define alpha_shared_intr 41file arch/alpha/common/shared_intr.c alpha_shared_intr | dec_eb164 | 42 dec_eb64plus | dec_kn20aa | dec_kn8ae | 43 dec_kn300 | dec_550 | dec_1000 | 44 dec_1000a | dec_eb66 | dec_6600 45define alpha_sgmap 46file arch/alpha/common/sgmap_common.c alpha_sgmap | dec_3000_500 47 48# 49# Bus-independent devices 50# 51 52device mainbus { } # no locators (yet?) 53attach mainbus at root 54 55device cpu { } # not really optional 56attach cpu at mainbus 57file arch/alpha/alpha/cpu.c cpu 58 59# 60# Machine-independent I2O drivers. 61# 62 63include "dev/i2o/files.i2o" 64 65# 66# Machine-independent SCSI drivers 67# 68 69include "dev/scsipi/files.scsipi" 70 71# 72# Machine-independent ATA drivers 73# 74 75include "dev/ata/files.ata" 76 77# Memory Disk 78file dev/md_root.c memory_disk_hooks 79 80# Raster operations 81include "dev/rasops/files.rasops" 82include "dev/wsfont/files.wsfont" 83 84# 85# "Workstation Console" glue. 86# 87include "dev/wscons/files.wscons" 88 89 90# 91# TurboLaser Bus Support 92# 93 94device tlsb { node = -1, offset = -1 } 95attach tlsb at mainbus 96file arch/alpha/tlsb/tlsb.c tlsb & dec_kn8ae 97 98device kft { } 99attach kft at tlsb 100file arch/alpha/tlsb/kftxx.c kft 101 102device tlsbmem 103attach tlsbmem at tlsb 104file arch/alpha/tlsb/tlsbmem.c tlsbmem 105 106device gbus { offset = -1 } 107attach gbus at tlsb 108file arch/alpha/tlsb/gbus.c gbus 109 110# 111# MCBUS support 112# 113 114device mcbus { mid = -1 } 115attach mcbus at mainbus 116file arch/alpha/mcbus/mcbus.c mcbus & dec_kn300 117 118device mcmem 119attach mcmem at mcbus 120file arch/alpha/mcbus/mcmem.c mcmem 121 122# 123# Bus-independent support for DEC devices 124# 125include "dev/dec/files.dec" 126 127# 128# TURBOchannel Devices 129# 130include "dev/tc/files.tc" 131 132# TC attachment is MD 133attach tc at tcbus 134 135device tcasic: tcbus 136attach tcasic at mainbus 137file arch/alpha/tc/tcasic.c tcasic 138file arch/alpha/tc/tc_bus_mem.c tcasic 139file arch/alpha/tc/tc_dma.c tcasic 140file arch/alpha/tc/tc_dma_3000_300.c tcasic & dec_3000_300 141file arch/alpha/tc/tc_dma_3000_500.c tcasic & dec_3000_500 142file arch/alpha/tc/tc_sgmap.c tcasic & dec_3000_500 143file arch/alpha/tc/tc_3000_500.c tcasic & dec_3000_500 144file arch/alpha/tc/tc_3000_300.c tcasic & dec_3000_300 145 146# the TURBOchannel IOCTL ASIC 147# IOASIC device and attachment defined in sys/dev/tc/files.tc 148file arch/alpha/tc/ioasic.c ioasic 149 150# PMAG-B CX 151device cfb: wsemuldisplaydev, wsrasteremulops 152attach cfb at tc 153file dev/tc/cfb.c cfb needs-flag 154 155# PMAGB-B HX or CXT 156device sfb: wsemuldisplaydev, rasops8 157attach sfb at tc 158file dev/tc/sfb.c sfb needs-flag 159 160# PMAG-A MX 161device mfb: wsemuldisplaydev, wsrasteremulops 162attach mfb at tc 163file dev/tc/mfb.c mfb needs-flag 164 165# PMAG-RO/JA TX 166device tfb: wsemuldisplaydev, wsrasteremulops 167attach tfb at tc 168file dev/tc/tfb.c tfb needs-flag 169 170# PMAGD HX+ 171device sfbp: wsemuldisplaydev, rasops32 172attach sfbp at tc 173file dev/tc/sfbplus.c sfbp needs-flag 174 175# XXX: STIC (stamp interface chip) for PX and PXG 176define stic 177file dev/tc/stic.c stic needs-flag 178 179# XXX: PX PMAG-C 180device px: wsemuldisplaydev, stic 181attach px at tc 182file dev/tc/px.c px needs-flag 183 184# XXX: PXG PMAG-D, PMAG-E, PMAG-F 185device pxg: wsemuldisplaydev, stic 186attach pxg at tc 187file dev/tc/pxg.c pxg needs-flag 188 189# 8530 UARTs using the MI 8530 driver 190device zsc { channel = -1 } 191attach zsc at ioasic with zsc_ioasic 192file dev/tc/zs_ioasic.c zsc_ioasic needs-flag 193file dev/ic/z8530sc.c zsc 194 195device zstty: tty 196attach zstty at zsc 197file dev/ic/z8530tty.c zstty needs-flag 198 199device vsms: wsmousedev 200attach vsms at zsc with zsms 201file dev/tc/zsms.c zsms 202 203device lkkbd: wskbddev, lkkbdmap 204attach lkkbd at zsc with zskbd 205file dev/tc/zskbd.c zskbd needs-flag 206 207# TC and baseboard ioasic Lance ethernet are in files.tc 208 209# 210# ISA Bus support 211# 212 213include "dev/pci/files.pci" # XXX some ISA devs are 'at pci' too. 214include "dev/pci/files.agp" 215include "dev/isa/files.isa" 216 217# 218# ISA Bus devices 219# 220 221file arch/alpha/isa/isa_machdep.c isa 222 223define isadma_bounce 224file arch/alpha/isa/isadma_bounce.c isadma_bounce 225 226include "dev/pckbport/files.pckbport" 227 228# ISA speaker generates keyboard beep 229device isabeep 230attach isabeep at pcppi 231 232# Floppy disk controller 233device fdc { drive = -1 }: isadma 234file dev/isa/fd.c fdc needs-flag 235 236attach fdc at isa with fdc_isa 237file dev/isa/fdc_isa.c fdc_isa 238 239device fd: disk 240attach fd at fdc 241 242# ISA Plug 'n Play devices 243file arch/alpha/isa/isapnp_machdep.c isapnp 244 245# 246# EISA Bus support 247# 248 249include "dev/eisa/files.eisa" 250 251file arch/alpha/eisa/eisa_machdep.c eisa 252 253device jensenio {[port = -1]}: eisabus, isabus, isadma_bounce 254attach jensenio at mainbus 255file arch/alpha/jensenio/jensenio.c jensenio 256file arch/alpha/jensenio/jensenio_bus_intio.c jensenio 257file arch/alpha/jensenio/jensenio_bus_io.c jensenio 258file arch/alpha/jensenio/jensenio_bus_mem.c jensenio 259file arch/alpha/jensenio/jensenio_dma.c jensenio 260file arch/alpha/jensenio/jensenio_intr.c jensenio 261 262attach com at jensenio with com_jensenio 263file arch/alpha/jensenio/com_jensenio.c com_jensenio 264 265attach lpt at jensenio with lpt_jensenio 266file arch/alpha/jensenio/lpt_jensenio.c lpt_jensenio 267 268attach pckbc at jensenio with pckbc_jensenio 269file arch/alpha/jensenio/pckbc_jensenio.c pckbc_jensenio 270 271# 272# PCI Bus support 273# 274 275# include "dev/pci/files.pci" XXX SEE ABOVE 276 277file arch/alpha/pci/pciide_machdep.c pciide_common 278 279define alpha_pci_sgmap_pte32 280file arch/alpha/pci/pci_sgmap_pte32.c alpha_pci_sgmap_pte32 281 282define alpha_pci_sgmap_pte64 283file arch/alpha/pci/pci_sgmap_pte64.c alpha_pci_sgmap_pte64 284 285device apecs: pcibus, alpha_sgmap, alpha_pci_sgmap_pte64 286attach apecs at mainbus 287file arch/alpha/pci/apecs.c apecs 288file arch/alpha/pci/apecs_bus_io.c apecs 289file arch/alpha/pci/apecs_bus_mem.c apecs 290file arch/alpha/pci/apecs_dma.c apecs 291file arch/alpha/pci/apecs_pci.c apecs 292 293device cia: pcibus, alpha_sgmap, alpha_pci_sgmap_pte64 294attach cia at mainbus 295file arch/alpha/pci/cia.c cia 296file arch/alpha/pci/cia_dma.c cia 297file arch/alpha/pci/cia_pci.c cia 298file arch/alpha/pci/cia_bwx_bus_io.c cia 299file arch/alpha/pci/cia_bwx_bus_mem.c cia 300file arch/alpha/pci/cia_swiz_bus_io.c cia 301file arch/alpha/pci/cia_swiz_bus_mem.c cia 302 303define a12c_xb {} 304define a12c_a12dc {} 305 306device a12c { }: pcibus, a12c_xb, a12c_a12dc 307attach a12c at mainbus 308file arch/alpha/pci/a12c.c a12c 309file arch/alpha/pci/a12c_bus_mem.c a12c 310file arch/alpha/pci/a12c_dma.c a12c 311file arch/alpha/pci/a12c_pci.c a12c 312 313device dwlpx: pcibus, alpha_sgmap, alpha_pci_sgmap_pte32 314attach dwlpx at kft 315file arch/alpha/pci/dwlpx.c dwlpx 316file arch/alpha/pci/dwlpx_bus_io.c dwlpx 317file arch/alpha/pci/dwlpx_bus_mem.c dwlpx 318file arch/alpha/pci/dwlpx_dma.c dwlpx 319file arch/alpha/pci/dwlpx_pci.c dwlpx 320 321device irongate: pcibus, agpbus, agp_amd, isadma_bounce 322attach irongate at mainbus 323file arch/alpha/pci/irongate.c irongate 324file arch/alpha/pci/irongate_bus_io.c irongate 325file arch/alpha/pci/irongate_bus_mem.c irongate 326file arch/alpha/pci/irongate_dma.c irongate 327file arch/alpha/pci/irongate_pci.c irongate 328 329device lca: pcibus, alpha_sgmap, alpha_pci_sgmap_pte64 330attach lca at mainbus 331file arch/alpha/pci/lca.c lca 332file arch/alpha/pci/lca_bus_io.c lca 333file arch/alpha/pci/lca_bus_mem.c lca 334file arch/alpha/pci/lca_dma.c lca 335file arch/alpha/pci/lca_pci.c lca 336 337device mcpcia: pcibus, alpha_sgmap, alpha_pci_sgmap_pte64 338attach mcpcia at mcbus 339file arch/alpha/pci/mcpcia.c mcpcia 340file arch/alpha/pci/mcpcia_bus_io.c mcpcia 341file arch/alpha/pci/mcpcia_bus_mem.c mcpcia 342file arch/alpha/pci/mcpcia_dma.c mcpcia 343file arch/alpha/pci/mcpcia_pci.c mcpcia 344 345device tsc { } 346attach tsc at mainbus 347file arch/alpha/pci/tsc.c dec_6600 348 349device tsp: pcibus, alpha_sgmap, alpha_pci_sgmap_pte64 350attach tsp at tsc 351file arch/alpha/pci/tsp_dma.c tsp 352file arch/alpha/pci/tsp_pci.c tsp 353file arch/alpha/pci/tsp_bus_io.c tsp 354file arch/alpha/pci/tsp_bus_mem.c tsp 355 356device ttwoga { hose = -1 } 357attach ttwoga at mainbus 358# identical to pcibus 359define sableiobus {[bus = -1]} 360device ttwopci: pcibus, sableiobus, alpha_sgmap, alpha_pci_sgmap_pte64 361attach ttwopci at ttwoga 362file arch/alpha/pci/ttwoga.c ttwoga 363file arch/alpha/pci/ttwoga_bus_io.c ttwoga 364file arch/alpha/pci/ttwoga_bus_mem.c ttwoga 365file arch/alpha/pci/ttwoga_dma.c ttwoga 366file arch/alpha/pci/ttwoga_pci.c ttwoga 367 368# 369# Sable STDIO support 370# 371device sableio { port = -1 } 372attach sableio at sableiobus 373file arch/alpha/sableio/sableio.c sableio 374 375attach com at sableio with com_sableio 376file arch/alpha/sableio/com_sableio.c com_sableio 377 378attach lpt at sableio with lpt_sableio 379file arch/alpha/sableio/lpt_sableio.c lpt_sableio 380 381attach pckbc at sableio with pckbc_sableio 382file arch/alpha/sableio/pckbc_sableio.c pckbc_sableio 383 384attach fdc at sableio with fdc_sableio 385file arch/alpha/sableio/fdc_sableio.c fdc_sableio 386 387# CPU support files 388file arch/alpha/alpha/dec_2000_300.c dec_2000_300 389file arch/alpha/pci/pci_2100_a50.c dec_2100_a50 390file arch/alpha/pci/pci_2100_a500.c dec_2100_a500 | dec_2100a_a500 391file arch/alpha/pci/pci_up1000.c api_up1000 392file arch/alpha/pci/pci_a12.c avalon_a12 393file arch/alpha/pci/pci_alphabook1.c dec_alphabook1 394file arch/alpha/pci/pci_axppci_33.c dec_axppci_33 395file arch/alpha/pci/pci_eb164.c dec_eb164 396file arch/alpha/pci/pci_eb164_intr.s dec_eb164 397file arch/alpha/pci/pci_eb64plus.c dec_eb64plus 398file arch/alpha/pci/pci_eb64plus_intr.s dec_eb64plus 399file arch/alpha/pci/pci_eb66.c dec_eb66 400file arch/alpha/pci/pci_eb66_intr.s dec_eb66 401file arch/alpha/pci/pci_kn20aa.c dec_kn20aa 402file arch/alpha/pci/pci_kn8ae.c dec_kn8ae 403file arch/alpha/pci/pci_kn300.c dec_kn300 404file arch/alpha/pci/pci_550.c dec_550 405file arch/alpha/pci/pci_1000a.c dec_1000a 406file arch/alpha/pci/pci_1000.c dec_1000 407file arch/alpha/pci/pci_6600.c dec_6600 408 409 410# 411# PCI Bus devices 412# 413 414file arch/alpha/pci/pci_machdep.c pci 415file arch/alpha/pci/agp_machdep.c agp 416 417device sio: isabus, alpha_shared_intr, cy82c693 418attach sio at pci 419device pceb: isabus, eisabus, cy82c693, alpha_shared_intr 420attach pceb at pci 421file arch/alpha/pci/sio.c sio | pceb needs-flag 422file arch/alpha/pci/sio_pic.c sio | pceb 423 424# 425# A12 if_de hack 426# 427device ade: ether, ifnet, arp 428attach ade at pci 429file arch/alpha/a12/if_ade.c ade 430 431# 432# alpha/a12 platform-specific drivers 433# 434 435# Switch 436 437device xb 438attach xb at a12c_xb 439file arch/alpha/a12/if_xb.c xb 440 441# Console 442 443device a12dc 444attach a12dc at a12c_a12dc 445file arch/alpha/a12/a12dc.c a12dc needs-flag 446 447# 448# Devices that can live on multiple busses 449# 450 451device mcclock 452attach mcclock at ioasic with mcclock_ioasic 453attach mcclock at isa with mcclock_isa 454attach mcclock at gbus with mcclock_tlsb 455attach mcclock at jensenio with mcclock_jensenio 456file arch/alpha/alpha/mcclock.c mcclock 457file arch/alpha/tc/mcclock_ioasic.c mcclock_ioasic 458file arch/alpha/isa/mcclock_isa.c mcclock_isa 459file arch/alpha/tlsb/mcclock_tlsb.c mcclock_tlsb 460file arch/alpha/jensenio/mcclock_jensenio.c mcclock_jensenio 461 462 463# 464# Standard files 465# 466file arch/alpha/alpha/autoconf.c 467file arch/alpha/alpha/clock.c 468file arch/alpha/alpha/cpuconf.c 469file arch/alpha/alpha/interrupt.c 470file arch/alpha/alpha/ipifuncs.c multiprocessor 471file arch/alpha/alpha/machdep.c 472file arch/alpha/alpha/mainbus.c 473file arch/alpha/alpha/mem.c 474file kern/kern_microtime.c 475file arch/alpha/alpha/pmap.c 476file arch/alpha/alpha/process_machdep.c 477file arch/alpha/alpha/procfs_machdep.c procfs 478file arch/alpha/alpha/prom.c 479file arch/alpha/alpha/sys_machdep.c 480file arch/alpha/alpha/syscall.c 481file arch/alpha/alpha/trap.c 482file arch/alpha/alpha/fp_complete.c 483file arch/alpha/alpha/vm_machdep.c 484file arch/alpha/alpha/disksubr.c 485file arch/alpha/common/bus_dma.c 486file arch/alpha/common/comlogout.c 487file dev/cons.c 488 489# Network protocol checksum routines 490file arch/alpha/alpha/in_cksum.c inet 491file netinet/in4_cksum.c inet 492file netns/ns_cksum.c ns 493 494# PROM console support (for ports that don't have native console support) 495file arch/alpha/alpha/promcons.c 496 497# CPU support 498file arch/alpha/alpha/dec_2100_a50.c dec_2100_a50 499file arch/alpha/alpha/dec_2100_a500.c dec_2100_a500 | dec_2100a_a500 500file arch/alpha/alpha/dec_3000_300.c dec_3000_300 501file arch/alpha/alpha/dec_3000_500.c dec_3000_500 502file arch/alpha/alpha/dec_550.c dec_550 503file arch/alpha/alpha/dec_alphabook1.c dec_alphabook1 504file arch/alpha/alpha/dec_axppci_33.c dec_axppci_33 505file arch/alpha/alpha/dec_eb164.c dec_eb164 506file arch/alpha/alpha/dec_eb64plus.c dec_eb64plus 507file arch/alpha/alpha/dec_eb66.c dec_eb66 508file arch/alpha/alpha/dec_kn20aa.c dec_kn20aa 509file arch/alpha/alpha/dec_kn8ae.c dec_kn8ae 510file arch/alpha/alpha/dec_kn300.c dec_kn300 511file arch/alpha/alpha/api_up1000.c api_up1000 512file arch/alpha/alpha/avalon_a12.c avalon_a12 513file arch/alpha/alpha/dec_1000a.c dec_1000 | dec_1000a 514file arch/alpha/alpha/dec_6600.c dec_6600 515 516# Kernel debugger support 517file arch/alpha/alpha/db_disasm.c ddb 518file arch/alpha/alpha/db_interface.c ddb 519file arch/alpha/alpha/db_trace.c ddb 520 521file arch/alpha/alpha/kgdb_machdep.c kgdb 522 523# Binary compatibility with previous NetBSD releases (COMPAT_XX) 524file arch/alpha/alpha/compat_13_machdep.c compat_13 | compat_osf1 525file arch/alpha/alpha/compat_16_machdep.c compat_16 | compat_osf1 526 527# OSF/1 Binary Compatibility (COMPAT_OSF1) 528include "compat/osf1/files.osf1" 529file arch/alpha/alpha/osf1_sigcode.s compat_osf1 530file arch/alpha/alpha/osf1_syscall.c compat_osf1 531 532# Linux Binary Compatibility (COMPAT_LINUX) 533include "compat/linux/files.linux" 534include "compat/linux/arch/alpha/files.linux_alpha" 535file arch/alpha/alpha/linux_sigcode.s compat_linux 536file arch/alpha/alpha/linux_syscall.c compat_linux 537file arch/alpha/alpha/linux_trap.c compat_linux 538 539# OSS audio driver compatibility 540include "compat/ossaudio/files.ossaudio" 541 542# XXXX pcic here because it needs to be late. The catch: pcic needs 543# to be late, so devices which attach to it are attached late. But it 544# needs to be before its isa and pci attachments. This answer is 545# non-optimal, but I don't have a better answer right now. 546 547# PCIC pcmcia contoller 548# XXX this needs to be done very late, so it's done here. This feels 549# like a kludge, but it might be for the best. 550 551defparam PCIC_ISA_ALLOC_IOBASE 552defparam PCIC_ISA_ALLOC_IOSIZE 553defparam PCIC_ISA_INTR_ALLOC_MASK 554 555device pcic: pcmciabus 556file dev/ic/i82365.c pcic 557 558# PCIC pcmcia controller on ISA bus. 559attach pcic at isa with pcic_isa 560file dev/isa/i82365_isa.c pcic_isa 561 562# PCIC pcmcia controller on PCI bus. 563attach pcic at pci with pcic_pci 564file dev/pci/i82365_pci.c pcic_pci 565 566# PCIC pcmcia controller on PnP board 567attach pcic at isapnp with pcic_isapnp 568file dev/isapnp/i82365_isapnp.c pcic_isapnp 569 570# Code common to ISA and ISAPnP attachments 571file dev/isa/i82365_isasubr.c pcic_isa | pcic_isapnp | pcic_pci 572 573 574# this wants to be probed as late as possible. 575# 576# Machine-independent PCMCIA drivers 577# 578include "dev/pcmcia/files.pcmcia" 579# 580# Machine-independent USB device support 581# 582include "dev/usb/files.usb" 583# 584# Machine-independent IEEE 1394 device support 585# 586include "dev/ieee1394/files.ieee1394" 587 588include "arch/alpha/conf/majors.alpha" 589