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