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