files.alpha revision 1.45
1# $OpenBSD: files.alpha,v 1.45 2001/03/18 04:39:07 nate 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# 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 136include "dev/pckbc/files.pckbc" 137 138# National Semiconductor DS8390/WD83C690-based boards 139# (WD/SMC 80x3 family, SMC Ultra [8216], 3Com 3C503, NE[12]000, and clones) 140# XXX conflicts with other ports; can't be in files.isa 141device ed: ether, ifnet 142attach ed at isa with ed_isa 143attach ed at pcmcia with ed_pcmcia 144attach ed at pci with ed_pci 145file dev/isa/if_ed.c ed & (ed_isa | ed_pcmcia | ed_pci) needs-flag 146 147# 148# EISA Bus support 149# 150 151include "dev/eisa/files.eisa" 152 153 154# 155# PCI Bus support 156# 157 158# include "dev/pci/files.pci" XXX SEE ABOVE 159 160file arch/alpha/pci/pciide_machdep.c pci 161 162define alpha_pci_sgmap_pte64 163file arch/alpha/pci/pci_sgmap_pte64.c alpha_pci_sgmap_pte64 164 165device apecs: pcibus, alpha_sgmap, alpha_pci_sgmap_pte64 166attach apecs at mainbus 167file arch/alpha/pci/apecs.c apecs 168file arch/alpha/pci/apecs_bus_io.c apecs 169file arch/alpha/pci/apecs_bus_mem.c apecs 170file arch/alpha/pci/apecs_pci.c apecs 171file arch/alpha/pci/apecs_dma.c apecs 172 173device lca: pcibus, alpha_sgmap, alpha_pci_sgmap_pte64 174attach lca at mainbus 175file arch/alpha/pci/lca.c lca 176file arch/alpha/pci/lca_bus_io.c lca 177file arch/alpha/pci/lca_bus_mem.c lca 178file arch/alpha/pci/lca_pci.c lca 179file arch/alpha/pci/lca_dma.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, cy82c693 217attach sio at pci 218device pceb: isabus, eisabus, cy82c693 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/clock_subr.c 267file dev/cons.c 268 269 270# 271# Optional/miscellaneous files 272# 273 274file arch/alpha/alpha/in_cksum.c inet & !generic_in_cksum 275file netinet/in_cksum.c inet & generic_in_cksum 276file netns/ns_cksum.c ns 277 278# XXX 279file arch/alpha/alpha/promcons.c 280 281# XXX 282# file arch/alpha/alpha/cpuconf.c 283file arch/alpha/alpha/dec_2100_a50.c dec_2100_a50 needs-flag 284file arch/alpha/alpha/dec_21000.c dec_21000 needs-flag 285file arch/alpha/alpha/dec_3000_300.c dec_3000_300 needs-flag 286file arch/alpha/alpha/dec_3000_500.c dec_3000_500 needs-flag 287file arch/alpha/alpha/dec_axppci_33.c dec_axppci_33 needs-flag 288file arch/alpha/alpha/dec_eb164.c dec_eb164 needs-flag 289file arch/alpha/alpha/dec_kn20aa.c dec_kn20aa needs-flag 290file arch/alpha/alpha/dec_550.c dec_550 needs-flag 291file arch/alpha/alpha/dec_6600.c dec_6600 needs-flag 292 293 294# OSF/1 Binary Compatibility (COMPAT_OSF1) 295include "compat/osf1/files.osf1" 296file arch/alpha/alpha/osf1_locore.s compat_osf1 297 298# NetBSD binary compatibility (COMPAT_NETBSD) 299include "../../../compat/netbsd/files.netbsd" 300file arch/alpha/alpha/netbsd_machdep.c compat_netbsd 301 302# 303# Machine-independent USB drivers 304# 305include "dev/usb/files.usb" 306