files.alpha revision 1.30
1# $NetBSD: files.alpha,v 1.30 1996/11/17 02:05:29 cgd Exp $ 2# 3# alpha-specific configuration info 4 5# maxpartitions must be first item in files.${ARCH}.newconf 6maxpartitions 8 7 8maxusers 2 8 64 9 10# this loses, but there's no way to define attributes which have attributes 11define alpha_shared_intr 12file arch/alpha/alpha/shared_intr.c alpha_shared_intr | dec_eb164 | 13 dec_kn20aa 14 15# 16# Bus-independent devices 17# 18 19device mainbus { } # no locators (yet?) 20attach mainbus at root 21 22device cpu { } # not really optional; can be a 'bus' 23attach cpu at mainbus 24file arch/alpha/alpha/cpu.c cpu 25 26 27# 28# Machine-independent SCSI drivers 29# 30 31include "scsi/files.scsi" 32major { st = 2 } 33major { cd = 3 } 34major { sd = 8 } 35 36# RAM Disk 37pseudo-device rd 38file dev/ramdisk.c rd needs-flag 39file arch/alpha/alpha/rd_root.c ramdisk_hooks 40major { rd = 6 } 41 42# 43# raster console routines 44# 45 46define raster 47include "dev/rcons/files.rcons" 48file arch/alpha/wscons/wscons_rinit.c raster 49file arch/alpha/wscons/wscons_rops.c raster 50 51 52# 53# "Workstation Console" glue; attaches frame buffer to emulator & kbd. 54# 55define wsconsdev {[console = -1]} 56device wscons 57attach wscons at wsconsdev 58file arch/alpha/wscons/wscons.c wscons needs-flag 59file arch/alpha/wscons/wscons_emul.c wscons 60 61file arch/alpha/wscons/event.c wscons 62file arch/alpha/wscons/kbd.c wscons 63file arch/alpha/wscons/ms.c wscons 64 65 66# 67# TurboChannel Devices 68# 69 70include "dev/tc/files.tc" 71 72device tcasic: tcbus 73attach tcasic at mainbus 74file arch/alpha/tc/tcasic.c tcasic 75file arch/alpha/tc/tc_bus_mem.c tcasic 76file arch/alpha/tc/tc_3000_500.c tcasic & dec_3000_500 77file arch/alpha/tc/tc_3000_300.c tcasic & dec_3000_300 78 79# the TurboChannel IOCTL ASIC 80device ioasic { offset = -1 } 81attach ioasic at tc 82file arch/alpha/tc/ioasic.c ioasic 83 84# Color Frame buffer 85device cfb: raster, wsconsdev 86attach cfb at tc 87file arch/alpha/tc/cfb.c cfb 88 89# Smart Frame buffer 90device sfb: raster, wsconsdev 91attach sfb at tc 92file arch/alpha/tc/sfb.c sfb 93 94# 8530 UARTs 95device scc 96attach scc at ioasic 97file arch/alpha/tc/scc.c scc needs-count 98 99# the TCDS ASIC 100device tcds { slot = -1 } 101attach tcds at tc 102file arch/alpha/tc/tcds.c tcds needs-count 103 104# 53C[F]90 SCSI 105device esp: scsi 106attach esp at tcds 107file arch/alpha/tc/esp.c esp needs-count 108file arch/alpha/tc/tcds_dma.c esp 109 110# Baseboard Lance ethernet. 111attach le at ioasic with le_ioasic 112attach le at tc with le_tc 113file dev/tc/if_le_dec.c (le_ioasic | le_tc) 114file dev/tc/if_le_ioasic.c le_ioasic needs-flag #for le_iomem 115file dev/tc/if_le_tc.c le_tc 116 117# 118# ISA Bus support 119# 120 121include "dev/pci/files.pci" # XXX some ISA devs are 'at pci' too. 122include "dev/isa/files.isa" 123 124#file arch/alpha/isa/isafcns_jensen.c dec_2000_300 125 126 127# 128# ISA Bus devices 129# 130 131#device ibus at mainbus { } 132#device jcombo at ibus: isabus 133#device jeisa at ibus: eisabus 134 135device pckbd 136attach pckbd at isa 137file arch/alpha/isa/pckbd.c pckbd needs-flag 138device pms 139attach pms at isa 140file arch/alpha/isa/pms.c pms needs-flag 141 142 143# 144# EISA Bus support 145# 146 147include "dev/eisa/files.eisa" 148 149 150# 151# PCI Bus support 152# 153 154# include "dev/pci/files.pci" XXX SEE ABOVE 155 156device apecs: pcibus 157attach apecs at mainbus 158file arch/alpha/pci/apecs.c apecs 159file arch/alpha/pci/apecs_pci.c apecs 160 161device lca: pcibus 162attach lca at mainbus 163file arch/alpha/pci/lca.c lca 164file arch/alpha/pci/lca_pci.c lca 165 166file arch/alpha/pci/apecs_lca_bus_io.c apecs | lca 167file arch/alpha/pci/apecs_lca_bus_mem.c apecs | lca 168 169device cia: pcibus 170attach cia at mainbus 171file arch/alpha/pci/cia.c cia 172file arch/alpha/pci/cia_bus_io.c cia 173file arch/alpha/pci/cia_bus_mem.c cia 174file arch/alpha/pci/cia_pci.c cia 175 176file arch/alpha/pci/pci_2100_a50.c dec_2100_a50 177file arch/alpha/pci/pci_axppci_33.c dec_axppci_33 178file arch/alpha/pci/pci_eb164.c dec_eb164 179file arch/alpha/pci/pci_kn20aa.c dec_kn20aa 180 181 182# 183# PCI Bus devices 184# 185 186file arch/alpha/pci/pci_machdep.c pci 187 188device sio: isabus, alpha_shared_intr 189attach sio at pci 190device pceb: isabus, eisabus 191attach pceb at pci 192file arch/alpha/pci/sio.c sio | pceb needs-flag 193file arch/alpha/pci/sio_pic.c sio | pceb 194 195device tga: raster, wsconsdev 196attach tga at pci 197file arch/alpha/pci/tga.c tga needs-flag 198file arch/alpha/pci/tga_conf.c tga 199file arch/alpha/pci/tga_bt463.c tga 200file arch/alpha/pci/tga_bt485.c tga 201 202 203device pcivga: wsconsdev 204attach pcivga at pci 205file arch/alpha/pci/pcivga.c pcivga needs-flag 206 207 208# 209# Devices that can live on multiple busses 210# 211 212device mcclock 213attach mcclock at ioasic with mcclock_ioasic 214attach mcclock at isa with mcclock_isa 215file arch/alpha/alpha/mcclock.c mcclock 216file arch/alpha/tc/mcclock_ioasic.c mcclock_ioasic 217file arch/alpha/isa/mcclock_isa.c mcclock_isa 218 219# 220# Standard files 221# 222 223file arch/alpha/alpha/autoconf.c 224file arch/alpha/alpha/clock.c 225file arch/alpha/alpha/conf.c 226file arch/alpha/alpha/interrupt.c 227file arch/alpha/alpha/machdep.c 228file arch/alpha/alpha/mainbus.c 229file arch/alpha/alpha/mem.c 230file arch/alpha/alpha/pmap.c new_pmap 231file arch/alpha/alpha/pmap.old.c !new_pmap 232file arch/alpha/alpha/process_machdep.c 233file arch/alpha/alpha/prom.c 234file arch/alpha/alpha/support.c 235file arch/alpha/alpha/sys_machdep.c 236file arch/alpha/alpha/trap.c 237file arch/alpha/alpha/vm_machdep.c 238file arch/alpha/alpha/disksubr.c 239file dev/cons.c 240 241 242# 243# Optional/miscellaneous files 244# 245 246file arch/alpha/alpha/in_cksum.c inet & !generic_in_cksum 247file netinet/in_cksum.c inet & generic_in_cksum 248file netns/ns_cksum.c ns 249 250# XXX 251file arch/alpha/alpha/promcons.c 252 253# XXX 254file arch/alpha/alpha/cpuconf.c 255file arch/alpha/alpha/dec_2100_a50.c dec_2100_a50 needs-flag 256file arch/alpha/alpha/dec_21000.c dec_21000 needs-flag 257file arch/alpha/alpha/dec_3000_300.c dec_3000_300 needs-flag 258file arch/alpha/alpha/dec_3000_500.c dec_3000_500 needs-flag 259file arch/alpha/alpha/dec_axppci_33.c dec_axppci_33 needs-flag 260file arch/alpha/alpha/dec_eb164.c dec_eb164 needs-flag 261file arch/alpha/alpha/dec_kn20aa.c dec_kn20aa needs-flag 262 263# OSF/1 Binary Compatibility (COMPAT_OSF1) 264include "compat/osf1/files.osf1" 265