files.hp300 revision 1.68
1# $NetBSD: files.hp300,v 1.68 2003/08/01 01:18: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 HP370 12 HP375 HP380 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 55device hil { } 56attach hil at intio 57file arch/hp300/dev/hil.c hil needs-flag 58file arch/hp300/dev/hil_keymaps.c hil 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 71device apci: tty 72attach apci at frodo 73file arch/hp300/dev/apci.c apci needs-flag 74 75# Frame buffer attribute 76define grfdev { } 77 78# Frame buffer devices 79device dvbox: grfdev 80file arch/hp300/dev/grf_dv.c dvbox needs-flag 81 82device gbox: grfdev 83file arch/hp300/dev/grf_gb.c gbox needs-flag 84 85device hyper: grfdev 86file arch/hp300/dev/grf_hy.c hyper needs-flag 87 88device rbox: grfdev 89file arch/hp300/dev/grf_rb.c rbox needs-flag 90 91device topcat: grfdev 92file arch/hp300/dev/grf_tc.c topcat needs-flag 93 94# `grf' framebuffer abstraction 95device grf { } 96attach grf at grfdev 97file arch/hp300/dev/grf.c grf needs-flag 98file arch/hp300/dev/grf_subr.c grf 99 100# Internal Terminal Emulator 101device ite: tty 102attach ite at grf 103file arch/hp300/dev/ite.c ite needs-flag 104file arch/hp300/dev/ite_subr.c ite 105 106# Internal i/o framebuffer attachments 107attach dvbox at intio with dvbox_intio 108attach gbox at intio with gbox_intio 109attach rbox at intio with rbox_intio 110attach topcat at intio with topcat_intio 111 112# 113# Devices on the DIO bus 114# 115 116# DIO framebuffer attachments 117attach dvbox at dio with dvbox_dio 118attach gbox at dio with gbox_dio 119attach hyper at dio with hyper_dio 120attach rbox at dio with rbox_dio 121attach topcat at dio with topcat_dio 122 123# DCA serial interface 124device dca: tty 125attach dca at dio 126file arch/hp300/dev/dca.c dca needs-flag 127 128# DCM serial interface 129device dcm: tty 130attach dcm at dio 131file arch/hp300/dev/dcm.c dcm needs-flag 132 133# LANCE ethernet 134attach le at dio: le24 135file arch/hp300/dev/if_le.c le 136 137# HP-IB interfaces 138define hpibdev { } 139 140device nhpib: hpibdev 141attach nhpib at intio with nhpib_intio 142attach nhpib at dio with nhpib_dio 143file arch/hp300/dev/nhpib.c nhpib 144 145device fhpib: hpibdev 146attach fhpib at dio 147file arch/hp300/dev/fhpib.c fhpib 148 149# HP-IB bus layer 150device hpibbus { slave = -1, punit = -1 } 151attach hpibbus at hpibdev 152file arch/hp300/dev/hpib.c hpibbus 153 154# HP-IB devices 155device ct: tape 156attach ct at hpibbus 157file arch/hp300/dev/ct.c ct needs-flag 158 159device mt: tape 160attach mt at hpibbus 161file arch/hp300/dev/mt.c mt needs-flag 162 163device rd: disk 164attach rd at hpibbus 165file arch/hp300/dev/rd.c rd needs-flag 166file arch/hp300/dev/rd_compat.c rd # XXX 167 168device ppi 169attach ppi at hpibbus 170file arch/hp300/dev/ppi.c ppi needs-flag 171 172# MI SCSI 173include "dev/scsipi/files.scsipi" 174 175device spc: scsi 176attach spc at dio 177file arch/hp300/dev/spc.c spc needs-flag 178file dev/ic/mb89352.c spc 179 180# Memory Disk for ramdisk 181file dev/md_root.c memory_disk_hooks 182 183# 184# Non-device files 185# 186 187file arch/hp300/hp300/autoconf.c 188file arch/hp300/hp300/bus_space.c 189file arch/hp300/hp300/clock.c 190file arch/hp300/hp300/dkbad.c 191file arch/hp300/hp300/machdep.c 192file arch/hp300/hp300/intr.c 193file arch/hp300/hp300/leds.c useleds 194file arch/hp300/hp300/mem.c 195file arch/hp300/hp300/pmap_bootstrap.c compile-with "${NOPROF_C}" 196file arch/hp300/hp300/procfs_machdep.c procfs 197file arch/hp300/hp300/softintr.c 198file arch/hp300/hp300/trap.c 199file arch/hp300/hp300/disksubr.c 200file arch/m68k/m68k/cacheops.c 201file arch/m68k/m68k/db_memrw.c ddb | kgdb 202file arch/m68k/m68k/kgdb_machdep.c kgdb 203file arch/m68k/m68k/pmap_motorola.c 204file arch/m68k/m68k/sys_machdep.c 205file arch/m68k/m68k/vm_machdep.c 206 207file dev/cons.c 208 209# 210# HP-UX binary compatibility 211# 212include "compat/hpux/files.hpux" 213file arch/hp300/hp300/hpux_machdep.c compat_hpux 214 215# NetBSD m68k a.out Binary Compatibility (COMPAT_AOUT_M68K) 216include "compat/aoutm68k/files.aoutm68k" 217 218# SVR4 Binary Compatibility (COMPAT_SVR4) 219include "compat/svr4/files.svr4" 220 221# SunOS Binary Compatibility (COMPAT_SUNOS) 222include "compat/sunos/files.sunos" 223file arch/m68k/m68k/sunos_machdep.c compat_sunos 224 225# Linux binary compatibility (COMPAT_LINUX) 226include "compat/linux/files.linux" 227include "compat/linux/arch/m68k/files.linux_m68k" 228file arch/m68k/m68k/linux_trap.c compat_linux 229 230# a.out binary compatibility (COMPAT_AOUT) 231include "compat/aout/files.aout" 232 233# OSS audio driver compatibility 234include "compat/ossaudio/files.ossaudio" 235 236include "arch/hp300/conf/majors.hp300" 237