1# $NetBSD: files.hp300,v 1.62 2002/11/05 07:41:18 chs 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 16 17# NOTE! The order of these lines is significant! Don't change them 18# unless you absolutely know what you're doing! 19 20# 21# Mainbus 22# 23 24device mainbus { } 25attach mainbus at root 26 27# 28# Internal i/o space 29# 30 31device intio { } 32attach intio at mainbus 33file arch/hp300/dev/intio.c intio 34 35# 36# DIO bus 37# 38 39device dio { scode = -1 } 40attach dio at mainbus 41file arch/hp300/dev/dio.c dio 42 43# 44# Devices in Internal i/o space 45# 46 47# Real-time clock (not optional) 48device rtc 49attach rtc at intio 50file arch/hp300/dev/rtc.c rtc 51 52# Human (Hilarious) Interface Loop 53device hil { } 54attach hil at intio 55file arch/hp300/dev/hil.c hil needs-flag 56file arch/hp300/dev/hil_keymaps.c hil 57 58# Apollo Utilility Chip (a.k.a. "Frodo") found on 4xx workstations 59device frodo { offset = -1 } 60attach frodo at intio 61file arch/hp300/dev/frodo.c frodo 62 63# Apollo APCI 8250-like UARTs 64device apci: tty 65attach apci at frodo 66file arch/hp300/dev/apci.c apci needs-flag 67 68# Frame buffer attribute 69define grfdev { } 70 71# Frame buffer devices 72device dvbox: grfdev 73file arch/hp300/dev/grf_dv.c dvbox needs-flag 74 75device gbox: grfdev 76file arch/hp300/dev/grf_gb.c gbox needs-flag 77 78device hyper: grfdev 79file arch/hp300/dev/grf_hy.c hyper needs-flag 80 81device rbox: grfdev 82file arch/hp300/dev/grf_rb.c rbox needs-flag 83 84device topcat: grfdev 85file arch/hp300/dev/grf_tc.c topcat needs-flag 86 87# `grf' framebuffer abstraction 88device grf { } 89attach grf at grfdev 90file arch/hp300/dev/grf.c grf needs-flag 91file arch/hp300/dev/grf_subr.c grf 92 93# Internal Terminal Emulator 94device ite: tty 95attach ite at grf 96file arch/hp300/dev/ite.c ite needs-flag 97file arch/hp300/dev/ite_subr.c ite 98 99# Internal i/o framebuffer attachments 100attach dvbox at intio with dvbox_intio 101attach gbox at intio with gbox_intio 102attach rbox at intio with rbox_intio 103attach topcat at intio with topcat_intio 104 105# 106# Devices on the DIO bus 107# 108 109# DIO framebuffer attachments 110attach dvbox at dio with dvbox_dio 111attach gbox at dio with gbox_dio 112attach hyper at dio with hyper_dio 113attach rbox at dio with rbox_dio 114attach topcat at dio with topcat_dio 115 116# DCA serial interface 117device dca: tty 118attach dca at dio 119file arch/hp300/dev/dca.c dca needs-flag 120 121# DCM serial interface 122device dcm: tty 123attach dcm at dio 124file arch/hp300/dev/dcm.c dcm needs-flag 125 126# LANCE ethernet 127attach le at dio: le24 128file arch/hp300/dev/if_le.c le 129 130# HP-IB interfaces 131define hpibdev { } 132 133device nhpib: hpibdev 134attach nhpib at dio 135file arch/hp300/dev/nhpib.c nhpib 136 137device fhpib: hpibdev 138attach fhpib at dio 139file arch/hp300/dev/fhpib.c fhpib 140 141# HP-IB bus layer 142device hpibbus { slave = -1, punit = -1 } 143attach hpibbus at hpibdev 144file arch/hp300/dev/hpib.c hpibbus 145 146# HP-IB devices 147device ct: tape 148attach ct at hpibbus 149file arch/hp300/dev/ct.c ct needs-flag 150 151device mt: tape 152attach mt at hpibbus 153file arch/hp300/dev/mt.c mt needs-flag 154 155device rd: disk 156attach rd at hpibbus 157file arch/hp300/dev/rd.c rd needs-flag 158file arch/hp300/dev/rd_compat.c rd # XXX 159 160device ppi 161attach ppi at hpibbus 162file arch/hp300/dev/ppi.c ppi needs-flag 163 164# Old HP SCSI layer 165device oscsi { target = -1, lun = -1 } 166attach oscsi at dio 167file arch/hp300/dev/scsi.c oscsi 168 169# Old HP SCSI devices 170device sd: disk 171attach sd at oscsi 172file arch/hp300/dev/sd.c sd needs-flag 173file arch/hp300/dev/sd_compat.c sd # XXX 174 175device st: tape 176attach st at oscsi 177file arch/hp300/dev/st.c st needs-flag 178 179device ac 180attach ac at oscsi 181file arch/hp300/dev/ac.c ac needs-flag 182 183# Memory Disk for ramdisk 184file dev/md_root.c memory_disk_hooks 185 186# 187# Non-device files 188# 189 190file arch/hp300/hp300/autoconf.c 191file arch/hp300/hp300/bus_space.c 192file arch/hp300/hp300/clock.c 193file arch/hp300/hp300/dkbad.c 194file arch/hp300/hp300/machdep.c 195file arch/hp300/hp300/intr.c 196file arch/hp300/hp300/leds.c useleds 197file arch/hp300/hp300/mem.c 198file arch/hp300/hp300/pmap_bootstrap.c compile-with "${NOPROF_C}" 199file arch/hp300/hp300/procfs_machdep.c procfs 200file arch/hp300/hp300/softintr.c 201file arch/hp300/hp300/trap.c 202file arch/hp300/hp300/disksubr.c 203file arch/hp300/dev/dma.c 204file arch/m68k/m68k/cacheops.c 205file arch/m68k/m68k/db_memrw.c ddb | kgdb 206file arch/m68k/m68k/kgdb_machdep.c kgdb 207file arch/m68k/m68k/pmap_motorola.c 208file arch/m68k/m68k/sys_machdep.c 209file arch/m68k/m68k/vm_machdep.c 210 211file dev/clock_subr.c 212file dev/cons.c 213 214# 215# HP-UX binary compatibility 216# 217include "compat/hpux/files.hpux" 218file arch/hp300/hp300/hpux_machdep.c compat_hpux 219 220# NetBSD m68k a.out Binary Compatibility (COMPAT_AOUT_M68K) 221include "compat/aoutm68k/files.aoutm68k" 222 223# SVR4 Binary Compatibility (COMPAT_SVR4) 224include "compat/svr4/files.svr4" 225 226# SunOS Binary Compatibility (COMPAT_SUNOS) 227include "compat/sunos/files.sunos" 228file arch/m68k/m68k/sunos_machdep.c compat_sunos 229 230# Linux binary compatibility (COMPAT_LINUX) 231include "compat/linux/files.linux" 232include "compat/linux/arch/m68k/files.linux_m68k" 233file arch/m68k/m68k/linux_trap.c compat_linux 234 235# a.out binary compatibility (COMPAT_AOUT) 236include "compat/aout/files.aout" 237 238# OSS audio driver compatibility 239include "compat/ossaudio/files.ossaudio" 240 241include "arch/hp300/conf/majors.hp300" 242