files.alpha revision 1.81
11.81Sross# $NetBSD: files.alpha,v 1.81 1998/06/24 01:13:15 ross 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.44Scgd 251.44Scgd# Miscellaneous CPU-specific option headers 261.44Scgddefopt FIX_UNALIGNED_VAX_FP 271.66Sthorpejdefopt ZS_IOASIC_DMA 281.68Sthorpej 291.68Sthorpej# XXX Temporary, until integration is finished. 301.68Sthorpejdefopt NEW_SCC_DRIVER 311.44Scgd 321.30Scgd# this loses, but there's no way to define attributes which have attributes 331.30Scgddefine alpha_shared_intr 341.31Scgdfile arch/alpha/common/shared_intr.c alpha_shared_intr | dec_eb164 | 351.69Smjacob dec_eb64plus | dec_kn20aa | dec_kn8ae | 361.81Sross dec_kn300 | dec_550 | dec_1000a 371.47Sthorpejdefine alpha_sgmap 381.47Sthorpejfile arch/alpha/common/sgmap_common.c alpha_sgmap | dec_3000_500 391.4Scgd 401.4Scgd# 411.4Scgd# Bus-independent devices 421.4Scgd# 431.4Scgd 441.63Sthorpejdevice mainbus { } # no locators (yet?) 451.11Scgdattach mainbus at root 461.1Scgd 471.63Sthorpejdevice cpu { } # not really optional 481.11Scgdattach cpu at mainbus 491.1Scgdfile arch/alpha/alpha/cpu.c cpu 501.1Scgd 511.8Scgd 521.4Scgd# 531.4Scgd# Machine-independent SCSI drivers 541.4Scgd# 551.4Scgd 561.53Sbouyerinclude "dev/scsipi/files.scsipi" 571.4Scgdmajor { st = 2 } 581.4Scgdmajor { cd = 3 } 591.4Scgdmajor { sd = 8 } 601.4Scgd 611.61Sthorpej# 621.61Sthorpej# Machine-independent ATA drivers 631.61Sthorpej# 641.61Sthorpej 651.61Sthorpejinclude "dev/ata/files.ata" 661.61Sthorpejmajor { wd = 4 } 671.61Sthorpej 681.33Spk# Memory Disk 691.33Spkfile arch/alpha/alpha/md_root.c memory_disk_hooks 701.33Spkmajor { md = 6 } 711.8Scgd 721.8Scgd 731.6Scgd# 741.70Sdrochner# "Workstation Console" glue. 751.6Scgd# 761.70Sdrochnerinclude "dev/wscons/files.wscons" 771.6Scgd 781.39Scgd 791.39Scgd# 801.39Scgd# TurboLaser Bus Support 811.39Scgd# 821.39Scgd 831.63Sthorpejdevice tlsb { node = -1, offset = -1 } 841.39Scgdattach tlsb at mainbus 851.39Scgdfile arch/alpha/tlsb/tlsb.c tlsb & dec_kn8ae 861.39Scgd 871.63Sthorpejdevice kft { } 881.39Scgdattach kft at tlsb 891.39Scgdfile arch/alpha/tlsb/kftxx.c kft 901.39Scgd 911.63Sthorpejdevice tlsbmem 921.39Scgdattach tlsbmem at tlsb 931.39Scgdfile arch/alpha/tlsb/tlsbmem.c tlsbmem 941.39Scgd 951.63Sthorpejdevice gbus { offset = -1 } 961.39Scgdattach gbus at tlsb 971.39Scgdfile arch/alpha/tlsb/gbus.c gbus 981.39Scgd 991.69Smjacob# 1001.69Smjacob# MCBUS support 1011.69Smjacob# 1021.69Smjacob 1031.69Smjacobdevice mcbus { mid = -1 } 1041.69Smjacobattach mcbus at mainbus 1051.69Smjacobfile arch/alpha/mcbus/mcbus.c mcbus & dec_kn300 1061.69Smjacob 1071.69Smjacobdevice mcmem 1081.69Smjacobattach mcmem at mcbus 1091.69Smjacobfile arch/alpha/mcbus/mcmem.c mcmem 1101.39Scgd 1111.6Scgd# 1121.48Sjonathan# Bus-independent support for DEC devices 1131.48Sjonathan# 1141.48Sjonathaninclude "dev/dec/files.dec" 1151.48Sjonathan 1161.48Sjonathan# 1171.4Scgd# TurboChannel Devices 1181.4Scgd# 1191.48Sjonathaninclude "dev/tc/files.tc" 1201.4Scgd 1211.48Sjonathan# TC attachment is MD 1221.48Sjonathanattach tc at tcbus 1231.9Scgd 1241.63Sthorpejdevice tcasic: tcbus 1251.11Scgdattach tcasic at mainbus 1261.9Scgdfile arch/alpha/tc/tcasic.c tcasic 1271.18Scgdfile arch/alpha/tc/tc_bus_mem.c tcasic 1281.47Sthorpejfile arch/alpha/tc/tc_dma.c tcasic 1291.47Sthorpejfile arch/alpha/tc/tc_dma_3000_300.c tcasic & dec_3000_300 1301.47Sthorpejfile arch/alpha/tc/tc_dma_3000_500.c tcasic & dec_3000_500 1311.47Sthorpejfile arch/alpha/tc/tc_sgmap.c tcasic & dec_3000_500 1321.13Scgdfile arch/alpha/tc/tc_3000_500.c tcasic & dec_3000_500 1331.13Scgdfile arch/alpha/tc/tc_3000_300.c tcasic & dec_3000_300 1341.1Scgd 1351.4Scgd# the TurboChannel IOCTL ASIC 1361.48Sjonathan# IOASIC device and attachment defined in sys/dev/tc/files.tc 1371.13Scgdfile arch/alpha/tc/ioasic.c ioasic 1381.1Scgd 1391.16Scgd# Color Frame buffer 1401.70Sdrochnerdevice cfb: wsemuldisplaydev, wsrasteremulops 1411.16Scgdattach cfb at tc 1421.16Scgdfile arch/alpha/tc/cfb.c cfb 1431.16Scgd 1441.16Scgd# Smart Frame buffer 1451.70Sdrochnerdevice sfb: wsemuldisplaydev, wsrasteremulops 1461.11Scgdattach sfb at tc 1471.1Scgdfile arch/alpha/tc/sfb.c sfb 1481.1Scgd 1491.4Scgd# 8530 UARTs 1501.63Sthorpejdevice scc: tty 1511.11Scgdattach scc at ioasic 1521.4Scgdfile arch/alpha/tc/scc.c scc needs-count 1531.66Sthorpej 1541.66Sthorpej# 8530 UARTs using the MI 8530 driver 1551.66Sthorpejdevice zsc { channel = -1 } 1561.66Sthorpejattach zsc at ioasic with zsc_ioasic 1571.66Sthorpejfile arch/alpha/tc/zs_ioasic.c zsc_ioasic 1581.66Sthorpejfile dev/ic/z8530sc.c zsc 1591.66Sthorpej 1601.66Sthorpejdevice zstty: tty 1611.66Sthorpejattach zstty at zsc 1621.66Sthorpejfile dev/ic/z8530tty.c zstty needs-flag 1631.1Scgd 1641.4Scgd# the TCDS ASIC 1651.77Sthorpejdevice tcds { chip = -1 } 1661.11Scgdattach tcds at tc 1671.77Sthorpejfile arch/alpha/tc/tcds.c tcds 1681.4Scgd 1691.4Scgd# 53C[F]90 SCSI 1701.63Sthorpejdevice asc: scsi, ncr53c9x 1711.78Sthorpejattach asc at tcds with asc_tcds 1721.77Sthorpejfile arch/alpha/tc/asc.c asc 1731.38Sthorpejfile arch/alpha/tc/tcds_dma.c asc 1741.4Scgd 1751.48Sjonathan# TC and baseboard ioasic Lance ethernet are in files.tc 1761.8Scgd 1771.8Scgd# 1781.8Scgd# ISA Bus support 1791.8Scgd# 1801.8Scgd 1811.26Scgdinclude "dev/pci/files.pci" # XXX some ISA devs are 'at pci' too. 1821.26Scgdinclude "dev/isa/files.isa" 1831.8Scgd 1841.8Scgd#file arch/alpha/isa/isafcns_jensen.c dec_2000_300 1851.8Scgd 1861.71Sthorpej# XXX THE FOLLOWING BLOCK SHOULD GO INTO dev/pci/files.pci, BUT CANNOT 1871.71Sthorpej# XXX BECAUSE NOT ALL PORTS USE THE MI DRIVER YET. (when the conf/files 1881.71Sthorpej# XXX and files.isa bogons are fixed, this can be fixed as well.) 1891.71Sthorpej 1901.71Sthorpej# PCI IDE controllers 1911.71Sthorpejdevice pciide {[channel = -1]} 1921.71Sthorpejattach pciide at pci 1931.71Sthorpejfile dev/pci/pciide.c pciide 1941.71Sthorpejattach wdc at pciide with wdc_pciide 1951.71Sthorpejfile dev/pci/wdc_pciide.c wdc_pciide 1961.8Scgd 1971.4Scgd# 1981.8Scgd# ISA Bus devices 1991.4Scgd# 2001.1Scgd 2011.11Scgd#device ibus at mainbus { } 2021.11Scgd#device jcombo at ibus: isabus 2031.11Scgd#device jeisa at ibus: eisabus 2041.8Scgd 2051.31Scgdfile arch/alpha/isa/isa_machdep.c isa 2061.31Scgd 2071.70Sdrochnerinclude "dev/pckbc/files.pckbc" 2081.8Scgd 2091.35Scgd# Floppy disk controller 2101.63Sthorpejdevice fdc { drive = -1 } 2111.35Scgdattach fdc at isa 2121.63Sthorpejdevice fd: disk, isadma 2131.35Scgdattach fd at fdc 2141.36Scgdfile arch/alpha/isa/fd.c fdc needs-flag 2151.35Scgdmajor { fd = 0 } 2161.35Scgd 2171.8Scgd# 2181.8Scgd# EISA Bus support 2191.8Scgd# 2201.8Scgd 2211.26Scgdinclude "dev/eisa/files.eisa" 2221.8Scgd 2231.8Scgd 2241.8Scgd# 2251.8Scgd# PCI Bus support 2261.8Scgd# 2271.8Scgd 2281.26Scgd# include "dev/pci/files.pci" XXX SEE ABOVE 2291.71Sthorpej 2301.71Sthorpejfile arch/alpha/pci/pciide_machdep.c pciide 2311.8Scgd 2321.50Scgddefine alpha_pci_sgmap_pte32 2331.50Scgdfile arch/alpha/pci/pci_sgmap_pte32.c alpha_pci_sgmap_pte32 2341.50Scgd 2351.50Scgddefine alpha_pci_sgmap_pte64 2361.50Scgdfile arch/alpha/pci/pci_sgmap_pte64.c alpha_pci_sgmap_pte64 2371.50Scgd 2381.63Sthorpejdevice apecs: pcibus, alpha_sgmap, alpha_pci_sgmap_pte64 2391.10Sthorpejattach apecs at mainbus 2401.5Scgdfile arch/alpha/pci/apecs.c apecs 2411.32Scgdfile arch/alpha/pci/apecs_bus_io.c apecs 2421.32Scgdfile arch/alpha/pci/apecs_bus_mem.c apecs 2431.47Sthorpejfile arch/alpha/pci/apecs_dma.c apecs 2441.5Scgdfile arch/alpha/pci/apecs_pci.c apecs 2451.4Scgd 2461.63Sthorpejdevice cia: pcibus, alpha_sgmap, alpha_pci_sgmap_pte64 2471.10Sthorpejattach cia at mainbus 2481.8Scgdfile arch/alpha/pci/cia.c cia 2491.47Sthorpejfile arch/alpha/pci/cia_dma.c cia 2501.8Scgdfile arch/alpha/pci/cia_pci.c cia 2511.79Sthorpejfile arch/alpha/pci/cia_bwx_bus_io.c cia 2521.79Sthorpejfile arch/alpha/pci/cia_bwx_bus_mem.c cia 2531.51Scgdfile arch/alpha/pci/cia_swiz_bus_io.c cia 2541.51Scgdfile arch/alpha/pci/cia_swiz_bus_mem.c cia 2551.8Scgd 2561.64Srossdevice a12c { }: pcibus 2571.62Srossattach a12c at mainbus 2581.62Srossfile arch/alpha/pci/a12c.c a12c 2591.62Srossfile arch/alpha/pci/a12c_bus_mem.c a12c 2601.62Srossfile arch/alpha/pci/a12c_dma.c a12c 2611.62Srossfile arch/alpha/pci/a12c_pci.c a12c 2621.62Sross 2631.63Sthorpejdevice dwlpx: pcibus, alpha_sgmap, alpha_pci_sgmap_pte32 2641.44Scgdattach dwlpx at kft 2651.44Scgdfile arch/alpha/pci/dwlpx.c dwlpx 2661.69Smjacobfile arch/alpha/pci/dwlpx_bus_io.c dwlpx 2671.69Smjacobfile arch/alpha/pci/dwlpx_bus_mem.c dwlpx 2681.47Sthorpejfile arch/alpha/pci/dwlpx_dma.c dwlpx 2691.44Scgdfile arch/alpha/pci/dwlpx_pci.c dwlpx 2701.44Scgd 2711.63Sthorpejdevice lca: pcibus, alpha_sgmap, alpha_pci_sgmap_pte64 2721.50Scgdattach lca at mainbus 2731.50Scgdfile arch/alpha/pci/lca.c lca 2741.50Scgdfile arch/alpha/pci/lca_bus_io.c lca 2751.50Scgdfile arch/alpha/pci/lca_bus_mem.c lca 2761.50Scgdfile arch/alpha/pci/lca_dma.c lca 2771.50Scgdfile arch/alpha/pci/lca_pci.c lca 2781.44Scgd 2791.69Smjacobdevice mcpcia: pcibus, alpha_sgmap, alpha_pci_sgmap_pte64 2801.69Smjacobattach mcpcia at mcbus 2811.69Smjacobfile arch/alpha/pci/mcpcia.c mcpcia 2821.69Smjacobfile arch/alpha/pci/mcpcia_bus_io.c mcpcia 2831.69Smjacobfile arch/alpha/pci/mcpcia_bus_mem.c mcpcia 2841.69Smjacobfile arch/alpha/pci/mcpcia_dma.c mcpcia 2851.69Smjacobfile arch/alpha/pci/mcpcia_pci.c mcpcia 2861.69Smjacob 2871.69Smjacob 2881.44Scgd# CPU support files 2891.5Scgdfile arch/alpha/pci/pci_2100_a50.c dec_2100_a50 2901.62Srossfile arch/alpha/pci/pci_a12.c avalon_a12 2911.28Scgdfile arch/alpha/pci/pci_axppci_33.c dec_axppci_33 2921.28Scgdfile arch/alpha/pci/pci_eb164.c dec_eb164 2931.32Scgdfile arch/alpha/pci/pci_eb164_intr.s dec_eb164 2941.74Sthorpejfile arch/alpha/pci/pci_eb64plus.c dec_eb64plus 2951.41Scgdfile arch/alpha/pci/pci_eb64plus_intr.s dec_eb64plus 2961.8Scgdfile arch/alpha/pci/pci_kn20aa.c dec_kn20aa 2971.69Smjacobfile arch/alpha/pci/pci_kn8ae.c dec_kn8ae 2981.69Smjacobfile arch/alpha/pci/pci_kn300.c dec_kn300 2991.75Sthorpejfile arch/alpha/pci/pci_550.c dec_550 3001.81Srossfile arch/alpha/pci/pci_1000a.c dec_1000a 3011.8Scgd 3021.4Scgd 3031.4Scgd# 3041.8Scgd# PCI Bus devices 3051.4Scgd# 3061.1Scgd 3071.4Scgdfile arch/alpha/pci/pci_machdep.c pci 3081.1Scgd 3091.63Sthorpejdevice sio: isabus, alpha_shared_intr 3101.10Sthorpejattach sio at pci 3111.63Sthorpejdevice pceb: isabus, eisabus 3121.10Sthorpejattach pceb at pci 3131.11Scgdfile arch/alpha/pci/sio.c sio | pceb needs-flag 3141.11Scgdfile arch/alpha/pci/sio_pic.c sio | pceb 3151.5Scgd 3161.6Scgd 3171.62Sross# 3181.62Sross# A12 if_de hack, this is temporary! 3191.62Sross# 3201.63Sthorpejdevice ade: ether, ifnet, arp 3211.62Srossattach ade at pci 3221.62Srossfile arch/alpha/pci/if_ade.c ade 3231.64Sross 3241.64Sross# 3251.64Sross# alpha/a12 platform-specific drivers 3261.64Sross# 3271.64Sross 3281.64Sross# Switch 3291.64Sross 3301.64Srossdevice xb 3311.64Srossattach xb at a12c 3321.64Srossfile arch/alpha/a12/if_xb.c xb 3331.64Sross 3341.64Sross# Console 3351.64Sross 3361.64Srossdevice a12dc 3371.64Srossattach a12dc at a12c 3381.64Srossfile arch/alpha/a12/a12dc.c a12dc needs-flag 3391.8Scgd 3401.5Scgd# 3411.8Scgd# Devices that can live on multiple busses 3421.5Scgd# 3431.5Scgd 3441.63Sthorpejdevice mcclock 3451.12Scgdattach mcclock at ioasic with mcclock_ioasic 3461.12Scgdattach mcclock at isa with mcclock_isa 3471.39Scgdattach mcclock at gbus with mcclock_tlsb 3481.12Scgdfile arch/alpha/alpha/mcclock.c mcclock 3491.12Scgdfile arch/alpha/tc/mcclock_ioasic.c mcclock_ioasic 3501.12Scgdfile arch/alpha/isa/mcclock_isa.c mcclock_isa 3511.39Scgdfile arch/alpha/tlsb/mcclock_tlsb.c mcclock_tlsb 3521.39Scgd 3531.5Scgd 3541.4Scgd# 3551.4Scgd# Standard files 3561.4Scgd# 3571.1Scgdfile arch/alpha/alpha/autoconf.c 3581.12Scgdfile arch/alpha/alpha/clock.c 3591.1Scgdfile arch/alpha/alpha/conf.c 3601.55Sthorpejfile arch/alpha/alpha/cpuconf.c 3611.1Scgdfile arch/alpha/alpha/interrupt.c 3621.1Scgdfile arch/alpha/alpha/machdep.c 3631.1Scgdfile arch/alpha/alpha/mainbus.c 3641.1Scgdfile arch/alpha/alpha/mem.c 3651.67Sthorpejfile arch/alpha/alpha/pmap.c 3661.1Scgdfile arch/alpha/alpha/process_machdep.c 3671.1Scgdfile arch/alpha/alpha/prom.c 3681.1Scgdfile arch/alpha/alpha/support.c 3691.1Scgdfile arch/alpha/alpha/sys_machdep.c 3701.1Scgdfile arch/alpha/alpha/trap.c 3711.1Scgdfile arch/alpha/alpha/vm_machdep.c 3721.1Scgdfile arch/alpha/alpha/disksubr.c 3731.47Sthorpejfile arch/alpha/common/bus_dma.c 3741.1Scgdfile dev/cons.c 3751.4Scgd 3761.44Scgd# Network protocol checksum routines 3771.44Scgdfile arch/alpha/alpha/in_cksum.c inet 3781.19Scgdfile netns/ns_cksum.c ns 3791.1Scgd 3801.44Scgd# PROM console support (for ports that don't have native console support) 3811.5Scgdfile arch/alpha/alpha/promcons.c 3821.6Scgd 3831.44Scgd# CPU support 3841.59Sthorpejfile arch/alpha/alpha/dec_2100_a50.c dec_2100_a50 3851.59Sthorpejfile arch/alpha/alpha/dec_3000_300.c dec_3000_300 3861.59Sthorpejfile arch/alpha/alpha/dec_3000_500.c dec_3000_500 3871.59Sthorpejfile arch/alpha/alpha/dec_550.c dec_550 3881.59Sthorpejfile arch/alpha/alpha/dec_axppci_33.c dec_axppci_33 3891.59Sthorpejfile arch/alpha/alpha/dec_eb164.c dec_eb164 3901.59Sthorpejfile arch/alpha/alpha/dec_eb64plus.c dec_eb64plus 3911.59Sthorpejfile arch/alpha/alpha/dec_kn20aa.c dec_kn20aa 3921.59Sthorpejfile arch/alpha/alpha/dec_kn8ae.c dec_kn8ae 3931.69Smjacobfile arch/alpha/alpha/dec_kn300.c dec_kn300 3941.62Srossfile arch/alpha/alpha/avalon_a12.c avalon_a12 3951.81Srossfile arch/alpha/alpha/dec_1000a.c dec_1000a 3961.58Sthorpej 3971.58Sthorpej# Kernel debugger support 3981.58Sthorpejfile arch/alpha/alpha/db_disasm.c ddb 3991.58Sthorpejfile arch/alpha/alpha/db_interface.c ddb 4001.58Sthorpejfile arch/alpha/alpha/db_trace.c ddb 4011.7Sthorpej 4021.7Sthorpej# OSF/1 Binary Compatibility (COMPAT_OSF1) 4031.26Scgdinclude "compat/osf1/files.osf1" 4041.76Smatt 4051.76Smatt# XXXX pcic here because it needs to be late. The catch: pcic needs 4061.76Smatt# to be late, so devices which attach to it are attached late. But it 4071.76Smatt# needs to be before its isa and pci attachments. This answer is 4081.76Smatt# non-optimal, but I don't have a better answer right now. 4091.76Smatt 4101.76Smatt# PCIC pcmcia contoller 4111.76Smatt# XXX this needs to be done very late, so it's done here. This feels 4121.76Smatt# like a kludge, but it might be for the best. 4131.76Smatt 4141.76Smattdefopt PCIC_ISA_ALLOC_IOBASE 4151.76Smattdefopt PCIC_ISA_ALLOC_IOSIZE 4161.76Smattdefopt PCIC_ISA_INTR_ALLOC_MASK 4171.76Smatt 4181.76Smattdevice pcic {[controller = -1], [socket = -1]} 4191.76Smattfile dev/ic/i82365.c pcic 4201.76Smatt 4211.76Smatt# PCIC pcmcia contoller 4221.76Smattattach pcic at isa with pcic_isa 4231.76Smattfile dev/isa/i82365_isa.c pcic_isa 4241.80Ssommerfefile dev/isa/i82365_isasubr.c pcic_isa 4251.76Smatt 4261.76Smatt# PCIC pcmcia contoller 4271.76Smattattach pcic at pci with pcic_pci 4281.76Smattfile dev/pci/i82365_pci.c pcic_pci 4291.76Smatt 4301.76Smatt 4311.76Smatt# this wants to be probed as late as possible. 4321.76Smatt# 4331.76Smatt# Machine-independent PCMCIA drivers 4341.76Smatt# 4351.76Smattinclude "dev/pcmcia/files.pcmcia" 436