1# $NetBSD: files.alpha,v 1.159 2002/10/26 13:50:21 jdolecek 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/pckbc/files.pckbc" 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 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 303device a12c { }: pcibus 304attach a12c at mainbus 305file arch/alpha/pci/a12c.c a12c 306file arch/alpha/pci/a12c_bus_mem.c a12c 307file arch/alpha/pci/a12c_dma.c a12c 308file arch/alpha/pci/a12c_pci.c a12c 309 310device dwlpx: pcibus, alpha_sgmap, alpha_pci_sgmap_pte32 311attach dwlpx at kft 312file arch/alpha/pci/dwlpx.c dwlpx 313file arch/alpha/pci/dwlpx_bus_io.c dwlpx 314file arch/alpha/pci/dwlpx_bus_mem.c dwlpx 315file arch/alpha/pci/dwlpx_dma.c dwlpx 316file arch/alpha/pci/dwlpx_pci.c dwlpx 317 318device irongate: pcibus, agpbus, agp_amd, isadma_bounce 319attach irongate at mainbus 320file arch/alpha/pci/irongate.c irongate 321file arch/alpha/pci/irongate_bus_io.c irongate 322file arch/alpha/pci/irongate_bus_mem.c irongate 323file arch/alpha/pci/irongate_dma.c irongate 324file arch/alpha/pci/irongate_pci.c irongate 325 326device lca: pcibus, alpha_sgmap, alpha_pci_sgmap_pte64 327attach lca at mainbus 328file arch/alpha/pci/lca.c lca 329file arch/alpha/pci/lca_bus_io.c lca 330file arch/alpha/pci/lca_bus_mem.c lca 331file arch/alpha/pci/lca_dma.c lca 332file arch/alpha/pci/lca_pci.c lca 333 334device mcpcia: pcibus, alpha_sgmap, alpha_pci_sgmap_pte64 335attach mcpcia at mcbus 336file arch/alpha/pci/mcpcia.c mcpcia 337file arch/alpha/pci/mcpcia_bus_io.c mcpcia 338file arch/alpha/pci/mcpcia_bus_mem.c mcpcia 339file arch/alpha/pci/mcpcia_dma.c mcpcia 340file arch/alpha/pci/mcpcia_pci.c mcpcia 341 342device tsc { } 343attach tsc at mainbus 344file arch/alpha/pci/tsc.c dec_6600 345 346device tsp: pcibus, alpha_sgmap, alpha_pci_sgmap_pte64 347attach tsp at tsc 348file arch/alpha/pci/tsp_dma.c tsp 349file arch/alpha/pci/tsp_pci.c tsp 350file arch/alpha/pci/tsp_bus_io.c tsp 351file arch/alpha/pci/tsp_bus_mem.c tsp 352 353device ttwoga { hose = -1 } 354attach ttwoga at mainbus 355device ttwopci: pcibus, alpha_sgmap, alpha_pci_sgmap_pte64 356attach ttwopci at ttwoga 357file arch/alpha/pci/ttwoga.c ttwoga 358file arch/alpha/pci/ttwoga_bus_io.c ttwoga 359file arch/alpha/pci/ttwoga_bus_mem.c ttwoga 360file arch/alpha/pci/ttwoga_dma.c ttwoga 361file arch/alpha/pci/ttwoga_pci.c ttwoga 362 363# 364# Sable STDIO support 365# 366device sableio { port = -1 } 367attach sableio at pcibus 368file arch/alpha/sableio/sableio.c sableio 369 370attach com at sableio with com_sableio 371file arch/alpha/sableio/com_sableio.c com_sableio 372 373attach lpt at sableio with lpt_sableio 374file arch/alpha/sableio/lpt_sableio.c lpt_sableio 375 376attach pckbc at sableio with pckbc_sableio 377file arch/alpha/sableio/pckbc_sableio.c pckbc_sableio 378 379attach fdc at sableio with fdc_sableio 380file arch/alpha/sableio/fdc_sableio.c fdc_sableio 381 382# CPU support files 383file arch/alpha/alpha/dec_2000_300.c dec_2000_300 384file arch/alpha/pci/pci_2100_a50.c dec_2100_a50 385file arch/alpha/pci/pci_2100_a500.c dec_2100_a500 | dec_2100a_a500 386file arch/alpha/pci/pci_up1000.c api_up1000 387file arch/alpha/pci/pci_a12.c avalon_a12 388file arch/alpha/pci/pci_alphabook1.c dec_alphabook1 389file arch/alpha/pci/pci_axppci_33.c dec_axppci_33 390file arch/alpha/pci/pci_eb164.c dec_eb164 391file arch/alpha/pci/pci_eb164_intr.s dec_eb164 392file arch/alpha/pci/pci_eb64plus.c dec_eb64plus 393file arch/alpha/pci/pci_eb64plus_intr.s dec_eb64plus 394file arch/alpha/pci/pci_eb66.c dec_eb66 395file arch/alpha/pci/pci_eb66_intr.s dec_eb66 396file arch/alpha/pci/pci_kn20aa.c dec_kn20aa 397file arch/alpha/pci/pci_kn8ae.c dec_kn8ae 398file arch/alpha/pci/pci_kn300.c dec_kn300 399file arch/alpha/pci/pci_550.c dec_550 400file arch/alpha/pci/pci_1000a.c dec_1000a 401file arch/alpha/pci/pci_1000.c dec_1000 402file arch/alpha/pci/pci_6600.c dec_6600 403 404 405# 406# PCI Bus devices 407# 408 409file arch/alpha/pci/pci_machdep.c pci 410file arch/alpha/pci/agp_machdep.c agp 411 412device sio: isabus, alpha_shared_intr, cy82c693 413attach sio at pci 414device pceb: isabus, eisabus, cy82c693 415attach pceb at pci 416file arch/alpha/pci/sio.c sio | pceb needs-flag 417file arch/alpha/pci/sio_pic.c sio | pceb 418 419# XXX THE FOLLOWING BLOCK SHOULD GO INTO dev/pci/files.pci, BUT CANNOT 420# XXX BECAUSE NOT 'lpt' IS DEFINED IN files.isa, RATHER THAN files. 421# XXX (when the conf/files and files.isa bogons are fixed, this can 422# XXX be fixed as well.) 423 424attach lpt at puc with lpt_puc 425file dev/pci/lpt_puc.c lpt_puc 426 427 428# 429# A12 if_de hack 430# 431device ade: ether, ifnet, arp 432attach ade at pci 433file arch/alpha/a12/if_ade.c ade 434 435# 436# alpha/a12 platform-specific drivers 437# 438 439# Switch 440 441device xb 442attach xb at a12c 443file arch/alpha/a12/if_xb.c xb 444 445# Console 446 447device a12dc 448attach a12dc at a12c 449file arch/alpha/a12/a12dc.c a12dc needs-flag 450 451# 452# Devices that can live on multiple busses 453# 454 455device mcclock 456attach mcclock at ioasic with mcclock_ioasic 457attach mcclock at isa with mcclock_isa 458attach mcclock at gbus with mcclock_tlsb 459attach mcclock at jensenio with mcclock_jensenio 460file arch/alpha/alpha/mcclock.c mcclock 461file arch/alpha/tc/mcclock_ioasic.c mcclock_ioasic 462file arch/alpha/isa/mcclock_isa.c mcclock_isa 463file arch/alpha/tlsb/mcclock_tlsb.c mcclock_tlsb 464file arch/alpha/jensenio/mcclock_jensenio.c mcclock_jensenio 465 466 467# 468# Standard files 469# 470file arch/alpha/alpha/autoconf.c 471file arch/alpha/alpha/clock.c 472file dev/clock_subr.c 473file arch/alpha/alpha/cpuconf.c 474file arch/alpha/alpha/interrupt.c 475file arch/alpha/alpha/ipifuncs.c multiprocessor 476file arch/alpha/alpha/machdep.c 477file arch/alpha/alpha/mainbus.c 478file arch/alpha/alpha/mem.c 479file arch/alpha/alpha/microtime.c 480file arch/alpha/alpha/pmap.c 481file arch/alpha/alpha/process_machdep.c 482file arch/alpha/alpha/procfs_machdep.c procfs 483file arch/alpha/alpha/prom.c 484file arch/alpha/alpha/sys_machdep.c 485file arch/alpha/alpha/syscall.c 486file arch/alpha/alpha/trap.c 487file arch/alpha/alpha/fp_complete.c 488file arch/alpha/alpha/vm_machdep.c 489file arch/alpha/alpha/disksubr.c 490file arch/alpha/common/bus_dma.c 491file arch/alpha/common/comlogout.c 492file dev/cons.c 493 494# Network protocol checksum routines 495file arch/alpha/alpha/in_cksum.c inet 496file netinet/in4_cksum.c inet 497file netns/ns_cksum.c ns 498 499# PROM console support (for ports that don't have native console support) 500file arch/alpha/alpha/promcons.c 501 502# CPU support 503file arch/alpha/alpha/dec_2100_a50.c dec_2100_a50 504file arch/alpha/alpha/dec_2100_a500.c dec_2100_a500 | dec_2100a_a500 505file arch/alpha/alpha/dec_3000_300.c dec_3000_300 506file arch/alpha/alpha/dec_3000_500.c dec_3000_500 507file arch/alpha/alpha/dec_550.c dec_550 508file arch/alpha/alpha/dec_alphabook1.c dec_alphabook1 509file arch/alpha/alpha/dec_axppci_33.c dec_axppci_33 510file arch/alpha/alpha/dec_eb164.c dec_eb164 511file arch/alpha/alpha/dec_eb64plus.c dec_eb64plus 512file arch/alpha/alpha/dec_eb66.c dec_eb66 513file arch/alpha/alpha/dec_kn20aa.c dec_kn20aa 514file arch/alpha/alpha/dec_kn8ae.c dec_kn8ae 515file arch/alpha/alpha/dec_kn300.c dec_kn300 516file arch/alpha/alpha/api_up1000.c api_up1000 517file arch/alpha/alpha/avalon_a12.c avalon_a12 518file arch/alpha/alpha/dec_1000a.c dec_1000 | dec_1000a 519file arch/alpha/alpha/dec_6600.c dec_6600 520 521# Kernel debugger support 522file arch/alpha/alpha/db_disasm.c ddb 523file arch/alpha/alpha/db_interface.c ddb 524file arch/alpha/alpha/db_trace.c ddb 525 526file arch/alpha/alpha/kgdb_machdep.c kgdb 527 528# Binary compatibility with previous NetBSD releases (COMPAT_XX) 529file arch/alpha/alpha/compat_13_machdep.c compat_13 | compat_osf1 530 531# OSF/1 Binary Compatibility (COMPAT_OSF1) 532include "compat/osf1/files.osf1" 533file arch/alpha/alpha/osf1_sigcode.s compat_osf1 534file arch/alpha/alpha/osf1_syscall.c compat_osf1 535 536# Linux Binary Compatibility (COMPAT_LINUX) 537include "compat/linux/files.linux" 538include "compat/linux/arch/alpha/files.linux_alpha" 539file arch/alpha/alpha/linux_sigcode.s compat_linux 540file arch/alpha/alpha/linux_syscall.c compat_linux 541file arch/alpha/alpha/linux_trap.c compat_linux 542 543# OSS audio driver compatibility 544include "compat/ossaudio/files.ossaudio" 545 546# XXXX pcic here because it needs to be late. The catch: pcic needs 547# to be late, so devices which attach to it are attached late. But it 548# needs to be before its isa and pci attachments. This answer is 549# non-optimal, but I don't have a better answer right now. 550 551# PCIC pcmcia contoller 552# XXX this needs to be done very late, so it's done here. This feels 553# like a kludge, but it might be for the best. 554 555defparam PCIC_ISA_ALLOC_IOBASE 556defparam PCIC_ISA_ALLOC_IOSIZE 557defparam PCIC_ISA_INTR_ALLOC_MASK 558 559device pcic: pcmciabus 560file dev/ic/i82365.c pcic 561 562# PCIC pcmcia controller on ISA bus. 563attach pcic at isa with pcic_isa 564file dev/isa/i82365_isa.c pcic_isa 565 566# PCIC pcmcia controller on PCI bus. 567attach pcic at pci with pcic_pci 568file dev/pci/i82365_pci.c pcic_pci 569 570# PCIC pcmcia controller on PnP board 571attach pcic at isapnp with pcic_isapnp 572file dev/isapnp/i82365_isapnp.c pcic_isapnp 573 574# Code common to ISA and ISAPnP attachments 575file dev/isa/i82365_isasubr.c pcic_isa | pcic_isapnp | pcic_pci 576 577 578# this wants to be probed as late as possible. 579# 580# Machine-independent PCMCIA drivers 581# 582include "dev/pcmcia/files.pcmcia" 583# 584# Machine-independent USB device support 585# 586include "dev/usb/files.usb" 587# 588# Machine-independent IEEE 1394 device support 589# 590include "dev/ieee1394/files.ieee1394" 591 592include "arch/alpha/conf/majors.alpha" 593