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