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