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