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