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