files.alpha revision 1.33
1# $NetBSD: files.alpha,v 1.33 1996/12/28 23:10:47 pk 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 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# Memory Disk 44pseudo-device md 45file dev/md.c md needs-flag 46file arch/alpha/alpha/md_root.c memory_disk_hooks 47major { md = 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 pcppi { } 143attach pcppi at isa 144file arch/alpha/isa/pcppi.c pcppi 145 146device pckbd 147attach pckbd at pcppi 148file arch/alpha/isa/pckbd.c pckbd 149 150device pms 151attach pms at pcppi 152file arch/alpha/isa/pms.c pms 153 154attach vga at isa with vga_isa 155file arch/alpha/isa/vga_isa.c vga_isa needs-flag 156 157# 158# EISA Bus support 159# 160 161include "dev/eisa/files.eisa" 162 163 164# 165# PCI Bus support 166# 167 168# include "dev/pci/files.pci" XXX SEE ABOVE 169 170device apecs: pcibus 171attach apecs at mainbus 172file arch/alpha/pci/apecs.c apecs 173file arch/alpha/pci/apecs_bus_io.c apecs 174file arch/alpha/pci/apecs_bus_mem.c apecs 175file arch/alpha/pci/apecs_pci.c apecs 176 177device lca: pcibus 178attach lca at mainbus 179file arch/alpha/pci/lca.c lca 180file arch/alpha/pci/lca_bus_io.c lca 181file arch/alpha/pci/lca_bus_mem.c lca 182file arch/alpha/pci/lca_pci.c lca 183 184device cia: pcibus 185attach cia at mainbus 186file arch/alpha/pci/cia.c cia 187file arch/alpha/pci/cia_bus_io.c cia 188file arch/alpha/pci/cia_bus_mem.c cia 189file arch/alpha/pci/cia_pci.c cia 190 191file arch/alpha/pci/pci_2100_a50.c dec_2100_a50 192file arch/alpha/pci/pci_axppci_33.c dec_axppci_33 193file arch/alpha/pci/pci_eb164.c dec_eb164 194file arch/alpha/pci/pci_eb164_intr.s dec_eb164 195file arch/alpha/pci/pci_kn20aa.c dec_kn20aa 196 197 198# 199# PCI Bus devices 200# 201 202file arch/alpha/pci/pci_machdep.c pci 203 204device sio: isabus, alpha_shared_intr 205attach sio at pci 206device pceb: isabus, eisabus 207attach pceb at pci 208file arch/alpha/pci/sio.c sio | pceb needs-flag 209file arch/alpha/pci/sio_pic.c sio | pceb 210 211device tga: raster, wsconsdev 212attach tga at pci 213file arch/alpha/pci/tga.c tga needs-flag 214file arch/alpha/pci/tga_conf.c tga 215file arch/alpha/pci/tga_bt463.c tga 216file arch/alpha/pci/tga_bt485.c tga 217 218 219attach vga at pci with vga_pci 220file arch/alpha/pci/vga_pci.c vga_pci needs-flag 221 222 223# 224# Devices that can live on multiple busses 225# 226 227device mcclock 228attach mcclock at ioasic with mcclock_ioasic 229attach mcclock at isa with mcclock_isa 230file arch/alpha/alpha/mcclock.c mcclock 231file arch/alpha/tc/mcclock_ioasic.c mcclock_ioasic 232file arch/alpha/isa/mcclock_isa.c mcclock_isa 233 234# 235# Standard files 236# 237 238file arch/alpha/alpha/autoconf.c 239file arch/alpha/alpha/clock.c 240file arch/alpha/alpha/conf.c 241file arch/alpha/alpha/interrupt.c 242file arch/alpha/alpha/machdep.c 243file arch/alpha/alpha/mainbus.c 244file arch/alpha/alpha/mem.c 245file arch/alpha/alpha/pmap.c new_pmap 246file arch/alpha/alpha/pmap.old.c !new_pmap 247file arch/alpha/alpha/process_machdep.c 248file arch/alpha/alpha/prom.c 249file arch/alpha/alpha/support.c 250file arch/alpha/alpha/sys_machdep.c 251file arch/alpha/alpha/trap.c 252file arch/alpha/alpha/vm_machdep.c 253file arch/alpha/alpha/disksubr.c 254file dev/cons.c 255 256 257# 258# Optional/miscellaneous files 259# 260 261file arch/alpha/alpha/in_cksum.c inet & !generic_in_cksum 262file netinet/in_cksum.c inet & generic_in_cksum 263file netns/ns_cksum.c ns 264 265# XXX 266file arch/alpha/alpha/promcons.c 267 268# XXX 269file arch/alpha/alpha/cpuconf.c 270file arch/alpha/alpha/dec_2100_a50.c dec_2100_a50 needs-flag 271file arch/alpha/alpha/dec_21000.c dec_21000 needs-flag 272file arch/alpha/alpha/dec_3000_300.c dec_3000_300 needs-flag 273file arch/alpha/alpha/dec_3000_500.c dec_3000_500 needs-flag 274file arch/alpha/alpha/dec_axppci_33.c dec_axppci_33 needs-flag 275file arch/alpha/alpha/dec_eb164.c dec_eb164 needs-flag 276file arch/alpha/alpha/dec_kn20aa.c dec_kn20aa needs-flag 277 278# OSF/1 Binary Compatibility (COMPAT_OSF1) 279include "compat/osf1/files.osf1" 280