1# $NetBSD: files.hp300,v 1.45 2001/06/18 02:00:49 christos 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. 11defopt opt_spuconf.h HP320 HP330 HP340 HP345 HP350 HP360 HP370 12 HP375 HP380 HP385 HP400 HP425 HP433 13 14# Misc. options. 15defopt 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# Apollo Utilility Chip (a.k.a. "Frodo") found on 4xx workstations 48device frodo { offset = -1 } 49attach frodo at intio 50file arch/hp300/dev/frodo.c frodo 51 52# Apollo APCI 8250-like UARTs 53device apci: tty 54attach apci at frodo 55file arch/hp300/dev/apci.c apci needs-flag 56 57# Frame buffer attribute 58define grfdev { } 59 60# Frame buffer devices 61device dvbox: grfdev 62file arch/hp300/dev/grf_dv.c dvbox needs-flag 63 64device gbox: grfdev 65file arch/hp300/dev/grf_gb.c gbox needs-flag 66 67device hyper: grfdev 68file arch/hp300/dev/grf_hy.c hyper needs-flag 69 70device rbox: grfdev 71file arch/hp300/dev/grf_rb.c rbox needs-flag 72 73device topcat: grfdev 74file arch/hp300/dev/grf_tc.c topcat needs-flag 75 76# `grf' framebuffer abstraction 77device grf { } 78attach grf at grfdev 79file arch/hp300/dev/grf.c grf needs-flag 80file arch/hp300/dev/grf_subr.c grf 81 82# Internal Terminal Emulator 83device ite: tty 84attach ite at grf 85file arch/hp300/dev/ite.c ite needs-flag 86file arch/hp300/dev/ite_subr.c ite 87 88# Internal i/o framebuffer attachments 89attach dvbox at intio with dvbox_intio 90attach gbox at intio with gbox_intio 91attach rbox at intio with rbox_intio 92attach topcat at intio with topcat_intio 93 94# 95# Devices on the DIO bus 96# 97 98# DIO framebuffer attachments 99attach dvbox at dio with dvbox_dio 100attach gbox at dio with gbox_dio 101attach hyper at dio with hyper_dio 102attach rbox at dio with rbox_dio 103attach topcat at dio with topcat_dio 104 105# DCA serial interface 106device dca: tty 107attach dca at dio 108file arch/hp300/dev/dca.c dca needs-flag 109 110# DCM serial interface 111device dcm: tty 112attach dcm at dio 113file arch/hp300/dev/dcm.c dcm needs-flag 114 115# LANCE ethernet 116attach le at dio: le24 117file arch/hp300/dev/if_le.c le 118 119# HP-IB interfaces 120define hpibdev { } 121 122device nhpib: hpibdev 123attach nhpib at dio 124file arch/hp300/dev/nhpib.c nhpib 125 126device fhpib: hpibdev 127attach fhpib at dio 128file arch/hp300/dev/fhpib.c fhpib 129 130# HP-IB bus layer 131device hpibbus { slave = -1, punit = -1 } 132attach hpibbus at hpibdev 133file arch/hp300/dev/hpib.c hpibbus 134 135# HP-IB devices 136device ct: tape 137attach ct at hpibbus 138file arch/hp300/dev/ct.c ct needs-flag 139 140device mt: tape 141attach mt at hpibbus 142file arch/hp300/dev/mt.c mt needs-flag 143 144device rd: disk 145attach rd at hpibbus 146file arch/hp300/dev/rd.c rd needs-flag 147file arch/hp300/dev/rd_compat.c rd # XXX 148major {rd = 2} 149 150device ppi 151attach ppi at hpibbus 152file arch/hp300/dev/ppi.c ppi needs-flag 153 154# Old HP SCSI layer 155device oscsi { target = -1, lun = -1 } 156attach oscsi at dio 157file arch/hp300/dev/scsi.c oscsi 158 159# Old HP SCSI devices 160device sd: disk 161attach sd at oscsi 162file arch/hp300/dev/sd.c sd needs-flag 163file arch/hp300/dev/sd_compat.c sd # XXX 164major {sd = 4} 165 166device st: tape 167attach st at oscsi 168file arch/hp300/dev/st.c st needs-flag 169 170device ac 171attach ac at oscsi 172file arch/hp300/dev/ac.c ac needs-flag 173 174# RAIDframe 175major {raid = 15} 176 177# Human (Hilarious) Interface Loop 178# XXX should be a real device 179file arch/hp300/dev/hil.c 180file arch/hp300/dev/hil_keymaps.c 181 182# 183# Non-device files 184# 185 186file arch/hp300/hp300/autoconf.c 187file arch/hp300/hp300/bus_space.c 188file arch/hp300/hp300/clock.c 189file arch/hp300/hp300/conf.c 190file arch/hp300/hp300/db_memrw.c ddb | kgdb 191file arch/hp300/hp300/dkbad.c 192file arch/hp300/hp300/kgdb_machdep.c kgdb 193file arch/hp300/hp300/machdep.c 194file arch/hp300/hp300/intr.c 195file arch/hp300/hp300/leds.c useleds 196file arch/hp300/hp300/mem.c 197file arch/hp300/hp300/pmap.c 198file arch/hp300/hp300/pmap_bootstrap.c compile-with "${NOPROF_C}" 199file arch/hp300/hp300/procfs_machdep.c procfs 200file arch/hp300/hp300/sys_machdep.c 201file arch/hp300/hp300/trap.c 202file arch/hp300/hp300/vm_machdep.c 203file arch/hp300/hp300/disksubr.c 204file arch/hp300/dev/dma.c 205file arch/hp300/dev/md_root.c memory_disk_hooks 206 207file dev/cons.c 208file dev/cninit.c 209 210# 211# HP-UX binary compatibility 212# 213include "compat/hpux/files.hpux" 214file arch/hp300/hp300/hpux_machdep.c compat_hpux 215 216# NetBSD m68k a.out Binary Compatibility (COMPAT_AOUT_M68K) 217include "compat/aoutm68k/files.aoutm68k" 218 219# SVR4 Binary Compatibility (COMPAT_SVR4) 220include "compat/svr4/files.svr4" 221 222# SunOS Binary Compatibility (COMPAT_SUNOS) 223include "compat/sunos/files.sunos" 224file arch/m68k/m68k/sunos_machdep.c compat_sunos 225 226# Linux binary compatibility (COMPAT_LINUX) 227include "compat/linux/files.linux" 228include "compat/linux/arch/m68k/files.linux_m68k" 229file arch/m68k/m68k/linux_trap.c compat_linux 230 231# a.out binary compatibility (COMPAT_AOUT) 232include "compat/aout/files.aout" 233 234# OSS audio driver compatibility 235include "compat/ossaudio/files.ossaudio" 236