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