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