1# $NetBSD: files.hp300,v 1.86 2013/08/16 13:39:47 tsutsui 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# 89# Frame buffer devices on Internal I/O and the DIO bus 90# 91define diofb 92define diofb_mono 93file arch/hp300/dev/diofb.c diofb | diofb_mono 94file arch/hp300/dev/diofb_mono.c diofb_mono 95 96device dvbox: wsemuldisplaydev, diofb, rasops8 97attach dvbox at intio with dvbox_intio 98attach dvbox at dio with dvbox_dio 99file arch/hp300/dev/dvbox.c dvbox needs-flag 100 101device gbox: wsemuldisplaydev, diofb, rasops8 102attach gbox at intio with gbox_intio 103attach gbox at dio with gbox_dio 104file arch/hp300/dev/gbox.c gbox needs-flag 105 106device hyper: wsemuldisplaydev, diofb_mono, rasops1 107attach hyper at dio 108file arch/hp300/dev/hyper.c hyper needs-flag 109 110device rbox: wsemuldisplaydev, diofb, rasops8 111attach rbox at intio with rbox_intio 112attach rbox at dio with rbox_dio 113file arch/hp300/dev/rbox.c rbox needs-flag 114 115device topcat: wsemuldisplaydev, diofb, rasops8 116attach topcat at intio with topcat_intio 117attach topcat at dio with topcat_dio 118file arch/hp300/dev/topcat.c topcat needs-flag 119 120device tvrx: wsemuldisplaydev, diofb_mono, rasops1 121attach tvrx at dio 122file arch/hp300/dev/tvrx.c tvrx needs-flag 123 124device gendiofb: wsemuldisplaydev, diofb, rasops8 125attach gendiofb at dio 126file arch/hp300/dev/gendiofb.c gendiofb needs-flag 127 128# 129# Devices on the DIO bus 130# 131 132# DCA serial interface 133attach com at dio with com_dio 134file arch/hp300/dev/com_dio.c com_dio needs-flag 135 136# DCM serial interface 137device dcm: tty 138attach dcm at dio 139file arch/hp300/dev/dcm.c dcm needs-flag 140 141# LANCE ethernet 142attach le at dio: le24 143file arch/hp300/dev/if_le.c le 144 145# HP-IB interfaces 146define hpibdev { } 147 148device nhpib: hpibdev 149attach nhpib at intio with nhpib_intio 150attach nhpib at dio with nhpib_dio 151file arch/hp300/dev/nhpib.c nhpib 152 153device fhpib: hpibdev 154attach fhpib at dio 155file arch/hp300/dev/fhpib.c fhpib 156 157# HP-IB bus layer 158device hpibbus { slave = -1, punit = -1 } 159attach hpibbus at hpibdev 160file arch/hp300/dev/hpib.c hpibbus 161 162# HP-IB devices 163device ct: tape 164attach ct at hpibbus 165file arch/hp300/dev/ct.c ct needs-flag 166 167device mt: tape 168attach mt at hpibbus 169file arch/hp300/dev/mt.c mt needs-flag 170 171device rd: disk 172attach rd at hpibbus 173file arch/hp300/dev/rd.c rd needs-flag 174 175device ppi 176attach ppi at hpibbus 177file arch/hp300/dev/ppi.c ppi needs-flag 178 179# MI SCSI 180include "dev/scsipi/files.scsipi" 181 182attach spc at dio 183file arch/hp300/dev/spc.c spc needs-flag 184 185# 186# Devices on the SGC bus 187# 188 189attach sti at sgc with sti_sgc 190file arch/hp300/dev/sti_sgc.c sti_sgc 191 192# Memory Disk for ramdisk 193file dev/md_root.c memory_disk_hooks 194 195# 196# Non-device files 197# 198 199file arch/hp300/hp300/autoconf.c 200file arch/hp300/hp300/bus_space.c 201file arch/hp300/hp300/clock.c 202file arch/hp300/hp300/dkbad.c 203file arch/hp300/hp300/machdep.c 204file arch/hp300/hp300/intr.c 205file arch/hp300/hp300/leds.c useleds 206file arch/hp300/hp300/pmap_bootstrap.c compile-with "${NOPROF_C}" 207file arch/hp300/hp300/trap.c 208file arch/hp300/hp300/disksubr.c 209file arch/m68k/m68k/cacheops.c 210file arch/m68k/m68k/db_memrw.c ddb | kgdb 211file arch/m68k/m68k/fpu.c 212file arch/m68k/m68k/kgdb_machdep.c kgdb 213file arch/m68k/m68k/pmap_motorola.c 214file arch/m68k/m68k/procfs_machdep.c procfs 215file arch/m68k/m68k/sys_machdep.c 216file arch/m68k/m68k/vm_machdep.c 217 218file dev/cons.c 219 220# Emulation modules 221# 6888x emulator (FPU_EMULATE) 222include "arch/m68k/fpe/files.fpe" 223 224# NetBSD m68k a.out Binary Compatibility (COMPAT_AOUT_M68K) 225include "compat/aoutm68k/files.aoutm68k" 226 227# SVR4 Binary Compatibility (COMPAT_SVR4) 228include "compat/svr4/files.svr4" 229 230# SunOS Binary Compatibility (COMPAT_SUNOS) 231include "compat/sunos/files.sunos" 232file arch/m68k/m68k/sunos_machdep.c compat_sunos 233 234# Linux binary compatibility (COMPAT_LINUX) 235include "compat/linux/files.linux" 236include "compat/linux/arch/m68k/files.linux_m68k" 237file arch/m68k/m68k/linux_trap.c compat_linux 238 239# OSS audio driver compatibility 240include "compat/ossaudio/files.ossaudio" 241 242include "arch/hp300/conf/majors.hp300" 243