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