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