files.hp300 revision 1.79
1# $NetBSD: files.hp300,v 1.79 2011/02/06 18:26:53 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# Devices in Internal i/o space 47# 48 49# Real-time clock (not optional) 50device rtc 51attach rtc at intio 52file arch/hp300/dev/rtc.c rtc 53 54# Human (Hilarious) Interface Loop 55include "dev/hil/files.hil" 56 57attach hil at intio with hil_intio 58file arch/hp300/dev/hil_intio.c hil_intio 59 60# 98620 DMA controller 61device dma 62attach dma at intio 63file arch/hp300/dev/dma.c dma 64 65# Apollo Utilility Chip (a.k.a. "Frodo") found on 4xx workstations 66device frodo { offset = -1 } 67attach frodo at intio 68file arch/hp300/dev/frodo.c frodo 69 70# Apollo APCI 8250-like UARTs 71attach com at frodo with com_frodo 72file arch/hp300/dev/com_frodo.c com_frodo needs-flag 73 74# Apollo Keyboard and mouse 75#device dnkbd: wskbddev, wsmousedev 76#attach dnkbd at frodo 77#file arch/hp300/dev/dnkbd.c dnkbd needs-flag 78#file arch/hp300/dev/dnkbdmap.c dnkbd 79 80# 81# Frame buffer devices on Internal I/O and the DIO bus 82# 83define diofb 84define diofb_mono 85file arch/hp300/dev/diofb.c diofb | diofb_mono 86file arch/hp300/dev/diofb_mono.c diofb_mono 87 88device dvbox: wsemuldisplaydev, diofb, rasops8 89attach dvbox at intio with dvbox_intio 90attach dvbox at dio with dvbox_dio 91file arch/hp300/dev/dvbox.c dvbox needs-flag 92 93device gbox: wsemuldisplaydev, diofb, rasops8 94attach gbox at intio with gbox_intio 95attach gbox at dio with gbox_dio 96file arch/hp300/dev/gbox.c gbox needs-flag 97 98device hyper: wsemuldisplaydev, diofb_mono, rasops1 99attach hyper at dio 100file arch/hp300/dev/hyper.c hyper needs-flag 101 102device rbox: wsemuldisplaydev, diofb, rasops8 103attach rbox at intio with rbox_intio 104attach rbox at dio with rbox_dio 105file arch/hp300/dev/rbox.c rbox needs-flag 106 107device topcat: wsemuldisplaydev, diofb, rasops8 108attach topcat at intio with topcat_intio 109attach topcat at dio with topcat_dio 110file arch/hp300/dev/topcat.c topcat needs-flag 111 112device tvrx: wsemuldisplaydev, diofb_mono, rasops1 113attach tvrx at dio 114file arch/hp300/dev/tvrx.c tvrx needs-flag 115 116# 117# Devices on the DIO bus 118# 119 120# DCA serial interface 121attach com at dio with com_dio 122file arch/hp300/dev/com_dio.c com_dio needs-flag 123 124# DCM serial interface 125device dcm: tty 126attach dcm at dio 127file arch/hp300/dev/dcm.c dcm needs-flag 128 129# LANCE ethernet 130attach le at dio: le24 131file arch/hp300/dev/if_le.c le 132 133# HP-IB interfaces 134define hpibdev { } 135 136device nhpib: hpibdev 137attach nhpib at intio with nhpib_intio 138attach nhpib at dio with nhpib_dio 139file arch/hp300/dev/nhpib.c nhpib 140 141device fhpib: hpibdev 142attach fhpib at dio 143file arch/hp300/dev/fhpib.c fhpib 144 145# HP-IB bus layer 146device hpibbus { slave = -1, punit = -1 } 147attach hpibbus at hpibdev 148file arch/hp300/dev/hpib.c hpibbus 149 150# HP-IB devices 151device ct: tape 152attach ct at hpibbus 153file arch/hp300/dev/ct.c ct needs-flag 154 155device mt: tape 156attach mt at hpibbus 157file arch/hp300/dev/mt.c mt needs-flag 158 159device rd: disk 160attach rd at hpibbus 161file arch/hp300/dev/rd.c rd needs-flag 162 163device ppi 164attach ppi at hpibbus 165file arch/hp300/dev/ppi.c ppi needs-flag 166 167# MI SCSI 168include "dev/scsipi/files.scsipi" 169 170attach spc at dio 171file arch/hp300/dev/spc.c spc needs-flag 172 173# Memory Disk for ramdisk 174file dev/md_root.c memory_disk_hooks 175 176# 177# Non-device files 178# 179 180file arch/hp300/hp300/autoconf.c 181file arch/hp300/hp300/bus_space.c 182file arch/hp300/hp300/clock.c 183file arch/hp300/hp300/dkbad.c 184file arch/hp300/hp300/machdep.c 185file arch/hp300/hp300/intr.c 186file arch/hp300/hp300/leds.c useleds 187file arch/hp300/hp300/mem.c 188file arch/hp300/hp300/pmap_bootstrap.c compile-with "${NOPROF_C}" 189file arch/hp300/hp300/trap.c 190file arch/hp300/hp300/disksubr.c 191file arch/m68k/m68k/cacheops.c 192file arch/m68k/m68k/db_memrw.c ddb | kgdb 193file arch/m68k/m68k/kgdb_machdep.c kgdb 194file arch/m68k/m68k/pmap_motorola.c 195file arch/m68k/m68k/procfs_machdep.c procfs 196file arch/m68k/m68k/sys_machdep.c 197file arch/m68k/m68k/vm_machdep.c 198 199file dev/cons.c 200 201# NetBSD m68k a.out Binary Compatibility (COMPAT_AOUT_M68K) 202include "compat/aoutm68k/files.aoutm68k" 203 204# SVR4 Binary Compatibility (COMPAT_SVR4) 205include "compat/svr4/files.svr4" 206 207# SunOS Binary Compatibility (COMPAT_SUNOS) 208include "compat/sunos/files.sunos" 209file arch/m68k/m68k/sunos_machdep.c compat_sunos 210 211# Linux binary compatibility (COMPAT_LINUX) 212include "compat/linux/files.linux" 213include "compat/linux/arch/m68k/files.linux_m68k" 214file arch/m68k/m68k/linux_trap.c compat_linux 215 216# OSS audio driver compatibility 217include "compat/ossaudio/files.ossaudio" 218 219include "arch/hp300/conf/majors.hp300" 220