files.alpha revision 1.82
11.82Sthorpej# $NetBSD: files.alpha,v 1.82 1998/06/26 05:42:35 thorpej Exp $ 21.1Scgd# 31.1Scgd# alpha-specific configuration info 41.1Scgd 51.2Scgd# maxpartitions must be first item in files.${ARCH}.newconf 61.2Scgdmaxpartitions 8 71.2Scgd 81.65Sthorpejmaxusers 8 16 64 91.1Scgd 101.44Scgd# CPU support option headers 111.44Scgddefopt DEC_2000_300 # "Jensen": 2000/300 (DECpc AXP 150) 121.44Scgddefopt DEC_2100_A50 # Avanti etc: AlphaStation 400, 200, etc. 131.44Scgddefopt DEC_3000_300 # Pelican etc: 3000/300* 141.44Scgddefopt DEC_3000_500 # Flamingo etc: 3000/[4-9]00* 151.52Scgddefopt DEC_550 # Miata: Personal Workstation (550) 161.44Scgddefopt DEC_AXPPCI_33 # NoName: AXPpci33, etc. 171.44Scgddefopt DEC_EB164 # EB164: AlphaPC 164 181.44Scgddefopt DEC_EB64PLUS # EB64+: AlphaPC 64, etc. 191.44Scgddefopt DEC_KN20AA # KN20AA: AlphaStation 500 and 600 201.44Scgddefopt DEC_KN8AE # KN8AE: AlphaServer 8200 and 8400 211.69Smjacobdefopt DEC_KN300 # KN300: AlphaServer 4X00 221.62Srossdefopt AVALON_A12 # Avalon: A12T1, A12M Parallel Supercomputer 231.81Srossdefopt DEC_1000A # Corelle etc: AlphaServer 800 and 1000A 241.82Sthorpejdefopt DEC_ALPHABOOK1 # AlphaBook1: Tadpole/DEC AlphaBook 251.44Scgd 261.44Scgd# Miscellaneous CPU-specific option headers 271.44Scgddefopt FIX_UNALIGNED_VAX_FP 281.66Sthorpejdefopt ZS_IOASIC_DMA 291.68Sthorpej 301.68Sthorpej# XXX Temporary, until integration is finished. 311.68Sthorpejdefopt NEW_SCC_DRIVER 321.44Scgd 331.30Scgd# this loses, but there's no way to define attributes which have attributes 341.30Scgddefine alpha_shared_intr 351.31Scgdfile arch/alpha/common/shared_intr.c alpha_shared_intr | dec_eb164 | 361.69Smjacob dec_eb64plus | dec_kn20aa | dec_kn8ae | 371.81Sross dec_kn300 | dec_550 | dec_1000a 381.47Sthorpejdefine alpha_sgmap 391.47Sthorpejfile arch/alpha/common/sgmap_common.c alpha_sgmap | dec_3000_500 401.4Scgd 411.4Scgd# 421.4Scgd# Bus-independent devices 431.4Scgd# 441.4Scgd 451.63Sthorpejdevice mainbus { } # no locators (yet?) 461.11Scgdattach mainbus at root 471.1Scgd 481.63Sthorpejdevice cpu { } # not really optional 491.11Scgdattach cpu at mainbus 501.1Scgdfile arch/alpha/alpha/cpu.c cpu 511.1Scgd 521.8Scgd 531.4Scgd# 541.4Scgd# Machine-independent SCSI drivers 551.4Scgd# 561.4Scgd 571.53Sbouyerinclude "dev/scsipi/files.scsipi" 581.4Scgdmajor { st = 2 } 591.4Scgdmajor { cd = 3 } 601.4Scgdmajor { sd = 8 } 611.4Scgd 621.61Sthorpej# 631.61Sthorpej# Machine-independent ATA drivers 641.61Sthorpej# 651.61Sthorpej 661.61Sthorpejinclude "dev/ata/files.ata" 671.61Sthorpejmajor { wd = 4 } 681.61Sthorpej 691.33Spk# Memory Disk 701.33Spkfile arch/alpha/alpha/md_root.c memory_disk_hooks 711.33Spkmajor { md = 6 } 721.8Scgd 731.8Scgd 741.6Scgd# 751.70Sdrochner# "Workstation Console" glue. 761.6Scgd# 771.70Sdrochnerinclude "dev/wscons/files.wscons" 781.6Scgd 791.39Scgd 801.39Scgd# 811.39Scgd# TurboLaser Bus Support 821.39Scgd# 831.39Scgd 841.63Sthorpejdevice tlsb { node = -1, offset = -1 } 851.39Scgdattach tlsb at mainbus 861.39Scgdfile arch/alpha/tlsb/tlsb.c tlsb & dec_kn8ae 871.39Scgd 881.63Sthorpejdevice kft { } 891.39Scgdattach kft at tlsb 901.39Scgdfile arch/alpha/tlsb/kftxx.c kft 911.39Scgd 921.63Sthorpejdevice tlsbmem 931.39Scgdattach tlsbmem at tlsb 941.39Scgdfile arch/alpha/tlsb/tlsbmem.c tlsbmem 951.39Scgd 961.63Sthorpejdevice gbus { offset = -1 } 971.39Scgdattach gbus at tlsb 981.39Scgdfile arch/alpha/tlsb/gbus.c gbus 991.39Scgd 1001.69Smjacob# 1011.69Smjacob# MCBUS support 1021.69Smjacob# 1031.69Smjacob 1041.69Smjacobdevice mcbus { mid = -1 } 1051.69Smjacobattach mcbus at mainbus 1061.69Smjacobfile arch/alpha/mcbus/mcbus.c mcbus & dec_kn300 1071.69Smjacob 1081.69Smjacobdevice mcmem 1091.69Smjacobattach mcmem at mcbus 1101.69Smjacobfile arch/alpha/mcbus/mcmem.c mcmem 1111.39Scgd 1121.6Scgd# 1131.48Sjonathan# Bus-independent support for DEC devices 1141.48Sjonathan# 1151.48Sjonathaninclude "dev/dec/files.dec" 1161.48Sjonathan 1171.48Sjonathan# 1181.4Scgd# TurboChannel Devices 1191.4Scgd# 1201.48Sjonathaninclude "dev/tc/files.tc" 1211.4Scgd 1221.48Sjonathan# TC attachment is MD 1231.48Sjonathanattach tc at tcbus 1241.9Scgd 1251.63Sthorpejdevice tcasic: tcbus 1261.11Scgdattach tcasic at mainbus 1271.9Scgdfile arch/alpha/tc/tcasic.c tcasic 1281.18Scgdfile arch/alpha/tc/tc_bus_mem.c tcasic 1291.47Sthorpejfile arch/alpha/tc/tc_dma.c tcasic 1301.47Sthorpejfile arch/alpha/tc/tc_dma_3000_300.c tcasic & dec_3000_300 1311.47Sthorpejfile arch/alpha/tc/tc_dma_3000_500.c tcasic & dec_3000_500 1321.47Sthorpejfile arch/alpha/tc/tc_sgmap.c tcasic & dec_3000_500 1331.13Scgdfile arch/alpha/tc/tc_3000_500.c tcasic & dec_3000_500 1341.13Scgdfile arch/alpha/tc/tc_3000_300.c tcasic & dec_3000_300 1351.1Scgd 1361.4Scgd# the TurboChannel IOCTL ASIC 1371.48Sjonathan# IOASIC device and attachment defined in sys/dev/tc/files.tc 1381.13Scgdfile arch/alpha/tc/ioasic.c ioasic 1391.1Scgd 1401.16Scgd# Color Frame buffer 1411.70Sdrochnerdevice cfb: wsemuldisplaydev, wsrasteremulops 1421.16Scgdattach cfb at tc 1431.16Scgdfile arch/alpha/tc/cfb.c cfb 1441.16Scgd 1451.16Scgd# Smart Frame buffer 1461.70Sdrochnerdevice sfb: wsemuldisplaydev, wsrasteremulops 1471.11Scgdattach sfb at tc 1481.1Scgdfile arch/alpha/tc/sfb.c sfb 1491.1Scgd 1501.4Scgd# 8530 UARTs 1511.63Sthorpejdevice scc: tty 1521.11Scgdattach scc at ioasic 1531.4Scgdfile arch/alpha/tc/scc.c scc needs-count 1541.66Sthorpej 1551.66Sthorpej# 8530 UARTs using the MI 8530 driver 1561.66Sthorpejdevice zsc { channel = -1 } 1571.66Sthorpejattach zsc at ioasic with zsc_ioasic 1581.66Sthorpejfile arch/alpha/tc/zs_ioasic.c zsc_ioasic 1591.66Sthorpejfile dev/ic/z8530sc.c zsc 1601.66Sthorpej 1611.66Sthorpejdevice zstty: tty 1621.66Sthorpejattach zstty at zsc 1631.66Sthorpejfile dev/ic/z8530tty.c zstty needs-flag 1641.1Scgd 1651.4Scgd# the TCDS ASIC 1661.77Sthorpejdevice tcds { chip = -1 } 1671.11Scgdattach tcds at tc 1681.77Sthorpejfile arch/alpha/tc/tcds.c tcds 1691.4Scgd 1701.4Scgd# 53C[F]90 SCSI 1711.63Sthorpejdevice asc: scsi, ncr53c9x 1721.78Sthorpejattach asc at tcds with asc_tcds 1731.77Sthorpejfile arch/alpha/tc/asc.c asc 1741.38Sthorpejfile arch/alpha/tc/tcds_dma.c asc 1751.4Scgd 1761.48Sjonathan# TC and baseboard ioasic Lance ethernet are in files.tc 1771.8Scgd 1781.8Scgd# 1791.8Scgd# ISA Bus support 1801.8Scgd# 1811.8Scgd 1821.26Scgdinclude "dev/pci/files.pci" # XXX some ISA devs are 'at pci' too. 1831.26Scgdinclude "dev/isa/files.isa" 1841.8Scgd 1851.8Scgd#file arch/alpha/isa/isafcns_jensen.c dec_2000_300 1861.8Scgd 1871.71Sthorpej# XXX THE FOLLOWING BLOCK SHOULD GO INTO dev/pci/files.pci, BUT CANNOT 1881.71Sthorpej# XXX BECAUSE NOT ALL PORTS USE THE MI DRIVER YET. (when the conf/files 1891.71Sthorpej# XXX and files.isa bogons are fixed, this can be fixed as well.) 1901.71Sthorpej 1911.71Sthorpej# PCI IDE controllers 1921.71Sthorpejdevice pciide {[channel = -1]} 1931.71Sthorpejattach pciide at pci 1941.71Sthorpejfile dev/pci/pciide.c pciide 1951.71Sthorpejattach wdc at pciide with wdc_pciide 1961.71Sthorpejfile dev/pci/wdc_pciide.c wdc_pciide 1971.8Scgd 1981.4Scgd# 1991.8Scgd# ISA Bus devices 2001.4Scgd# 2011.1Scgd 2021.11Scgd#device ibus at mainbus { } 2031.11Scgd#device jcombo at ibus: isabus 2041.11Scgd#device jeisa at ibus: eisabus 2051.8Scgd 2061.31Scgdfile arch/alpha/isa/isa_machdep.c isa 2071.31Scgd 2081.70Sdrochnerinclude "dev/pckbc/files.pckbc" 2091.8Scgd 2101.35Scgd# Floppy disk controller 2111.63Sthorpejdevice fdc { drive = -1 } 2121.35Scgdattach fdc at isa 2131.63Sthorpejdevice fd: disk, isadma 2141.35Scgdattach fd at fdc 2151.36Scgdfile arch/alpha/isa/fd.c fdc needs-flag 2161.35Scgdmajor { fd = 0 } 2171.35Scgd 2181.8Scgd# 2191.8Scgd# EISA Bus support 2201.8Scgd# 2211.8Scgd 2221.26Scgdinclude "dev/eisa/files.eisa" 2231.8Scgd 2241.8Scgd 2251.8Scgd# 2261.8Scgd# PCI Bus support 2271.8Scgd# 2281.8Scgd 2291.26Scgd# include "dev/pci/files.pci" XXX SEE ABOVE 2301.71Sthorpej 2311.71Sthorpejfile arch/alpha/pci/pciide_machdep.c pciide 2321.8Scgd 2331.50Scgddefine alpha_pci_sgmap_pte32 2341.50Scgdfile arch/alpha/pci/pci_sgmap_pte32.c alpha_pci_sgmap_pte32 2351.50Scgd 2361.50Scgddefine alpha_pci_sgmap_pte64 2371.50Scgdfile arch/alpha/pci/pci_sgmap_pte64.c alpha_pci_sgmap_pte64 2381.50Scgd 2391.63Sthorpejdevice apecs: pcibus, alpha_sgmap, alpha_pci_sgmap_pte64 2401.10Sthorpejattach apecs at mainbus 2411.5Scgdfile arch/alpha/pci/apecs.c apecs 2421.32Scgdfile arch/alpha/pci/apecs_bus_io.c apecs 2431.32Scgdfile arch/alpha/pci/apecs_bus_mem.c apecs 2441.47Sthorpejfile arch/alpha/pci/apecs_dma.c apecs 2451.5Scgdfile arch/alpha/pci/apecs_pci.c apecs 2461.4Scgd 2471.63Sthorpejdevice cia: pcibus, alpha_sgmap, alpha_pci_sgmap_pte64 2481.10Sthorpejattach cia at mainbus 2491.8Scgdfile arch/alpha/pci/cia.c cia 2501.47Sthorpejfile arch/alpha/pci/cia_dma.c cia 2511.8Scgdfile arch/alpha/pci/cia_pci.c cia 2521.79Sthorpejfile arch/alpha/pci/cia_bwx_bus_io.c cia 2531.79Sthorpejfile arch/alpha/pci/cia_bwx_bus_mem.c cia 2541.51Scgdfile arch/alpha/pci/cia_swiz_bus_io.c cia 2551.51Scgdfile arch/alpha/pci/cia_swiz_bus_mem.c cia 2561.8Scgd 2571.64Srossdevice a12c { }: pcibus 2581.62Srossattach a12c at mainbus 2591.62Srossfile arch/alpha/pci/a12c.c a12c 2601.62Srossfile arch/alpha/pci/a12c_bus_mem.c a12c 2611.62Srossfile arch/alpha/pci/a12c_dma.c a12c 2621.62Srossfile arch/alpha/pci/a12c_pci.c a12c 2631.62Sross 2641.63Sthorpejdevice dwlpx: pcibus, alpha_sgmap, alpha_pci_sgmap_pte32 2651.44Scgdattach dwlpx at kft 2661.44Scgdfile arch/alpha/pci/dwlpx.c dwlpx 2671.69Smjacobfile arch/alpha/pci/dwlpx_bus_io.c dwlpx 2681.69Smjacobfile arch/alpha/pci/dwlpx_bus_mem.c dwlpx 2691.47Sthorpejfile arch/alpha/pci/dwlpx_dma.c dwlpx 2701.44Scgdfile arch/alpha/pci/dwlpx_pci.c dwlpx 2711.44Scgd 2721.63Sthorpejdevice lca: pcibus, alpha_sgmap, alpha_pci_sgmap_pte64 2731.50Scgdattach lca at mainbus 2741.50Scgdfile arch/alpha/pci/lca.c lca 2751.50Scgdfile arch/alpha/pci/lca_bus_io.c lca 2761.50Scgdfile arch/alpha/pci/lca_bus_mem.c lca 2771.50Scgdfile arch/alpha/pci/lca_dma.c lca 2781.50Scgdfile arch/alpha/pci/lca_pci.c lca 2791.44Scgd 2801.69Smjacobdevice mcpcia: pcibus, alpha_sgmap, alpha_pci_sgmap_pte64 2811.69Smjacobattach mcpcia at mcbus 2821.69Smjacobfile arch/alpha/pci/mcpcia.c mcpcia 2831.69Smjacobfile arch/alpha/pci/mcpcia_bus_io.c mcpcia 2841.69Smjacobfile arch/alpha/pci/mcpcia_bus_mem.c mcpcia 2851.69Smjacobfile arch/alpha/pci/mcpcia_dma.c mcpcia 2861.69Smjacobfile arch/alpha/pci/mcpcia_pci.c mcpcia 2871.69Smjacob 2881.69Smjacob 2891.44Scgd# CPU support files 2901.5Scgdfile arch/alpha/pci/pci_2100_a50.c dec_2100_a50 2911.62Srossfile arch/alpha/pci/pci_a12.c avalon_a12 2921.82Sthorpejfile arch/alpha/pci/pci_alphabook1.c dec_alphabook1 2931.28Scgdfile arch/alpha/pci/pci_axppci_33.c dec_axppci_33 2941.28Scgdfile arch/alpha/pci/pci_eb164.c dec_eb164 2951.32Scgdfile arch/alpha/pci/pci_eb164_intr.s dec_eb164 2961.74Sthorpejfile arch/alpha/pci/pci_eb64plus.c dec_eb64plus 2971.41Scgdfile arch/alpha/pci/pci_eb64plus_intr.s dec_eb64plus 2981.8Scgdfile arch/alpha/pci/pci_kn20aa.c dec_kn20aa 2991.69Smjacobfile arch/alpha/pci/pci_kn8ae.c dec_kn8ae 3001.69Smjacobfile arch/alpha/pci/pci_kn300.c dec_kn300 3011.75Sthorpejfile arch/alpha/pci/pci_550.c dec_550 3021.81Srossfile arch/alpha/pci/pci_1000a.c dec_1000a 3031.8Scgd 3041.4Scgd 3051.4Scgd# 3061.8Scgd# PCI Bus devices 3071.4Scgd# 3081.1Scgd 3091.4Scgdfile arch/alpha/pci/pci_machdep.c pci 3101.1Scgd 3111.63Sthorpejdevice sio: isabus, alpha_shared_intr 3121.10Sthorpejattach sio at pci 3131.63Sthorpejdevice pceb: isabus, eisabus 3141.10Sthorpejattach pceb at pci 3151.11Scgdfile arch/alpha/pci/sio.c sio | pceb needs-flag 3161.11Scgdfile arch/alpha/pci/sio_pic.c sio | pceb 3171.5Scgd 3181.6Scgd 3191.62Sross# 3201.62Sross# A12 if_de hack, this is temporary! 3211.62Sross# 3221.63Sthorpejdevice ade: ether, ifnet, arp 3231.62Srossattach ade at pci 3241.62Srossfile arch/alpha/pci/if_ade.c ade 3251.64Sross 3261.64Sross# 3271.64Sross# alpha/a12 platform-specific drivers 3281.64Sross# 3291.64Sross 3301.64Sross# Switch 3311.64Sross 3321.64Srossdevice xb 3331.64Srossattach xb at a12c 3341.64Srossfile arch/alpha/a12/if_xb.c xb 3351.64Sross 3361.64Sross# Console 3371.64Sross 3381.64Srossdevice a12dc 3391.64Srossattach a12dc at a12c 3401.64Srossfile arch/alpha/a12/a12dc.c a12dc needs-flag 3411.8Scgd 3421.5Scgd# 3431.8Scgd# Devices that can live on multiple busses 3441.5Scgd# 3451.5Scgd 3461.63Sthorpejdevice mcclock 3471.12Scgdattach mcclock at ioasic with mcclock_ioasic 3481.12Scgdattach mcclock at isa with mcclock_isa 3491.39Scgdattach mcclock at gbus with mcclock_tlsb 3501.12Scgdfile arch/alpha/alpha/mcclock.c mcclock 3511.12Scgdfile arch/alpha/tc/mcclock_ioasic.c mcclock_ioasic 3521.12Scgdfile arch/alpha/isa/mcclock_isa.c mcclock_isa 3531.39Scgdfile arch/alpha/tlsb/mcclock_tlsb.c mcclock_tlsb 3541.39Scgd 3551.5Scgd 3561.4Scgd# 3571.4Scgd# Standard files 3581.4Scgd# 3591.1Scgdfile arch/alpha/alpha/autoconf.c 3601.12Scgdfile arch/alpha/alpha/clock.c 3611.1Scgdfile arch/alpha/alpha/conf.c 3621.55Sthorpejfile arch/alpha/alpha/cpuconf.c 3631.1Scgdfile arch/alpha/alpha/interrupt.c 3641.1Scgdfile arch/alpha/alpha/machdep.c 3651.1Scgdfile arch/alpha/alpha/mainbus.c 3661.1Scgdfile arch/alpha/alpha/mem.c 3671.67Sthorpejfile arch/alpha/alpha/pmap.c 3681.1Scgdfile arch/alpha/alpha/process_machdep.c 3691.1Scgdfile arch/alpha/alpha/prom.c 3701.1Scgdfile arch/alpha/alpha/support.c 3711.1Scgdfile arch/alpha/alpha/sys_machdep.c 3721.1Scgdfile arch/alpha/alpha/trap.c 3731.1Scgdfile arch/alpha/alpha/vm_machdep.c 3741.1Scgdfile arch/alpha/alpha/disksubr.c 3751.47Sthorpejfile arch/alpha/common/bus_dma.c 3761.1Scgdfile dev/cons.c 3771.4Scgd 3781.44Scgd# Network protocol checksum routines 3791.44Scgdfile arch/alpha/alpha/in_cksum.c inet 3801.19Scgdfile netns/ns_cksum.c ns 3811.1Scgd 3821.44Scgd# PROM console support (for ports that don't have native console support) 3831.5Scgdfile arch/alpha/alpha/promcons.c 3841.6Scgd 3851.44Scgd# CPU support 3861.59Sthorpejfile arch/alpha/alpha/dec_2100_a50.c dec_2100_a50 3871.59Sthorpejfile arch/alpha/alpha/dec_3000_300.c dec_3000_300 3881.59Sthorpejfile arch/alpha/alpha/dec_3000_500.c dec_3000_500 3891.59Sthorpejfile arch/alpha/alpha/dec_550.c dec_550 3901.82Sthorpejfile arch/alpha/alpha/dec_alphabook1.c dec_alphabook1 3911.59Sthorpejfile arch/alpha/alpha/dec_axppci_33.c dec_axppci_33 3921.59Sthorpejfile arch/alpha/alpha/dec_eb164.c dec_eb164 3931.59Sthorpejfile arch/alpha/alpha/dec_eb64plus.c dec_eb64plus 3941.59Sthorpejfile arch/alpha/alpha/dec_kn20aa.c dec_kn20aa 3951.59Sthorpejfile arch/alpha/alpha/dec_kn8ae.c dec_kn8ae 3961.69Smjacobfile arch/alpha/alpha/dec_kn300.c dec_kn300 3971.62Srossfile arch/alpha/alpha/avalon_a12.c avalon_a12 3981.81Srossfile arch/alpha/alpha/dec_1000a.c dec_1000a 3991.58Sthorpej 4001.58Sthorpej# Kernel debugger support 4011.58Sthorpejfile arch/alpha/alpha/db_disasm.c ddb 4021.58Sthorpejfile arch/alpha/alpha/db_interface.c ddb 4031.58Sthorpejfile arch/alpha/alpha/db_trace.c ddb 4041.7Sthorpej 4051.7Sthorpej# OSF/1 Binary Compatibility (COMPAT_OSF1) 4061.26Scgdinclude "compat/osf1/files.osf1" 4071.76Smatt 4081.76Smatt# XXXX pcic here because it needs to be late. The catch: pcic needs 4091.76Smatt# to be late, so devices which attach to it are attached late. But it 4101.76Smatt# needs to be before its isa and pci attachments. This answer is 4111.76Smatt# non-optimal, but I don't have a better answer right now. 4121.76Smatt 4131.76Smatt# PCIC pcmcia contoller 4141.76Smatt# XXX this needs to be done very late, so it's done here. This feels 4151.76Smatt# like a kludge, but it might be for the best. 4161.76Smatt 4171.76Smattdefopt PCIC_ISA_ALLOC_IOBASE 4181.76Smattdefopt PCIC_ISA_ALLOC_IOSIZE 4191.76Smattdefopt PCIC_ISA_INTR_ALLOC_MASK 4201.76Smatt 4211.76Smattdevice pcic {[controller = -1], [socket = -1]} 4221.76Smattfile dev/ic/i82365.c pcic 4231.76Smatt 4241.76Smatt# PCIC pcmcia contoller 4251.76Smattattach pcic at isa with pcic_isa 4261.76Smattfile dev/isa/i82365_isa.c pcic_isa 4271.80Ssommerfefile dev/isa/i82365_isasubr.c pcic_isa 4281.76Smatt 4291.76Smatt# PCIC pcmcia contoller 4301.76Smattattach pcic at pci with pcic_pci 4311.76Smattfile dev/pci/i82365_pci.c pcic_pci 4321.76Smatt 4331.76Smatt 4341.76Smatt# this wants to be probed as late as possible. 4351.76Smatt# 4361.76Smatt# Machine-independent PCMCIA drivers 4371.76Smatt# 4381.76Smattinclude "dev/pcmcia/files.pcmcia" 439