files.alpha revision 1.26
1# $OpenBSD: files.alpha,v 1.26 1999/07/30 19:05:50 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 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 45pseudo-device rd 46file dev/ramdisk.c rd needs-flag 47file arch/alpha/alpha/rd_root.c ramdisk_hooks 48major { rd = 6 } 49 50# 51# raster console routines 52# 53 54define raster 55include "dev/rcons/files.rcons" 56 57# 58# "wprkstation cpnsole" routines 59# 60 61include "dev/wscons/files.wscons" 62 63# 64# TurboChannel Devices 65# 66 67include "dev/tc/files.tc" 68 69device tcasic: tcbus 70attach tcasic at mainbus 71file arch/alpha/tc/tcasic.c tcasic 72file arch/alpha/tc/tc_bus_mem.c tcasic 73file arch/alpha/tc/tc_3000_500.c tcasic & dec_3000_500 74file arch/alpha/tc/tc_3000_300.c tcasic & dec_3000_300 75 76# the TurboChannel IOCTL ASIC 77device ioasic { offset = -1 } 78attach ioasic at tc 79file arch/alpha/tc/ioasic.c ioasic 80 81# Color Frame buffer 82device cfb: raster, wsconsdev 83attach cfb at tc 84file arch/alpha/tc/cfb.c cfb 85 86# Smart Frame buffer 87device sfb: raster, wsconsdev 88attach sfb at tc 89file arch/alpha/tc/sfb.c sfb 90 91# 8530 UARTs 92device scc 93attach scc at ioasic 94file arch/alpha/tc/scc.c scc needs-count 95 96# the TCDS ASIC 97device tcds { slot = -1 } 98attach tcds at tc 99file arch/alpha/tc/tcds.c tcds needs-count 100 101# 53C[F]90 SCSI 102device esp: scsi 103attach esp at tcds 104file arch/alpha/tc/esp.c esp needs-count 105file arch/alpha/tc/tcds_dma.c esp 106 107# Baseboard Lance ethernet. 108attach le at ioasic with le_ioasic 109attach le at tc with le_tc 110file dev/tc/if_le_dec.c (le_ioasic | le_tc) 111file dev/tc/if_le_ioasic.c le_ioasic needs-flag #for le_iomem 112file dev/tc/if_le_tc.c le_tc 113 114# 115# ISA Bus support 116# 117 118# 119# Machine-independent ATAPI drivers 120# 121 122include "dev/atapiscsi/files.atapiscsi" 123include "dev/ata/files.ata" 124 125# XXX Dummy bus needed for some multi-homed devices specified in files.isa 126define pcmcia {} 127 128include "dev/pci/files.pci" # XXX some ISA devs are 'at pci' too. 129include "dev/isa/files.isa" 130major { wd = 0 } 131 132#file arch/alpha/isa/isafcns_jensen.c dec_2000_300 133 134 135# 136# ISA Bus devices 137# 138 139#device ibus at mainbus { } 140#device jcombo at ibus: isabus 141#device jeisa at ibus: eisabus 142 143file arch/alpha/isa/isa_machdep.c isa 144file arch/alpha/pci/pciide_machdep.c pci 145 146device pckbc { } 147attach pckbc at isa 148file arch/alpha/isa/pckbc.c pckbc 149 150device pckbd 151attach pckbd at pckbc 152file arch/alpha/isa/pckbd.c pckbd 153 154device pms 155attach pms at pckbc 156file arch/alpha/isa/pms.c pms 157 158# National Semiconductor DS8390/WD83C690-based boards 159# (WD/SMC 80x3 family, SMC Ultra [8216], 3Com 3C503, NE[12]000, and clones) 160# XXX conflicts with other ports; can't be in files.isa 161device ed: ether, ifnet 162attach ed at isa with ed_isa 163attach ed at pcmcia with ed_pcmcia 164attach ed at pci with ed_pci 165file dev/isa/if_ed.c ed & (ed_isa | ed_pcmcia | ed_pci) needs-flag 166 167# 168# EISA Bus support 169# 170 171include "dev/eisa/files.eisa" 172 173 174# 175# PCI Bus support 176# 177 178# include "dev/pci/files.pci" XXX SEE ABOVE 179 180device apecs: pcibus 181attach apecs at mainbus 182file arch/alpha/pci/apecs.c apecs 183file arch/alpha/pci/apecs_bus_io.c apecs 184file arch/alpha/pci/apecs_bus_mem.c apecs 185file arch/alpha/pci/apecs_pci.c apecs 186 187device lca: pcibus 188attach lca at mainbus 189file arch/alpha/pci/lca.c lca 190file arch/alpha/pci/lca_bus_io.c lca 191file arch/alpha/pci/lca_bus_mem.c lca 192file arch/alpha/pci/lca_pci.c lca 193 194device cia: pcibus 195attach cia at mainbus 196file arch/alpha/pci/cia.c cia 197file arch/alpha/pci/cia_bus_io.c cia 198file arch/alpha/pci/cia_bus_mem.c cia 199file arch/alpha/pci/cia_pci.c cia 200 201file arch/alpha/pci/pci_2100_a50.c dec_2100_a50 202file arch/alpha/pci/pci_axppci_33.c dec_axppci_33 203file arch/alpha/pci/pci_eb164.c dec_eb164 204file arch/alpha/pci/pci_eb164_intr.s dec_eb164 205file arch/alpha/pci/pci_kn20aa.c dec_kn20aa 206 207 208# 209# PCI Bus devices 210# 211 212file arch/alpha/pci/pci_machdep.c pci 213 214device sio: isabus, alpha_shared_intr 215attach sio at pci 216device pceb: isabus, eisabus 217attach pceb at pci 218file arch/alpha/pci/sio.c sio | pceb needs-flag 219file arch/alpha/pci/sio_pic.c sio | pceb 220 221device tga: raster, wsconsdev 222attach tga at pci 223file arch/alpha/pci/tga.c tga needs-flag 224file arch/alpha/pci/tga_conf.c tga 225file arch/alpha/pci/tga_bt463.c tga 226file arch/alpha/pci/tga_bt485.c tga 227 228# 229# ISA PnP 230# 231 232include "../../../dev/isa/files.isapnp" 233file arch/alpha/isa/isapnp_machdep.c 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