files.alpha revision 1.64
1# $NetBSD: files.alpha,v 1.64 1998/03/02 08:04:04 ross 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# CPU support option headers 11defopt DEC_2000_300 # "Jensen": 2000/300 (DECpc AXP 150) 12defopt DEC_2100_A50 # Avanti etc: AlphaStation 400, 200, etc. 13defopt DEC_3000_300 # Pelican etc: 3000/300* 14defopt DEC_3000_500 # Flamingo etc: 3000/[4-9]00* 15defopt DEC_550 # Miata: Personal Workstation (550) 16defopt DEC_AXPPCI_33 # NoName: AXPpci33, etc. 17defopt DEC_EB164 # EB164: AlphaPC 164 18defopt DEC_EB64PLUS # EB64+: AlphaPC 64, etc. 19defopt DEC_KN20AA # KN20AA: AlphaStation 500 and 600 20defopt DEC_KN8AE # KN8AE: AlphaServer 8200 and 8400 21defopt AVALON_A12 # Avalon: A12T1, A12M Parallel Supercomputer 22 23# Miscellaneous CPU-specific option headers 24defopt FIX_UNALIGNED_VAX_FP 25 26# a wscons output device; used later, but needs to be near the top for 27# common file (e.g. vga) definitions. 28define wsconsdev {[console = -1]} 29 30# this loses, but there's no way to define attributes which have attributes 31define alpha_shared_intr 32file arch/alpha/common/shared_intr.c alpha_shared_intr | dec_eb164 | 33 dec_eb64plus | dec_kn20aa | dec_kn8ae 34define alpha_sgmap 35file arch/alpha/common/sgmap_common.c alpha_sgmap | dec_3000_500 36 37device vga: wsconsdev 38file arch/alpha/common/vga.c vga 39 40# 41# Bus-independent devices 42# 43 44device mainbus { } # no locators (yet?) 45attach mainbus at root 46 47device cpu { } # not really optional 48attach cpu at mainbus 49file arch/alpha/alpha/cpu.c cpu 50 51 52# 53# Machine-independent SCSI drivers 54# 55 56include "dev/scsipi/files.scsipi" 57major { st = 2 } 58major { cd = 3 } 59major { sd = 8 } 60 61# 62# Machine-independent ATA drivers 63# 64 65include "dev/ata/files.ata" 66major { wd = 4 } 67 68# Memory Disk 69file arch/alpha/alpha/md_root.c memory_disk_hooks 70major { md = 6 } 71 72# 73# raster console routines 74# 75 76define raster 77include "dev/rcons/files.rcons" 78file arch/alpha/wscons/wscons_rinit.c raster 79file arch/alpha/wscons/wscons_rops.c raster 80 81 82# 83# "Workstation Console" glue; attaches frame buffer to emulator & kbd. 84# 85device wscons: tty 86attach wscons at wsconsdev 87file arch/alpha/wscons/wscons.c wscons needs-flag 88file arch/alpha/wscons/wscons_emul.c wscons 89 90file arch/alpha/wscons/event.c wscons 91file arch/alpha/wscons/kbd.c wscons 92file arch/alpha/wscons/ms.c wscons 93 94 95# 96# TurboLaser Bus Support 97# 98 99device tlsb { node = -1, offset = -1 } 100attach tlsb at mainbus 101file arch/alpha/tlsb/tlsb.c tlsb & dec_kn8ae 102 103device kft { } 104attach kft at tlsb 105file arch/alpha/tlsb/kftxx.c kft 106 107device tlsbmem 108attach tlsbmem at tlsb 109file arch/alpha/tlsb/tlsbmem.c tlsbmem 110 111device gbus { offset = -1 } 112attach gbus at tlsb 113file arch/alpha/tlsb/gbus.c gbus 114 115 116# 117# Bus-independent support for DEC devices 118# 119include "dev/dec/files.dec" 120 121# 122# TurboChannel Devices 123# 124include "dev/tc/files.tc" 125 126# TC attachment is MD 127attach tc at tcbus 128 129device tcasic: tcbus 130attach tcasic at mainbus 131file arch/alpha/tc/tcasic.c tcasic 132file arch/alpha/tc/tc_bus_mem.c tcasic 133file arch/alpha/tc/tc_dma.c tcasic 134file arch/alpha/tc/tc_dma_3000_300.c tcasic & dec_3000_300 135file arch/alpha/tc/tc_dma_3000_500.c tcasic & dec_3000_500 136file arch/alpha/tc/tc_sgmap.c tcasic & dec_3000_500 137file arch/alpha/tc/tc_3000_500.c tcasic & dec_3000_500 138file arch/alpha/tc/tc_3000_300.c tcasic & dec_3000_300 139 140# the TurboChannel IOCTL ASIC 141# IOASIC device and attachment defined in sys/dev/tc/files.tc 142file arch/alpha/tc/ioasic.c ioasic 143 144# Color Frame buffer 145device cfb: raster, wsconsdev 146attach cfb at tc 147file arch/alpha/tc/cfb.c cfb 148 149# Smart Frame buffer 150device sfb: raster, wsconsdev 151attach sfb at tc 152file arch/alpha/tc/sfb.c sfb 153 154# 8530 UARTs 155device scc: tty 156attach scc at ioasic 157file arch/alpha/tc/scc.c scc needs-count 158 159# the TCDS ASIC 160device tcds { slot = -1 } 161attach tcds at tc 162file arch/alpha/tc/tcds.c tcds needs-count 163 164# 53C[F]90 SCSI 165device asc: scsi, ncr53c9x 166attach asc at tcds 167file arch/alpha/tc/asc.c asc needs-count 168file arch/alpha/tc/tcds_dma.c asc 169 170# TC and baseboard ioasic Lance ethernet are in files.tc 171 172# 173# ISA Bus support 174# 175 176include "dev/pci/files.pci" # XXX some ISA devs are 'at pci' too. 177include "dev/isa/files.isa" 178 179#file arch/alpha/isa/isafcns_jensen.c dec_2000_300 180 181 182# 183# ISA Bus devices 184# 185 186#device ibus at mainbus { } 187#device jcombo at ibus: isabus 188#device jeisa at ibus: eisabus 189 190file arch/alpha/isa/isa_machdep.c isa 191 192device pcppi { } 193attach pcppi at isa 194file arch/alpha/isa/pcppi.c pcppi 195 196device pckbd 197attach pckbd at pcppi 198file arch/alpha/isa/pckbd.c pckbd 199 200device pms 201attach pms at pcppi 202file arch/alpha/isa/pms.c pms 203 204attach vga at isa with vga_isa 205file arch/alpha/isa/vga_isa.c vga_isa needs-flag 206 207# Floppy disk controller 208device fdc { drive = -1 } 209attach fdc at isa 210device fd: disk, isadma 211attach fd at fdc 212file arch/alpha/isa/fd.c fdc needs-flag 213major { fd = 0 } 214 215# PC speaker 216# 217# EISA Bus support 218# 219 220include "dev/eisa/files.eisa" 221 222 223# 224# PCI Bus support 225# 226 227# include "dev/pci/files.pci" XXX SEE ABOVE 228 229define alpha_pci_sgmap_pte32 230file arch/alpha/pci/pci_sgmap_pte32.c alpha_pci_sgmap_pte32 231 232define alpha_pci_sgmap_pte64 233file arch/alpha/pci/pci_sgmap_pte64.c alpha_pci_sgmap_pte64 234 235device apecs: pcibus, alpha_sgmap, alpha_pci_sgmap_pte64 236attach apecs at mainbus 237file arch/alpha/pci/apecs.c apecs 238file arch/alpha/pci/apecs_bus_io.c apecs 239file arch/alpha/pci/apecs_bus_mem.c apecs 240file arch/alpha/pci/apecs_dma.c apecs 241file arch/alpha/pci/apecs_pci.c apecs 242 243device cia: pcibus, alpha_sgmap, alpha_pci_sgmap_pte64 244attach cia at mainbus 245file arch/alpha/pci/cia.c cia 246file arch/alpha/pci/cia_dma.c cia 247file arch/alpha/pci/cia_pci.c cia 248file arch/alpha/pci/cia_swiz_bus_io.c cia 249file arch/alpha/pci/cia_swiz_bus_mem.c cia 250 251device a12c { }: pcibus 252attach a12c at mainbus 253file arch/alpha/pci/a12c.c a12c 254file arch/alpha/pci/a12c_bus_mem.c a12c 255file arch/alpha/pci/a12c_dma.c a12c 256file arch/alpha/pci/a12c_pci.c a12c 257 258device dwlpx: pcibus, alpha_sgmap, alpha_pci_sgmap_pte32 259attach dwlpx at kft 260file arch/alpha/pci/dwlpx.c dwlpx 261file arch/alpha/pci/dwlpx_dma.c dwlpx 262file arch/alpha/pci/dwlpx_pci.c dwlpx 263file arch/alpha/pci/pci_kn8ae.c dwlpx # XXX doesn't really fit here 264file arch/alpha/pci/dwlpx_bus_mem.c dwlpx 265file arch/alpha/pci/dwlpx_bus_io.c dwlpx 266 267device lca: pcibus, alpha_sgmap, alpha_pci_sgmap_pte64 268attach lca at mainbus 269file arch/alpha/pci/lca.c lca 270file arch/alpha/pci/lca_bus_io.c lca 271file arch/alpha/pci/lca_bus_mem.c lca 272file arch/alpha/pci/lca_dma.c lca 273file arch/alpha/pci/lca_pci.c lca 274 275# CPU support files 276file arch/alpha/pci/pci_2100_a50.c dec_2100_a50 277file arch/alpha/pci/pci_a12.c avalon_a12 278file arch/alpha/pci/pci_axppci_33.c dec_axppci_33 279file arch/alpha/pci/pci_eb164.c dec_eb164 280file arch/alpha/pci/pci_eb164_intr.s dec_eb164 281#file arch/alpha/pci/pci_eb64plus.c dec_eb64plus 282file arch/alpha/pci/pci_eb64plus_intr.s dec_eb64plus 283file arch/alpha/pci/pci_kn20aa.c dec_kn20aa 284 285 286# 287# PCI Bus devices 288# 289 290file arch/alpha/pci/pci_machdep.c pci 291 292device sio: isabus, alpha_shared_intr 293attach sio at pci 294device pceb: isabus, eisabus 295attach pceb at pci 296file arch/alpha/pci/sio.c sio | pceb needs-flag 297file arch/alpha/pci/sio_pic.c sio | pceb 298 299device tga: raster, wsconsdev 300attach tga at pci 301file arch/alpha/pci/tga.c tga needs-flag 302file arch/alpha/pci/tga_conf.c tga 303file arch/alpha/pci/tga_bt463.c tga 304file arch/alpha/pci/tga_bt485.c tga 305 306attach vga at pci with vga_pci 307file arch/alpha/pci/vga_pci.c vga_pci needs-flag 308 309# 310# A12 if_de hack, this is temporary! 311# 312device ade: ether, ifnet, arp 313attach ade at pci 314file arch/alpha/pci/if_ade.c ade 315 316# 317# alpha/a12 platform-specific drivers 318# 319 320# Switch 321 322device xb 323attach xb at a12c 324file arch/alpha/a12/if_xb.c xb 325 326# Console 327 328device a12dc 329attach a12dc at a12c 330file arch/alpha/a12/a12dc.c a12dc needs-flag 331 332# 333# Devices that can live on multiple busses 334# 335 336device mcclock 337attach mcclock at ioasic with mcclock_ioasic 338attach mcclock at isa with mcclock_isa 339attach mcclock at gbus with mcclock_tlsb 340file arch/alpha/alpha/mcclock.c mcclock 341file arch/alpha/tc/mcclock_ioasic.c mcclock_ioasic 342file arch/alpha/isa/mcclock_isa.c mcclock_isa 343file arch/alpha/tlsb/mcclock_tlsb.c mcclock_tlsb 344 345 346# 347# Standard files 348# 349file arch/alpha/alpha/autoconf.c 350file arch/alpha/alpha/clock.c 351file arch/alpha/alpha/conf.c 352file arch/alpha/alpha/cpuconf.c 353file arch/alpha/alpha/interrupt.c 354file arch/alpha/alpha/machdep.c 355file arch/alpha/alpha/mainbus.c 356file arch/alpha/alpha/mem.c 357file arch/alpha/alpha/pmap.c new_pmap 358file arch/alpha/alpha/pmap.old.c !new_pmap 359file arch/alpha/alpha/process_machdep.c 360file arch/alpha/alpha/prom.c 361file arch/alpha/alpha/support.c 362file arch/alpha/alpha/sys_machdep.c 363file arch/alpha/alpha/trap.c 364file arch/alpha/alpha/vm_machdep.c 365file arch/alpha/alpha/disksubr.c 366file arch/alpha/common/bus_dma.c 367file dev/cons.c 368 369# Network protocol checksum routines 370file arch/alpha/alpha/in_cksum.c inet 371file netns/ns_cksum.c ns 372 373# PROM console support (for ports that don't have native console support) 374file arch/alpha/alpha/promcons.c 375 376# CPU support 377file arch/alpha/alpha/dec_2100_a50.c dec_2100_a50 378file arch/alpha/alpha/dec_3000_300.c dec_3000_300 379file arch/alpha/alpha/dec_3000_500.c dec_3000_500 380file arch/alpha/alpha/dec_550.c dec_550 381file arch/alpha/alpha/dec_axppci_33.c dec_axppci_33 382file arch/alpha/alpha/dec_eb164.c dec_eb164 383file arch/alpha/alpha/dec_eb64plus.c dec_eb64plus 384file arch/alpha/alpha/dec_kn20aa.c dec_kn20aa 385file arch/alpha/alpha/dec_kn8ae.c dec_kn8ae 386file arch/alpha/alpha/avalon_a12.c avalon_a12 387 388# Kernel debugger support 389file arch/alpha/alpha/db_disasm.c ddb 390file arch/alpha/alpha/db_interface.c ddb 391file arch/alpha/alpha/db_trace.c ddb 392 393# OSF/1 Binary Compatibility (COMPAT_OSF1) 394include "compat/osf1/files.osf1" 395