files.hp300 revision 1.67
1# $NetBSD: files.hp300,v 1.67 2003/07/27 01:19:25 thorpej 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# Old HP SCSI layer 173device oscsi { target = -1, lun = -1 } 174attach oscsi at dio 175file arch/hp300/dev/scsi.c oscsi 176 177# Old HP SCSI devices 178device sd: disk 179attach sd at oscsi 180file arch/hp300/dev/sd.c sd needs-flag 181file arch/hp300/dev/sd_compat.c sd # XXX 182 183device st: tape 184attach st at oscsi 185file arch/hp300/dev/st.c st needs-flag 186 187device ac 188attach ac at oscsi 189file arch/hp300/dev/ac.c ac needs-flag 190 191# Memory Disk for ramdisk 192file dev/md_root.c memory_disk_hooks 193 194# 195# Non-device files 196# 197 198file arch/hp300/hp300/autoconf.c 199file arch/hp300/hp300/bus_space.c 200file arch/hp300/hp300/clock.c 201file arch/hp300/hp300/dkbad.c 202file arch/hp300/hp300/machdep.c 203file arch/hp300/hp300/intr.c 204file arch/hp300/hp300/leds.c useleds 205file arch/hp300/hp300/mem.c 206file arch/hp300/hp300/pmap_bootstrap.c compile-with "${NOPROF_C}" 207file arch/hp300/hp300/procfs_machdep.c procfs 208file arch/hp300/hp300/softintr.c 209file arch/hp300/hp300/trap.c 210file arch/hp300/hp300/disksubr.c 211file arch/m68k/m68k/cacheops.c 212file arch/m68k/m68k/db_memrw.c ddb | kgdb 213file arch/m68k/m68k/kgdb_machdep.c kgdb 214file arch/m68k/m68k/pmap_motorola.c 215file arch/m68k/m68k/sys_machdep.c 216file arch/m68k/m68k/vm_machdep.c 217 218file dev/cons.c 219 220# 221# HP-UX binary compatibility 222# 223include "compat/hpux/files.hpux" 224file arch/hp300/hp300/hpux_machdep.c compat_hpux 225 226# NetBSD m68k a.out Binary Compatibility (COMPAT_AOUT_M68K) 227include "compat/aoutm68k/files.aoutm68k" 228 229# SVR4 Binary Compatibility (COMPAT_SVR4) 230include "compat/svr4/files.svr4" 231 232# SunOS Binary Compatibility (COMPAT_SUNOS) 233include "compat/sunos/files.sunos" 234file arch/m68k/m68k/sunos_machdep.c compat_sunos 235 236# Linux binary compatibility (COMPAT_LINUX) 237include "compat/linux/files.linux" 238include "compat/linux/arch/m68k/files.linux_m68k" 239file arch/m68k/m68k/linux_trap.c compat_linux 240 241# a.out binary compatibility (COMPAT_AOUT) 242include "compat/aout/files.aout" 243 244# OSS audio driver compatibility 245include "compat/ossaudio/files.ossaudio" 246 247include "arch/hp300/conf/majors.hp300" 248