files.alpha revision 1.42
1# $OpenBSD: files.alpha,v 1.42 2001/02/01 17:25:07 art Exp $ 2# $NetBSD: files.alpha,v 1.32 1996/11/25 04:03:21 cgd Exp $ 3# 4# alpha-specific configuration info 5 6# maxpartitions must be first item in files.${ARCH} 7maxpartitions 16 8 9maxusers 2 8 64 10 11# this loses, but there's no way to define attributes which have attributes 12define alpha_shared_intr 13file arch/alpha/dev/shared_intr.c alpha_shared_intr | dec_eb164 | 14 dec_kn20aa | dec_6600 | dec_550 15 16define alpha_sgmap 17file arch/alpha/common/sgmap_common.c alpha_sgmap | dec_3000_500 18 19# 20# Bus-independent devices 21# 22 23device mainbus { } # no locators (yet?) 24attach mainbus at root 25 26device cpu { } # not really optional 27attach cpu at mainbus 28file arch/alpha/alpha/cpu.c cpu 29 30major { ccd = 7 } 31major { vnd = 9 } 32 33# 34# Media Indepedent Interface (mii) 35# 36include "../../../dev/mii/files.mii" 37 38# 39# Machine-independent SCSI drivers 40# 41 42include "scsi/files.scsi" 43major { st = 2 } 44major { cd = 3 } 45major { sd = 8 } 46 47# RAM Disk 48file arch/alpha/alpha/rd_root.c ramdisk_hooks 49major { rd = 6 } 50 51# 52# "workstation console" routines 53# 54 55include "dev/wscons/files.wscons" 56 57# 58# TurboChannel Devices 59# 60 61include "dev/tc/files.tc" 62 63device tcasic: tcbus 64attach tcasic at mainbus 65file arch/alpha/tc/tcasic.c tcasic 66file arch/alpha/tc/tc_bus_mem.c tcasic 67file arch/alpha/tc/tc_3000_500.c tcasic & dec_3000_500 68file arch/alpha/tc/tc_3000_300.c tcasic & dec_3000_300 69 70# the TurboChannel IOCTL ASIC 71device ioasic { offset = -1 } 72attach ioasic at tc 73file arch/alpha/tc/ioasic.c ioasic 74 75# Color Frame buffer 76device cfb: wsemuldisplaydev, wsrasteremulops 77attach cfb at tc 78file arch/alpha/tc/cfb.c cfb 79 80# Smart Frame buffer 81device sfb: wsemuldisplaydev, wsrasteremulops 82attach sfb at tc 83file arch/alpha/tc/sfb.c sfb 84 85# 8530 UARTs 86device scc 87attach scc at ioasic 88file arch/alpha/tc/scc.c scc needs-count 89 90# the TCDS ASIC 91device tcds { slot = -1 } 92attach tcds at tc 93file arch/alpha/tc/tcds.c tcds needs-count 94 95# 53C[F]90 SCSI 96device asc: scsi 97attach asc at tcds 98file arch/alpha/tc/asc.c asc needs-count 99file arch/alpha/tc/tcds_dma.c asc 100 101# Baseboard Lance ethernet. 102attach le at ioasic with le_ioasic 103attach le at tc with le_tc 104file dev/tc/if_le_dec.c (le_ioasic | le_tc) 105file dev/tc/if_le_ioasic.c le_ioasic needs-flag #for le_iomem 106file dev/tc/if_le_tc.c le_tc 107 108# 109# ISA Bus support 110# 111 112# 113# Machine-independent ATAPI drivers 114# 115 116include "dev/atapiscsi/files.atapiscsi" 117include "dev/ata/files.ata" 118 119# XXX Dummy bus needed for some multi-homed devices specified in files.isa 120define pcmcia {} 121 122include "dev/pci/files.pci" # XXX some ISA devs are 'at pci' too. 123include "dev/isa/files.isa" 124major { wd = 0 } 125 126# 127# ISA Bus devices 128# 129 130file arch/alpha/isa/isa_machdep.c isa 131 132include "dev/pckbc/files.pckbc" 133 134# National Semiconductor DS8390/WD83C690-based boards 135# (WD/SMC 80x3 family, SMC Ultra [8216], 3Com 3C503, NE[12]000, and clones) 136# XXX conflicts with other ports; can't be in files.isa 137device ed: ether, ifnet 138attach ed at isa with ed_isa 139attach ed at pcmcia with ed_pcmcia 140attach ed at pci with ed_pci 141file dev/isa/if_ed.c ed & (ed_isa | ed_pcmcia | ed_pci) needs-flag 142 143# 144# EISA Bus support 145# 146 147include "dev/eisa/files.eisa" 148 149 150# 151# PCI Bus support 152# 153 154# include "dev/pci/files.pci" XXX SEE ABOVE 155 156file arch/alpha/pci/pciide_machdep.c pci 157 158define alpha_pci_sgmap_pte64 159file arch/alpha/pci/pci_sgmap_pte64.c alpha_pci_sgmap_pte64 160 161device apecs: pcibus 162attach apecs at mainbus 163file arch/alpha/pci/apecs.c apecs 164file arch/alpha/pci/apecs_bus_io.c apecs 165file arch/alpha/pci/apecs_bus_mem.c apecs 166file arch/alpha/pci/apecs_pci.c apecs 167 168device lca: pcibus 169attach lca at mainbus 170file arch/alpha/pci/lca.c lca 171file arch/alpha/pci/lca_bus_io.c lca 172file arch/alpha/pci/lca_bus_mem.c lca 173file arch/alpha/pci/lca_pci.c lca 174 175device cia: pcibus, alpha_sgmap, alpha_pci_sgmap_pte64 176attach cia at mainbus 177file arch/alpha/pci/cia.c cia 178file arch/alpha/pci/cia_dma.c cia 179file arch/alpha/pci/cia_pci.c cia 180file arch/alpha/pci/cia_bus_io.c cia 181file arch/alpha/pci/cia_bus_mem.c cia 182file arch/alpha/pci/cia_bwx_bus_io.c cia 183file arch/alpha/pci/cia_bwx_bus_mem.c cia 184 185device tsc { } 186attach tsc at mainbus 187file arch/alpha/pci/tsc.c dec_6600 188 189device tsp: pcibus, alpha_sgmap, alpha_pci_sgmap_pte64 190attach tsp at tsc 191file arch/alpha/pci/tsp_dma.c tsp 192file arch/alpha/pci/tsp_pci.c tsp 193file arch/alpha/pci/tsp_bus_io.c tsp 194file arch/alpha/pci/tsp_bus_mem.c tsp 195 196file arch/alpha/pci/pci_2100_a50.c dec_2100_a50 197file arch/alpha/pci/pci_axppci_33.c dec_axppci_33 198file arch/alpha/pci/pci_eb164.c dec_eb164 199file arch/alpha/pci/pci_eb164_intr.s dec_eb164 200file arch/alpha/pci/pci_kn20aa.c dec_kn20aa 201file arch/alpha/pci/pci_550.c dec_550 202file arch/alpha/pci/pci_6600.c dec_6600 203 204# 205# PCI Bus devices 206# 207 208file arch/alpha/pci/pci_machdep.c pci 209 210device sio: isabus, alpha_shared_intr, cy82c693 211attach sio at pci 212device pceb: isabus, eisabus, cy82c693 213attach pceb at pci 214file arch/alpha/pci/sio.c sio | pceb needs-flag 215file arch/alpha/pci/sio_pic.c sio | pceb 216 217# 218# ISA PnP 219# 220 221include "../../../dev/isa/files.isapnp" 222file arch/alpha/isa/isapnp_machdep.c isapnp 223 224attach com at isapnp with com_isapnp 225 226# 227# Devices that can live on multiple busses 228# 229 230device mcclock 231attach mcclock at ioasic with mcclock_ioasic 232attach mcclock at isa with mcclock_isa 233file arch/alpha/alpha/mcclock.c mcclock 234file arch/alpha/tc/mcclock_ioasic.c mcclock_ioasic 235file arch/alpha/isa/mcclock_isa.c mcclock_isa 236 237# 238# Standard files 239# 240 241file arch/alpha/alpha/autoconf.c 242file arch/alpha/alpha/clock.c 243file arch/alpha/alpha/conf.c 244file arch/alpha/alpha/db_disasm.c ddb 245file arch/alpha/alpha/db_interface.c ddb 246file arch/alpha/alpha/db_trace.c ddb 247file arch/alpha/alpha/interrupt.c 248file arch/alpha/alpha/machdep.c 249file arch/alpha/alpha/mainbus.c 250file arch/alpha/alpha/mem.c 251file arch/alpha/alpha/pmap.c 252file arch/alpha/alpha/process_machdep.c 253file arch/alpha/alpha/prom.c 254file arch/alpha/alpha/support.c 255file arch/alpha/alpha/sys_machdep.c 256file arch/alpha/alpha/trap.c 257file arch/alpha/alpha/vm_machdep.c 258file arch/alpha/alpha/disksubr.c 259file arch/alpha/common/bus_dma.c 260file dev/clock_subr.c 261file dev/cons.c 262 263 264# 265# Optional/miscellaneous files 266# 267 268file arch/alpha/alpha/in_cksum.c inet & !generic_in_cksum 269file netinet/in_cksum.c inet & generic_in_cksum 270file netns/ns_cksum.c ns 271 272# XXX 273file arch/alpha/alpha/promcons.c 274 275# XXX 276# file arch/alpha/alpha/cpuconf.c 277file arch/alpha/alpha/dec_2100_a50.c dec_2100_a50 needs-flag 278file arch/alpha/alpha/dec_21000.c dec_21000 needs-flag 279file arch/alpha/alpha/dec_3000_300.c dec_3000_300 needs-flag 280file arch/alpha/alpha/dec_3000_500.c dec_3000_500 needs-flag 281file arch/alpha/alpha/dec_axppci_33.c dec_axppci_33 needs-flag 282file arch/alpha/alpha/dec_eb164.c dec_eb164 needs-flag 283file arch/alpha/alpha/dec_kn20aa.c dec_kn20aa needs-flag 284file arch/alpha/alpha/dec_550.c dec_550 needs-flag 285file arch/alpha/alpha/dec_6600.c dec_6600 needs-flag 286 287 288# OSF/1 Binary Compatibility (COMPAT_OSF1) 289include "compat/osf1/files.osf1" 290file arch/alpha/alpha/osf1_locore.s compat_osf1 291 292# NetBSD binary compatibility (COMPAT_NETBSD) 293include "../../../compat/netbsd/files.netbsd" 294file arch/alpha/alpha/netbsd_machdep.c compat_netbsd 295 296# 297# Machine-independent USB drivers 298# 299include "dev/usb/files.usb" 300