files.alpha revision 1.21
1# $OpenBSD: files.alpha,v 1.21 1998/04/07 22:07:42 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# Machine-independent SCSI drivers 32# 33 34include "scsi/files.scsi" 35major { st = 2 } 36major { cd = 3 } 37major { sd = 8 } 38 39# RAM Disk 40pseudo-device rd 41file dev/ramdisk.c rd needs-flag 42file arch/alpha/alpha/rd_root.c ramdisk_hooks 43major { rd = 6 } 44 45# 46# raster console routines 47# 48 49define raster 50include "dev/rcons/files.rcons" 51 52# 53# "wprkstation cpnsole" routines 54# 55 56include "dev/wscons/files.wscons" 57 58# 59# TurboChannel Devices 60# 61 62include "dev/tc/files.tc" 63 64device tcasic: tcbus 65attach tcasic at mainbus 66file arch/alpha/tc/tcasic.c tcasic 67file arch/alpha/tc/tc_bus_mem.c tcasic 68file arch/alpha/tc/tc_3000_500.c tcasic & dec_3000_500 69file arch/alpha/tc/tc_3000_300.c tcasic & dec_3000_300 70 71# the TurboChannel IOCTL ASIC 72device ioasic { offset = -1 } 73attach ioasic at tc 74file arch/alpha/tc/ioasic.c ioasic 75 76# Color Frame buffer 77device cfb: raster, wsconsdev 78attach cfb at tc 79file arch/alpha/tc/cfb.c cfb 80 81# Smart Frame buffer 82device sfb: raster, wsconsdev 83attach sfb at tc 84file arch/alpha/tc/sfb.c sfb 85 86# 8530 UARTs 87device scc 88attach scc at ioasic 89file arch/alpha/tc/scc.c scc needs-count 90 91# the TCDS ASIC 92device tcds { slot = -1 } 93attach tcds at tc 94file arch/alpha/tc/tcds.c tcds needs-count 95 96# 53C[F]90 SCSI 97device esp: scsi 98attach esp at tcds 99file arch/alpha/tc/esp.c esp needs-count 100file arch/alpha/tc/tcds_dma.c esp 101 102# Baseboard Lance ethernet. 103attach le at ioasic with le_ioasic 104attach le at tc with le_tc 105file dev/tc/if_le_dec.c (le_ioasic | le_tc) 106file dev/tc/if_le_ioasic.c le_ioasic needs-flag #for le_iomem 107file dev/tc/if_le_tc.c le_tc 108 109# 110# ISA Bus support 111# 112 113# 114# Machine-independent ATAPI drivers 115# 116include "dev/atapi/files.atapi" 117major { acd = 4 } 118 119 120# XXX Dummy bus needed for some multi-homed devices specified in files.isa 121define pcmcia {} 122 123include "dev/pci/files.pci" # XXX some ISA devs are 'at pci' too. 124include "dev/isa/files.isa" 125major { wd = 0 } 126 127#file arch/alpha/isa/isafcns_jensen.c dec_2000_300 128 129 130# 131# ISA Bus devices 132# 133 134#device ibus at mainbus { } 135#device jcombo at ibus: isabus 136#device jeisa at ibus: eisabus 137 138file arch/alpha/isa/isa_machdep.c isa 139 140device pcppi { } 141attach pcppi at isa 142file arch/alpha/isa/pcppi.c pcppi 143 144device pckbd 145attach pckbd at pcppi 146file arch/alpha/isa/pckbd.c pckbd 147 148device pms 149attach pms at pcppi 150file arch/alpha/isa/pms.c pms 151 152# National Semiconductor DS8390/WD83C690-based boards 153# (WD/SMC 80x3 family, SMC Ultra [8216], 3Com 3C503, NE[12]000, and clones) 154# XXX conflicts with other ports; can't be in files.isa 155device ed: ether, ifnet 156attach ed at isa with ed_isa 157attach ed at pcmcia with ed_pcmcia 158attach ed at pci with ed_pci 159file dev/isa/if_ed.c ed & (ed_isa | ed_pcmcia | ed_pci) needs-flag 160 161# 162# EISA Bus support 163# 164 165include "dev/eisa/files.eisa" 166 167 168# 169# PCI Bus support 170# 171 172# include "dev/pci/files.pci" XXX SEE ABOVE 173 174device apecs: pcibus 175attach apecs at mainbus 176file arch/alpha/pci/apecs.c apecs 177file arch/alpha/pci/apecs_bus_io.c apecs 178file arch/alpha/pci/apecs_bus_mem.c apecs 179file arch/alpha/pci/apecs_pci.c apecs 180 181device lca: pcibus 182attach lca at mainbus 183file arch/alpha/pci/lca.c lca 184file arch/alpha/pci/lca_bus_io.c lca 185file arch/alpha/pci/lca_bus_mem.c lca 186file arch/alpha/pci/lca_pci.c lca 187 188device cia: pcibus 189attach cia at mainbus 190file arch/alpha/pci/cia.c cia 191file arch/alpha/pci/cia_bus_io.c cia 192file arch/alpha/pci/cia_bus_mem.c cia 193file arch/alpha/pci/cia_pci.c cia 194 195file arch/alpha/pci/pci_2100_a50.c dec_2100_a50 196file arch/alpha/pci/pci_axppci_33.c dec_axppci_33 197file arch/alpha/pci/pci_eb164.c dec_eb164 198file arch/alpha/pci/pci_eb164_intr.s dec_eb164 199file arch/alpha/pci/pci_kn20aa.c dec_kn20aa 200 201 202# 203# PCI Bus devices 204# 205 206file arch/alpha/pci/pci_machdep.c pci 207 208device sio: isabus, alpha_shared_intr 209attach sio at pci 210device pceb: isabus, eisabus 211attach pceb at pci 212file arch/alpha/pci/sio.c sio | pceb needs-flag 213file arch/alpha/pci/sio_pic.c sio | pceb 214 215device tga: raster, wsconsdev 216attach tga at pci 217file arch/alpha/pci/tga.c tga needs-flag 218file arch/alpha/pci/tga_conf.c tga 219file arch/alpha/pci/tga_bt463.c tga 220file arch/alpha/pci/tga_bt485.c tga 221 222# 223# ISA PnP 224# 225 226include "../../../dev/isa/files.isapnp" 227file arch/alpha/isa/isapnp_machdep.c isapnp 228 229# 230# Devices that can live on multiple busses 231# 232 233device mcclock 234attach mcclock at ioasic with mcclock_ioasic 235attach mcclock at isa with mcclock_isa 236file arch/alpha/alpha/mcclock.c mcclock 237file arch/alpha/tc/mcclock_ioasic.c mcclock_ioasic 238file arch/alpha/isa/mcclock_isa.c mcclock_isa 239 240# 241# Standard files 242# 243 244file arch/alpha/alpha/autoconf.c 245file arch/alpha/alpha/clock.c 246file arch/alpha/alpha/conf.c 247file arch/alpha/alpha/db_disasm.c ddb 248file arch/alpha/alpha/db_interface.c ddb 249file arch/alpha/alpha/db_trace.c ddb 250file arch/alpha/alpha/interrupt.c 251file arch/alpha/alpha/machdep.c 252file arch/alpha/alpha/mainbus.c 253file arch/alpha/alpha/mem.c 254file arch/alpha/alpha/pmap.c new_pmap 255file arch/alpha/alpha/pmap.old.c !new_pmap 256file arch/alpha/alpha/process_machdep.c 257file arch/alpha/alpha/prom.c 258file arch/alpha/alpha/support.c 259file arch/alpha/alpha/sys_machdep.c 260file arch/alpha/alpha/trap.c 261file arch/alpha/alpha/vm_machdep.c 262file arch/alpha/alpha/disksubr.c 263file dev/cons.c 264 265 266# 267# Optional/miscellaneous files 268# 269 270file arch/alpha/alpha/in_cksum.c inet & !generic_in_cksum 271file netinet/in_cksum.c inet & generic_in_cksum 272file netns/ns_cksum.c ns 273 274# XXX 275file arch/alpha/alpha/promcons.c 276 277# XXX 278# file arch/alpha/alpha/cpuconf.c 279file arch/alpha/alpha/dec_2100_a50.c dec_2100_a50 needs-flag 280file arch/alpha/alpha/dec_21000.c dec_21000 needs-flag 281file arch/alpha/alpha/dec_3000_300.c dec_3000_300 needs-flag 282file arch/alpha/alpha/dec_3000_500.c dec_3000_500 needs-flag 283file arch/alpha/alpha/dec_axppci_33.c dec_axppci_33 needs-flag 284file arch/alpha/alpha/dec_eb164.c dec_eb164 needs-flag 285file arch/alpha/alpha/dec_kn20aa.c dec_kn20aa needs-flag 286 287# OSF/1 Binary Compatibility (COMPAT_OSF1) 288include "compat/osf1/files.osf1" 289