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