files.alpha revision 1.30
1# $OpenBSD: files.alpha,v 1.30 1999/11/08 15:36:07 mickey 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 15 16# 17# Bus-independent devices 18# 19 20device mainbus { } # no locators (yet?) 21attach mainbus at root 22 23device cpu { } # not really optional 24attach cpu at mainbus 25file arch/alpha/alpha/cpu.c cpu 26 27major { ccd = 7 } 28major { vnd = 9 } 29 30# 31# Media Indepedent Interface (mii) 32# 33include "../../../dev/mii/files.mii" 34 35# 36# Machine-independent SCSI drivers 37# 38 39include "scsi/files.scsi" 40major { st = 2 } 41major { cd = 3 } 42major { sd = 8 } 43 44# RAM Disk 45file arch/alpha/alpha/rd_root.c ramdisk_hooks 46major { rd = 6 } 47 48# 49# raster console routines 50# 51 52define raster 53include "dev/rcons/files.rcons" 54 55# 56# "wprkstation cpnsole" 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: raster, wsconsdev 81attach cfb at tc 82file arch/alpha/tc/cfb.c cfb 83 84# Smart Frame buffer 85device sfb: raster, wsconsdev 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 esp: scsi 101attach esp at tcds 102file arch/alpha/tc/esp.c esp needs-count 103file arch/alpha/tc/tcds_dma.c esp 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#file arch/alpha/isa/isafcns_jensen.c dec_2000_300 131 132 133# 134# ISA Bus devices 135# 136 137#device ibus at mainbus { } 138#device jcombo at ibus: isabus 139#device jeisa at ibus: eisabus 140 141file arch/alpha/isa/isa_machdep.c isa 142file arch/alpha/pci/pciide_machdep.c pci 143 144device pckbc { } 145attach pckbc at isa 146file arch/alpha/isa/pckbc.c pckbc 147 148device pckbd 149attach pckbd at pckbc 150file arch/alpha/isa/pckbd.c pckbd 151 152device pms 153attach pms at pckbc 154file arch/alpha/isa/pms.c pms 155 156# National Semiconductor DS8390/WD83C690-based boards 157# (WD/SMC 80x3 family, SMC Ultra [8216], 3Com 3C503, NE[12]000, and clones) 158# XXX conflicts with other ports; can't be in files.isa 159device ed: ether, ifnet 160attach ed at isa with ed_isa 161attach ed at pcmcia with ed_pcmcia 162attach ed at pci with ed_pci 163file dev/isa/if_ed.c ed & (ed_isa | ed_pcmcia | ed_pci) needs-flag 164 165# 166# EISA Bus support 167# 168 169include "dev/eisa/files.eisa" 170 171 172# 173# PCI Bus support 174# 175 176# include "dev/pci/files.pci" XXX SEE ABOVE 177 178device apecs: pcibus 179attach apecs at mainbus 180file arch/alpha/pci/apecs.c apecs 181file arch/alpha/pci/apecs_bus_io.c apecs 182file arch/alpha/pci/apecs_bus_mem.c apecs 183file arch/alpha/pci/apecs_pci.c apecs 184 185device lca: pcibus 186attach lca at mainbus 187file arch/alpha/pci/lca.c lca 188file arch/alpha/pci/lca_bus_io.c lca 189file arch/alpha/pci/lca_bus_mem.c lca 190file arch/alpha/pci/lca_pci.c lca 191 192device cia: pcibus 193attach cia at mainbus 194file arch/alpha/pci/cia.c cia 195file arch/alpha/pci/cia_bus_io.c cia 196file arch/alpha/pci/cia_bus_mem.c cia 197file arch/alpha/pci/cia_pci.c cia 198 199file arch/alpha/pci/pci_2100_a50.c dec_2100_a50 200file arch/alpha/pci/pci_axppci_33.c dec_axppci_33 201file arch/alpha/pci/pci_eb164.c dec_eb164 202file arch/alpha/pci/pci_eb164_intr.s dec_eb164 203file arch/alpha/pci/pci_kn20aa.c dec_kn20aa 204 205 206# 207# PCI Bus devices 208# 209 210file arch/alpha/pci/pci_machdep.c pci 211 212device sio: isabus, alpha_shared_intr 213attach sio at pci 214device pceb: isabus, eisabus 215attach pceb at pci 216file arch/alpha/pci/sio.c sio | pceb needs-flag 217file arch/alpha/pci/sio_pic.c sio | pceb 218 219device tga: raster, wsconsdev 220attach tga at pci 221file arch/alpha/pci/tga.c tga needs-flag 222file arch/alpha/pci/tga_conf.c tga 223file arch/alpha/pci/tga_bt463.c tga 224file arch/alpha/pci/tga_bt485.c tga 225 226# 227# ISA PnP 228# 229 230include "../../../dev/isa/files.isapnp" 231file arch/alpha/isa/isapnp_machdep.c isapnp 232 233attach com at isapnp with com_isapnp 234 235# 236# Devices that can live on multiple busses 237# 238 239device mcclock 240attach mcclock at ioasic with mcclock_ioasic 241attach mcclock at isa with mcclock_isa 242file arch/alpha/alpha/mcclock.c mcclock 243file arch/alpha/tc/mcclock_ioasic.c mcclock_ioasic 244file arch/alpha/isa/mcclock_isa.c mcclock_isa 245 246# 247# Standard files 248# 249 250file arch/alpha/alpha/autoconf.c 251file arch/alpha/alpha/clock.c 252file arch/alpha/alpha/conf.c 253file arch/alpha/alpha/db_disasm.c ddb 254file arch/alpha/alpha/db_interface.c ddb 255file arch/alpha/alpha/db_trace.c ddb 256file arch/alpha/alpha/interrupt.c 257file arch/alpha/alpha/machdep.c 258file arch/alpha/alpha/mainbus.c 259file arch/alpha/alpha/mem.c 260file arch/alpha/alpha/pmap.c new_pmap 261file arch/alpha/alpha/pmap.old.c !new_pmap 262file arch/alpha/alpha/process_machdep.c 263file arch/alpha/alpha/prom.c 264file arch/alpha/alpha/support.c 265file arch/alpha/alpha/sys_machdep.c 266file arch/alpha/alpha/trap.c 267file arch/alpha/alpha/vm_machdep.c 268file arch/alpha/alpha/disksubr.c 269file dev/cons.c 270 271 272# 273# Optional/miscellaneous files 274# 275 276file arch/alpha/alpha/in_cksum.c inet & !generic_in_cksum 277file netinet/in_cksum.c inet & generic_in_cksum 278file netns/ns_cksum.c ns 279 280# XXX 281file arch/alpha/alpha/promcons.c 282 283# XXX 284# file arch/alpha/alpha/cpuconf.c 285file arch/alpha/alpha/dec_2100_a50.c dec_2100_a50 needs-flag 286file arch/alpha/alpha/dec_21000.c dec_21000 needs-flag 287file arch/alpha/alpha/dec_3000_300.c dec_3000_300 needs-flag 288file arch/alpha/alpha/dec_3000_500.c dec_3000_500 needs-flag 289file arch/alpha/alpha/dec_axppci_33.c dec_axppci_33 needs-flag 290file arch/alpha/alpha/dec_eb164.c dec_eb164 needs-flag 291file arch/alpha/alpha/dec_kn20aa.c dec_kn20aa needs-flag 292 293# OSF/1 Binary Compatibility (COMPAT_OSF1) 294include "compat/osf1/files.osf1" 295 296# NetBSD binary compatibility (COMPAT_NETBSD) 297include "../../../compat/netbsd/files.netbsd" 298file arch/alpha/alpha/netbsd_machdep.c compat_netbsd 299