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