files.alpha revision 1.38
1# $OpenBSD: files.alpha,v 1.38 2000/11/16 15:52:32 ericj 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 132# ISA PC keyboard controller 133 134# PC-like keyboard controller 135attach pckbc at isa with pckbc_isa 136file dev/isa/pckbc_isa.c pckbc needs-flag 137 138include "dev/pckbc/files.pckbc" 139 140# National Semiconductor DS8390/WD83C690-based boards 141# (WD/SMC 80x3 family, SMC Ultra [8216], 3Com 3C503, NE[12]000, and clones) 142# XXX conflicts with other ports; can't be in files.isa 143device ed: ether, ifnet 144attach ed at isa with ed_isa 145attach ed at pcmcia with ed_pcmcia 146attach ed at pci with ed_pci 147file dev/isa/if_ed.c ed & (ed_isa | ed_pcmcia | ed_pci) needs-flag 148 149# 150# EISA Bus support 151# 152 153include "dev/eisa/files.eisa" 154 155 156# 157# PCI Bus support 158# 159 160# include "dev/pci/files.pci" XXX SEE ABOVE 161 162file arch/alpha/pci/pciide_machdep.c pci 163 164define alpha_pci_sgmap_pte64 165file arch/alpha/pci/pci_sgmap_pte64.c alpha_pci_sgmap_pte64 166 167device apecs: pcibus 168attach apecs at mainbus 169file arch/alpha/pci/apecs.c apecs 170file arch/alpha/pci/apecs_bus_io.c apecs 171file arch/alpha/pci/apecs_bus_mem.c apecs 172file arch/alpha/pci/apecs_pci.c apecs 173 174device lca: pcibus 175attach lca at mainbus 176file arch/alpha/pci/lca.c lca 177file arch/alpha/pci/lca_bus_io.c lca 178file arch/alpha/pci/lca_bus_mem.c lca 179file arch/alpha/pci/lca_pci.c lca 180 181device cia: pcibus, alpha_sgmap, alpha_pci_sgmap_pte64 182attach cia at mainbus 183file arch/alpha/pci/cia.c cia 184file arch/alpha/pci/cia_dma.c cia 185file arch/alpha/pci/cia_pci.c cia 186file arch/alpha/pci/cia_bus_io.c cia 187file arch/alpha/pci/cia_bus_mem.c cia 188file arch/alpha/pci/cia_bwx_bus_io.c cia 189file arch/alpha/pci/cia_bwx_bus_mem.c cia 190 191device tsc { } 192attach tsc at mainbus 193file arch/alpha/pci/tsc.c dec_6600 194 195device tsp: pcibus, alpha_sgmap, alpha_pci_sgmap_pte64 196attach tsp at tsc 197file arch/alpha/pci/tsp_dma.c tsp 198file arch/alpha/pci/tsp_pci.c tsp 199file arch/alpha/pci/tsp_bus_io.c tsp 200file arch/alpha/pci/tsp_bus_mem.c tsp 201 202file arch/alpha/pci/pci_2100_a50.c dec_2100_a50 203file arch/alpha/pci/pci_axppci_33.c dec_axppci_33 204file arch/alpha/pci/pci_eb164.c dec_eb164 205file arch/alpha/pci/pci_eb164_intr.s dec_eb164 206file arch/alpha/pci/pci_kn20aa.c dec_kn20aa 207file arch/alpha/pci/pci_550.c dec_550 208file arch/alpha/pci/pci_6600.c dec_6600 209 210# 211# PCI Bus devices 212# 213 214file arch/alpha/pci/pci_machdep.c pci 215 216device sio: isabus, alpha_shared_intr 217attach sio at pci 218device pceb: isabus, eisabus 219attach pceb at pci 220file arch/alpha/pci/sio.c sio | pceb needs-flag 221file arch/alpha/pci/sio_pic.c sio | pceb 222 223# 224# ISA PnP 225# 226 227include "../../../dev/isa/files.isapnp" 228file arch/alpha/isa/isapnp_machdep.c isapnp 229 230attach com at isapnp with com_isapnp 231 232# 233# Devices that can live on multiple busses 234# 235 236device mcclock 237attach mcclock at ioasic with mcclock_ioasic 238attach mcclock at isa with mcclock_isa 239file arch/alpha/alpha/mcclock.c mcclock 240file arch/alpha/tc/mcclock_ioasic.c mcclock_ioasic 241file arch/alpha/isa/mcclock_isa.c mcclock_isa 242 243# 244# Standard files 245# 246 247file arch/alpha/alpha/autoconf.c 248file arch/alpha/alpha/clock.c 249file arch/alpha/alpha/conf.c 250file arch/alpha/alpha/db_disasm.c ddb 251file arch/alpha/alpha/db_interface.c ddb 252file arch/alpha/alpha/db_trace.c ddb 253file arch/alpha/alpha/interrupt.c 254file arch/alpha/alpha/machdep.c 255file arch/alpha/alpha/mainbus.c 256file arch/alpha/alpha/mem.c 257file arch/alpha/alpha/pmap.c 258file arch/alpha/alpha/process_machdep.c 259file arch/alpha/alpha/prom.c 260file arch/alpha/alpha/support.c 261file arch/alpha/alpha/sys_machdep.c 262file arch/alpha/alpha/trap.c 263file arch/alpha/alpha/vm_machdep.c 264file arch/alpha/alpha/disksubr.c 265file arch/alpha/common/bus_dma.c 266file dev/cons.c 267 268 269# 270# Optional/miscellaneous files 271# 272 273file arch/alpha/alpha/in_cksum.c inet & !generic_in_cksum 274file netinet/in_cksum.c inet & generic_in_cksum 275file netns/ns_cksum.c ns 276 277# XXX 278file arch/alpha/alpha/promcons.c 279 280# XXX 281# file arch/alpha/alpha/cpuconf.c 282file arch/alpha/alpha/dec_2100_a50.c dec_2100_a50 needs-flag 283file arch/alpha/alpha/dec_21000.c dec_21000 needs-flag 284file arch/alpha/alpha/dec_3000_300.c dec_3000_300 needs-flag 285file arch/alpha/alpha/dec_3000_500.c dec_3000_500 needs-flag 286file arch/alpha/alpha/dec_axppci_33.c dec_axppci_33 needs-flag 287file arch/alpha/alpha/dec_eb164.c dec_eb164 needs-flag 288file arch/alpha/alpha/dec_kn20aa.c dec_kn20aa needs-flag 289file arch/alpha/alpha/dec_550.c dec_550 needs-flag 290file arch/alpha/alpha/dec_6600.c dec_6600 needs-flag 291 292 293# OSF/1 Binary Compatibility (COMPAT_OSF1) 294include "compat/osf1/files.osf1" 295file arch/alpha/alpha/osf1_locore.s compat_osf1 296 297# NetBSD binary compatibility (COMPAT_NETBSD) 298include "../../../compat/netbsd/files.netbsd" 299file arch/alpha/alpha/netbsd_machdep.c compat_netbsd 300