1# $NetBSD: files.hp300,v 1.92 2019/02/18 01:12:22 thorpej Exp $ 2# 3# hp300-specific configuration info 4 5# maxpartitions must be the first item in files.${ARCH} 6maxpartitions 8 7 8maxusers 2 8 64 9 10# SPU configuration options. 11defflag opt_spuconf.h HP320 HP330 HP340 HP345 HP350 HP360 HP362 HP370 12 HP375 HP380 HP382 HP385 HP400 HP425 HP433 13 14# Misc. options. 15defflag USELEDS # make the lights twinkle 16defflag PANICBUTTON # enable panic on ctl+shift+reset ... 17 # ... unless we're doing DDB 18 19# NOTE! The order of these lines is significant! Don't change them 20# unless you absolutely know what you're doing! 21 22# 23# Mainbus 24# 25 26device mainbus { } 27attach mainbus at root 28 29# 30# Internal i/o space 31# 32 33device intio { } 34attach intio at mainbus 35file arch/hp300/dev/intio.c intio 36 37# 38# DIO bus 39# 40 41device dio { scode = -1 } 42attach dio at mainbus 43file arch/hp300/dev/dio.c dio 44 45# 46# SGC bus 47# 48 49device sgc { slot = -1 } 50attach sgc at mainbus 51file arch/hp300/dev/sgc.c sgc 52 53# 54# Devices in Internal i/o space 55# 56 57# Real-time clock (not optional) 58device rtc 59attach rtc at intio 60file arch/hp300/dev/rtc.c rtc 61 62# Human (Hilarious) Interface Loop 63include "dev/hil/files.hil" 64 65attach hil at intio with hil_intio 66file arch/hp300/dev/hil_intio.c hil_intio 67 68# 98620 DMA controller 69device dma 70attach dma at intio 71file arch/hp300/dev/dma.c dma 72 73# Apollo Utilility Chip (a.k.a. "Frodo") found on 4xx workstations 74device frodo { offset = -1 } 75attach frodo at intio 76file arch/hp300/dev/frodo.c frodo 77 78# Apollo APCI 8250-like UARTs 79attach com at frodo with com_frodo 80file arch/hp300/dev/com_frodo.c com_frodo needs-flag 81 82# Apollo Keyboard and mouse 83device dnkbd: wskbddev, wsmousedev 84attach dnkbd at frodo 85file arch/hp300/dev/dnkbd.c dnkbd needs-flag 86file arch/hp300/dev/dnkbdmap.c dnkbd 87 88# An mc146818-like calendar on 425e 89device mcclock: mc146818 90attach mcclock at frodo with mcclock_frodo 91file arch/hp300/dev/mcclock_frodo.c mcclock_frodo 92 93# 94# Frame buffer devices on Internal I/O and the DIO bus 95# 96define diofb 97define diofb_mono 98file arch/hp300/dev/diofb.c diofb | diofb_mono 99file arch/hp300/dev/diofb_mono.c diofb_mono 100 101device dvbox: wsemuldisplaydev, diofb, rasops8 102attach dvbox at intio with dvbox_intio 103attach dvbox at dio with dvbox_dio 104file arch/hp300/dev/dvbox.c dvbox needs-flag 105 106device gbox: wsemuldisplaydev, diofb, rasops8 107attach gbox at intio with gbox_intio 108attach gbox at dio with gbox_dio 109file arch/hp300/dev/gbox.c gbox needs-flag 110 111device hyper: wsemuldisplaydev, diofb_mono, rasops1 112attach hyper at dio 113file arch/hp300/dev/hyper.c hyper needs-flag 114 115device rbox: wsemuldisplaydev, diofb, rasops8 116attach rbox at intio with rbox_intio 117attach rbox at dio with rbox_dio 118file arch/hp300/dev/rbox.c rbox needs-flag 119 120device topcat: wsemuldisplaydev, diofb, rasops8 121attach topcat at intio with topcat_intio 122attach topcat at dio with topcat_dio 123file arch/hp300/dev/topcat.c topcat needs-flag 124 125device tvrx: wsemuldisplaydev, diofb_mono, rasops1 126attach tvrx at dio 127file arch/hp300/dev/tvrx.c tvrx needs-flag 128 129device gendiofb: wsemuldisplaydev, diofb, rasops8 130attach gendiofb at dio 131file arch/hp300/dev/gendiofb.c gendiofb needs-flag 132 133# 134# Devices on the DIO bus 135# 136 137# DCA serial interface 138attach com at dio with com_dio 139file arch/hp300/dev/com_dio.c com_dio needs-flag 140 141# DCM serial interface 142device dcm: tty 143attach dcm at dio 144file arch/hp300/dev/dcm.c dcm needs-flag 145 146# LANCE ethernet 147attach le at dio: le24 148file arch/hp300/dev/if_le.c le 149 150# 425e digital audio 151attach arcofi at dio with arcofi_dio 152file arch/hp300/dev/arcofi_dio.c arcofi_dio 153 154# HP-IB interfaces 155define hpibdev { } 156 157device nhpib: hpibdev 158attach nhpib at intio with nhpib_intio 159attach nhpib at dio with nhpib_dio 160file arch/hp300/dev/nhpib.c nhpib 161 162device fhpib: hpibdev 163attach fhpib at dio 164file arch/hp300/dev/fhpib.c fhpib 165 166# HP-IB bus layer 167device hpibbus { slave = -1, punit = -1 } 168attach hpibbus at hpibdev 169file arch/hp300/dev/hpib.c hpibbus 170 171# HP-IB devices 172device ct: tape 173attach ct at hpibbus 174file arch/hp300/dev/ct.c ct needs-flag 175 176device mt: tape 177attach mt at hpibbus 178file arch/hp300/dev/mt.c mt needs-flag 179 180device rd: disk 181attach rd at hpibbus 182file arch/hp300/dev/rd.c rd needs-flag 183 184device ppi 185attach ppi at hpibbus 186file arch/hp300/dev/ppi.c ppi needs-flag 187 188# MI SCSI 189include "dev/scsipi/files.scsipi" 190 191attach spc at dio 192file arch/hp300/dev/spc.c spc needs-flag 193 194# 195# Devices on the SGC bus 196# 197 198attach sti at sgc with sti_sgc 199file arch/hp300/dev/sti_sgc.c sti_sgc needs-flag 200 201# Memory Disk for ramdisk 202file dev/md_root.c memory_disk_hooks 203 204# 205# Non-device files 206# 207 208file arch/hp300/hp300/autoconf.c 209file arch/hp300/hp300/bus_space.c 210file arch/hp300/hp300/clock.c 211file arch/hp300/hp300/dkbad.c 212file arch/hp300/hp300/machdep.c 213file arch/hp300/hp300/intr.c 214file arch/hp300/hp300/leds.c useleds 215file arch/hp300/hp300/pmap_bootstrap.c compile-with "${NOPROF_C}" 216file arch/hp300/hp300/trap.c 217file arch/hp300/hp300/disksubr.c 218file arch/m68k/m68k/cacheops.c 219file arch/m68k/m68k/db_memrw.c ddb | kgdb 220file arch/m68k/m68k/fpu.c compile-with "${M68K_KERN_FPU}" 221file arch/m68k/m68k/kgdb_machdep.c kgdb 222file arch/m68k/m68k/m68k_trap.c 223file arch/m68k/m68k/pmap_motorola.c 224file arch/m68k/m68k/procfs_machdep.c procfs 225file arch/m68k/m68k/sys_machdep.c 226file arch/m68k/m68k/vm_machdep.c 227 228file dev/cons.c 229 230# Emulation modules 231# 6888x emulator (FPU_EMULATE) 232include "arch/m68k/fpe/files.fpe" 233 234# NetBSD m68k a.out Binary Compatibility (COMPAT_AOUT_M68K) 235include "compat/aoutm68k/files.aoutm68k" 236 237# SunOS Binary Compatibility (COMPAT_SUNOS) 238include "compat/sunos/files.sunos" 239file arch/m68k/m68k/sunos_machdep.c compat_sunos 240 241# Linux binary compatibility (COMPAT_LINUX) 242include "compat/linux/files.linux" 243include "compat/linux/arch/m68k/files.linux_m68k" 244file arch/m68k/m68k/linux_trap.c compat_linux 245 246# OSS audio driver compatibility 247include "compat/ossaudio/files.ossaudio" 248 249include "arch/hp300/conf/majors.hp300" 250