files.alpha revision 1.92
1# $OpenBSD: files.alpha,v 1.92 2011/10/06 20:49:28 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 128 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 dec_1000 | dec_1000a | dec_eb64plus | 16 dec_kn300 17 18define alpha_sgmap 19file arch/alpha/dev/sgmap_common.c alpha_sgmap | dec_3000_500 20 21# 22# Bus-independent devices 23# 24 25device mainbus {} # no locators (yet?) 26attach mainbus at root 27 28device cpu {} # not really optional 29attach cpu at mainbus 30file arch/alpha/alpha/cpu.c cpu 31 32major {vnd = 9} 33 34# 35# Media Independent Interface (mii) 36# 37include "dev/mii/files.mii" 38 39# 40# Machine-independent SCSI drivers 41# 42 43include "scsi/files.scsi" 44major {st = 2} 45major {cd = 3} 46major {sd = 8} 47major {rd = 6} 48 49# I2O 50include "dev/i2o/files.i2o" 51 52# Raster operations 53include "dev/rasops/files.rasops" 54include "dev/wsfont/files.wsfont" 55 56# 57# "workstation console" routines 58# 59 60include "dev/wscons/files.wscons" 61 62# 63# Bus-independent support for DEC devices 64# 65include "dev/dec/files.dec" 66 67# 68# TURBOchannel Devices 69# 70include "dev/tc/files.tc" 71 72# 73# MCBUS bus Devices 74# 75device mcbus { mid = -1 } 76attach mcbus at mainbus 77file arch/alpha/mcbus/mcbus.c mcbus & dec_kn300 78 79device mcmem: mcbus 80attach mcmem at mcbus 81file arch/alpha/mcbus/mcmem.c mcmem 82 83# TC attachment is MD 84attach tc at tcbus 85 86device tcasic: tcbus 87attach tcasic at mainbus 88file arch/alpha/tc/tcasic.c tcasic needs-flag 89file arch/alpha/tc/tc_bus_mem.c tcasic 90file arch/alpha/tc/tc_dma.c tcasic 91file arch/alpha/tc/tc_dma_3000_300.c tcasic & dec_3000_300 92file arch/alpha/tc/tc_dma_3000_500.c tcasic & dec_3000_500 93file arch/alpha/tc/tc_sgmap.c tcasic & dec_3000_500 94file arch/alpha/tc/tc_3000_500.c tcasic & dec_3000_500 95file arch/alpha/tc/tc_3000_300.c tcasic & dec_3000_300 96 97# the TURBOchannel IOCTL ASIC 98# IOASIC device and attachment defined in sys/dev/tc/files.tc 99file arch/alpha/tc/ioasic.c ioasic needs-flag 100 101# PMAG-B CX 102device cfb: wsemuldisplaydev 103attach cfb at tc 104file arch/alpha/tc/cfb.c cfb needs-flag 105 106# PMAGB-B HX or CXT 107device sfb: wsemuldisplaydev 108attach sfb at tc 109file arch/alpha/tc/sfb.c sfb needs-flag 110 111# 8530 UARTs 112device scc 113attach scc at ioasic 114file arch/alpha/tc/scc.c scc needs-count 115 116# TC and baseboard ioasic Lance ethernet are in files.tc 117 118# 119# ISA Bus support 120# 121 122# 123# Machine-independent ATAPI drivers 124# 125 126include "dev/atapiscsi/files.atapiscsi" 127include "dev/ata/files.ata" 128 129# XXX Dummy bus needed for some multi-homed devices specified in files.isa 130define pcmcia {} 131 132include "dev/pci/files.pci" # XXX some ISA devs are 'at pci' too. 133include "dev/isa/files.isa" 134major {wd = 0} 135 136include "dev/puc/files.puc" 137 138# 139# ISA Bus devices 140# 141 142file arch/alpha/isa/isa_machdep.c isa 143 144define isadma_bounce 145file arch/alpha/isa/isadma_bounce.c isadma_bounce & isa_dma 146 147include "dev/pckbc/files.pckbc" 148 149# Floppy disk controller 150#device fdc {[drive = -1]}: isa_dma 151device fdc {[drive = -1]} 152attach fdc at isa 153file dev/isa/fdc.c fdc needs-flag 154 155device fd: disk, isa_dma 156attach fd at fdc 157file dev/isa/fd.c fd needs-flag 158major {fd = 4} 159 160# 161# EISA Bus support 162# 163 164include "dev/eisa/files.eisa" 165 166file arch/alpha/eisa/eisa_machdep.c eisa 167 168 169# 170# PCI Bus support 171# 172 173# include "dev/pci/files.pci" XXX SEE ABOVE 174 175include "dev/pci/files.agp" 176 177file arch/alpha/pci/pciide_machdep.c pciide 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 needs-flag 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 needs-flag 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 needs-flag 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, isadma_bounce 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 tsc 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 227device mcpcia: pcibus, alpha_sgmap, alpha_pci_sgmap_pte64 228attach mcpcia at mcbus 229file arch/alpha/pci/mcpcia.c mcpcia 230file arch/alpha/pci/mcpcia_bus_io.c mcpcia 231file arch/alpha/pci/mcpcia_bus_mem.c mcpcia 232file arch/alpha/pci/mcpcia_dma.c mcpcia 233file arch/alpha/pci/mcpcia_pci.c mcpcia 234 235file arch/alpha/pci/pci_2100_a50.c dec_2100_a50 236file arch/alpha/pci/pci_axppci_33.c dec_axppci_33 237file arch/alpha/pci/pci_eb164.c dec_eb164 238file arch/alpha/pci/pci_eb164_intr.s dec_eb164 239file arch/alpha/pci/pci_eb64plus.c dec_eb64plus 240file arch/alpha/pci/pci_eb64plus_intr.s dec_eb64plus 241file arch/alpha/pci/pci_kn20aa.c dec_kn20aa 242file arch/alpha/pci/pci_kn300.c dec_kn300 243file arch/alpha/pci/pci_550.c dec_550 244file arch/alpha/pci/pci_1000a.c dec_1000a 245file arch/alpha/pci/pci_1000.c dec_1000 246file arch/alpha/pci/pci_6600.c dec_6600 247file arch/alpha/pci/pci_up1000.c api_up1000 248 249# 250# PCI Bus devices 251# 252 253file arch/alpha/pci/pci_machdep.c pci 254 255device sio: isabus, alpha_shared_intr, cy82c693 256attach sio at pci 257device pceb: isabus, eisabus, cy82c693 258attach pceb at pci 259file arch/alpha/pci/sio.c sio | pceb needs-flag 260file arch/alpha/pci/sio_pic.c sio | pceb 261 262device hme: ether, ifnet, mii, ifmedia 263file dev/ic/hme.c hme 264attach hme at pci with hme_pci 265file dev/pci/if_hme_pci.c hme_pci 266 267# 268# ISA PnP 269# 270 271include "dev/isa/files.isapnp" 272file arch/alpha/isa/isapnp_machdep.c isapnp 273 274# 275# Devices that can live on multiple busses 276# 277 278device mcclock 279attach mcclock at ioasic with mcclock_ioasic 280attach mcclock at isa with mcclock_isa 281file arch/alpha/alpha/mcclock.c mcclock 282file arch/alpha/tc/mcclock_ioasic.c mcclock_ioasic 283file arch/alpha/isa/mcclock_isa.c mcclock_isa 284 285# 286# Standard files 287# 288 289file arch/alpha/alpha/autoconf.c 290file arch/alpha/alpha/clock.c 291file arch/alpha/alpha/conf.c 292file arch/alpha/alpha/db_disasm.c ddb 293file arch/alpha/alpha/db_interface.c ddb 294file arch/alpha/alpha/db_trace.c ddb 295file arch/alpha/alpha/interrupt.c 296file arch/alpha/alpha/ipifuncs.c multiprocessor 297file arch/alpha/alpha/machdep.c 298file arch/alpha/alpha/mainbus.c 299file arch/alpha/alpha/mem.c 300file arch/alpha/alpha/pmap.c 301file arch/alpha/alpha/process_machdep.c 302file arch/alpha/alpha/prom.c 303file arch/alpha/alpha/sys_machdep.c 304file arch/alpha/alpha/trap.c 305file arch/alpha/alpha/fp_complete.c !no_ieee 306file arch/alpha/alpha/vm_machdep.c 307file arch/alpha/alpha/disksubr.c 308file arch/alpha/dev/bus_dma.c 309file arch/alpha/alpha/mutex.c 310 311# 312# Network protocol checksum routines 313# 314 315file arch/alpha/alpha/in_cksum.c inet 316 317# XXX 318file arch/alpha/alpha/promcons.c 319 320# XXX 321file arch/alpha/alpha/cpuconf.c 322file arch/alpha/alpha/dec_2100_a50.c dec_2100_a50 needs-flag 323file arch/alpha/alpha/dec_21000.c dec_21000 needs-flag 324file arch/alpha/alpha/dec_3000_300.c dec_3000_300 needs-flag 325file arch/alpha/alpha/dec_3000_500.c dec_3000_500 needs-flag 326file arch/alpha/alpha/dec_axppci_33.c dec_axppci_33 needs-flag 327file arch/alpha/alpha/dec_eb164.c dec_eb164 needs-flag 328file arch/alpha/alpha/dec_eb64plus.c dec_eb64plus needs-flag 329file arch/alpha/alpha/dec_kn20aa.c dec_kn20aa needs-flag 330file arch/alpha/alpha/dec_kn300.c dec_kn300 needs-flag 331file arch/alpha/alpha/dec_550.c dec_550 needs-flag 332file arch/alpha/alpha/dec_1000a.c dec_1000 | dec_1000a needs-flag 333file arch/alpha/alpha/dec_6600.c dec_6600 needs-flag 334file arch/alpha/alpha/api_up1000.c api_up1000 needs-flag 335 336# 337# Machine-independent I2C drivers 338# 339include "dev/i2c/files.i2c" 340 341# 342# Machine-independent USB drivers 343# 344include "dev/usb/files.usb" 345 346# 347# Bluetooth 348# 349include "dev/bluetooth/files.bluetooth" 350 351# 352# Machine-independent 1-Wire drivers 353# 354include "dev/onewire/files.onewire" 355 356# Machine-dependent libkern components 357file lib/libkern/softfloat.c !no_ieee 358file lib/libkern/arch/alpha/__divl.S 359file lib/libkern/arch/alpha/__divlu.S 360file lib/libkern/arch/alpha/__divq.S 361file lib/libkern/arch/alpha/__divqu.S 362file lib/libkern/arch/alpha/__reml.S 363file lib/libkern/arch/alpha/__remlu.S 364file lib/libkern/arch/alpha/__remq.S 365file lib/libkern/arch/alpha/__remqu.S 366