files.alpha revision 1.38
1# $NetBSD: files.alpha,v 1.38 1997/02/27 01:20:53 thorpej 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 44file arch/alpha/alpha/md_root.c memory_disk_hooks 45major { md = 6 } 46 47# 48# raster console routines 49# 50 51define raster 52include "dev/rcons/files.rcons" 53file arch/alpha/wscons/wscons_rinit.c raster 54file arch/alpha/wscons/wscons_rops.c raster 55 56 57# 58# "Workstation Console" glue; attaches frame buffer to emulator & kbd. 59# 60device wscons 61attach wscons at wsconsdev 62file arch/alpha/wscons/wscons.c wscons needs-flag 63file arch/alpha/wscons/wscons_emul.c wscons 64 65file arch/alpha/wscons/event.c wscons 66file arch/alpha/wscons/kbd.c wscons 67file arch/alpha/wscons/ms.c wscons 68 69# 70# TurboChannel Devices 71# 72 73include "dev/tc/files.tc" 74 75device tcasic: tcbus 76attach tcasic at mainbus 77file arch/alpha/tc/tcasic.c tcasic 78file arch/alpha/tc/tc_bus_mem.c tcasic 79file arch/alpha/tc/tc_3000_500.c tcasic & dec_3000_500 80file arch/alpha/tc/tc_3000_300.c tcasic & dec_3000_300 81 82# the TurboChannel IOCTL ASIC 83device ioasic { offset = -1 } 84attach ioasic at tc 85file arch/alpha/tc/ioasic.c ioasic 86 87# Color Frame buffer 88device cfb: raster, wsconsdev 89attach cfb at tc 90file arch/alpha/tc/cfb.c cfb 91 92# Smart Frame buffer 93device sfb: raster, wsconsdev 94attach sfb at tc 95file arch/alpha/tc/sfb.c sfb 96 97# 8530 UARTs 98device scc 99attach scc at ioasic 100file arch/alpha/tc/scc.c scc needs-count 101 102# the TCDS ASIC 103device tcds { slot = -1 } 104attach tcds at tc 105file arch/alpha/tc/tcds.c tcds needs-count 106 107# 53C[F]90 SCSI 108device asc: scsi, ncr53c9x 109attach asc at tcds 110file arch/alpha/tc/asc.c asc needs-count 111file arch/alpha/tc/tcds_dma.c asc 112 113# Baseboard Lance ethernet. 114attach le at ioasic with le_ioasic 115attach le at tc with le_tc 116file dev/tc/if_le_dec.c (le_ioasic | le_tc) 117file dev/tc/if_le_ioasic.c le_ioasic needs-flag #for le_iomem 118file dev/tc/if_le_tc.c le_tc 119 120# 121# ISA Bus support 122# 123 124include "dev/pci/files.pci" # XXX some ISA devs are 'at pci' too. 125include "dev/isa/files.isa" 126major { wd = 4 } 127 128#file arch/alpha/isa/isafcns_jensen.c dec_2000_300 129 130 131# 132# ISA Bus devices 133# 134 135#device ibus at mainbus { } 136#device jcombo at ibus: isabus 137#device jeisa at ibus: eisabus 138 139file arch/alpha/isa/isa_machdep.c isa 140 141device pcppi { } 142attach pcppi at isa 143file arch/alpha/isa/pcppi.c pcppi 144 145device pckbd 146attach pckbd at pcppi 147file arch/alpha/isa/pckbd.c pckbd 148 149device pms 150attach pms at pcppi 151file arch/alpha/isa/pms.c pms 152 153attach vga at isa with vga_isa 154file arch/alpha/isa/vga_isa.c vga_isa needs-flag 155 156# Floppy disk controller 157device fdc { drive = -1 } 158attach fdc at isa 159device fd: disk, isadma 160attach fd at fdc 161file arch/alpha/isa/fd.c fdc needs-flag 162major { fd = 0 } 163 164# PC speaker 165# 166# EISA Bus support 167# 168 169include "dev/eisa/files.eisa" 170 171 172# 173# PCI Bus support 174# 175 176# include "dev/pci/files.pci" XXX SEE ABOVE 177 178device apecs: pcibus 179attach apecs at mainbus 180file arch/alpha/pci/apecs.c apecs 181file arch/alpha/pci/apecs_bus_io.c apecs 182file arch/alpha/pci/apecs_bus_mem.c apecs 183file arch/alpha/pci/apecs_pci.c apecs 184 185device lca: pcibus 186attach lca at mainbus 187file arch/alpha/pci/lca.c lca 188file arch/alpha/pci/lca_bus_io.c lca 189file arch/alpha/pci/lca_bus_mem.c lca 190file arch/alpha/pci/lca_pci.c lca 191 192device cia: pcibus 193attach cia at mainbus 194file arch/alpha/pci/cia.c cia 195file arch/alpha/pci/cia_bus_io.c cia 196file arch/alpha/pci/cia_bus_mem.c cia 197file arch/alpha/pci/cia_pci.c cia 198 199file arch/alpha/pci/pci_2100_a50.c dec_2100_a50 200file arch/alpha/pci/pci_axppci_33.c dec_axppci_33 201file arch/alpha/pci/pci_eb164.c dec_eb164 202file arch/alpha/pci/pci_eb164_intr.s dec_eb164 203file arch/alpha/pci/pci_kn20aa.c dec_kn20aa 204 205 206# 207# PCI Bus devices 208# 209 210file arch/alpha/pci/pci_machdep.c pci 211 212device sio: isabus, alpha_shared_intr 213attach sio at pci 214device pceb: isabus, eisabus 215attach pceb at pci 216file arch/alpha/pci/sio.c sio | pceb needs-flag 217file arch/alpha/pci/sio_pic.c sio | pceb 218 219device tga: raster, wsconsdev 220attach tga at pci 221file arch/alpha/pci/tga.c tga needs-flag 222file arch/alpha/pci/tga_conf.c tga 223file arch/alpha/pci/tga_bt463.c tga 224file arch/alpha/pci/tga_bt485.c tga 225 226 227attach vga at pci with vga_pci 228file arch/alpha/pci/vga_pci.c vga_pci needs-flag 229 230 231# 232# Devices that can live on multiple busses 233# 234 235device mcclock 236attach mcclock at ioasic with mcclock_ioasic 237attach mcclock at isa with mcclock_isa 238file arch/alpha/alpha/mcclock.c mcclock 239file arch/alpha/tc/mcclock_ioasic.c mcclock_ioasic 240file arch/alpha/isa/mcclock_isa.c mcclock_isa 241 242# 243# Standard files 244# 245 246file arch/alpha/alpha/autoconf.c 247file arch/alpha/alpha/clock.c 248file arch/alpha/alpha/conf.c 249file arch/alpha/alpha/interrupt.c 250file arch/alpha/alpha/machdep.c 251file arch/alpha/alpha/mainbus.c 252file arch/alpha/alpha/mem.c 253file arch/alpha/alpha/pmap.c new_pmap 254file arch/alpha/alpha/pmap.old.c !new_pmap 255file arch/alpha/alpha/process_machdep.c 256file arch/alpha/alpha/prom.c 257file arch/alpha/alpha/support.c 258file arch/alpha/alpha/sys_machdep.c 259file arch/alpha/alpha/trap.c 260file arch/alpha/alpha/vm_machdep.c 261file arch/alpha/alpha/disksubr.c 262file dev/cons.c 263 264 265# 266# Optional/miscellaneous files 267# 268 269file arch/alpha/alpha/in_cksum.c inet & !generic_in_cksum 270file netinet/in_cksum.c inet & generic_in_cksum 271file netns/ns_cksum.c ns 272 273# XXX 274file arch/alpha/alpha/promcons.c 275 276# XXX 277file arch/alpha/alpha/cpuconf.c 278file arch/alpha/alpha/dec_2100_a50.c dec_2100_a50 needs-flag 279file arch/alpha/alpha/dec_21000.c dec_21000 needs-flag 280file arch/alpha/alpha/dec_3000_300.c dec_3000_300 needs-flag 281file arch/alpha/alpha/dec_3000_500.c dec_3000_500 needs-flag 282file arch/alpha/alpha/dec_axppci_33.c dec_axppci_33 needs-flag 283file arch/alpha/alpha/dec_eb164.c dec_eb164 needs-flag 284file arch/alpha/alpha/dec_kn20aa.c dec_kn20aa needs-flag 285 286# OSF/1 Binary Compatibility (COMPAT_OSF1) 287include "compat/osf1/files.osf1" 288