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