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