files.hppa revision 1.51
1# $OpenBSD: files.hppa,v 1.51 2004/03/12 00:04:57 miod Exp $ 2# 3# hppa-specific configuration info 4 5# maxpartitions must be the first item in files.${ARCH} 6maxpartitions 16 7 8maxusers 2 8 64 9 10# 11# "workstation console" routines 12# 13include "dev/wscons/files.wscons" 14file arch/hppa/hppa/wscons_machdep.c wsdisplay 15 16# 17# Media Independent Interface (mii) 18# 19include "dev/mii/files.mii" 20 21# 22# Machine-independent SCSI drivers 23# 24include "scsi/files.scsi" 25major { sd = 4 } 26major { st = 5 } 27major { cd = 6 } 28 29# I2O 30include "dev/i2o/files.i2o" 31 32# 33# MI ATAPI drivers 34# 35include "dev/atapiscsi/files.atapiscsi" 36include "dev/ata/files.ata" 37 38# 39# ISA Bus support 40# 41include "dev/isa/files.isa" 42include "dev/isa/files.isapnp" 43 44# 45# EISA Bus support 46# 47include "dev/eisa/files.eisa" 48 49# 50# PCI Bus support 51# 52include "dev/pci/files.pci" 53 54# 55# CardBus support 56# 57include "dev/cardbus/files.cardbus" 58 59# 60# Machine-independent PCMCIA drivers 61# 62include "dev/pcmcia/files.pcmcia" 63 64# 65# HIL Human Interface Loop devices 66# 67include "dev/hil/files.hil" 68 69# 70# Gonzo System Connect Bus 71# (GSC, GSC-1X, GSC+, GSC-1.5X, GSC-2X) 72# 73define gscbus { } 74 75# 76# Mainbus 77# 78 79define mainbus {[offset = -1], [irq = -1]} 80device mainbus 81attach mainbus at root 82file arch/hppa/hppa/mainbus.c mainbus 83 84device pdc 85attach pdc at mainbus 86file arch/hppa/dev/pdc.c pdc 87 88device power 89attach power at mainbus 90file arch/hppa/dev/power.c power needs-flag 91 92device mem 93attach mem at mainbus 94file arch/hppa/dev/mem.c mem 95 96device cpu 97attach cpu at mainbus 98file arch/hppa/dev/cpu.c cpu 99 100device fpu 101attach fpu at mainbus 102file arch/hppa/dev/fpu.c fpu 103 104# Phantom PseudoBC GSC+ Port 105define phantomas {[offset = -1], [irq = -1]} 106device phantomas 107attach phantomas at mainbus 108file arch/hppa/dev/phantomas.c phantomas 109 110# 1FT1-0002, 1FU2-0002 111# as goes w/ 7100LC, 7300LC, 7200, 8000, 8200, 8500 112device lasi: gscbus 113attach lasi at mainbus with lasi_mainbus 114attach lasi at phantomas with lasi_phantomas 115file arch/hppa/dev/lasi.c lasi 116 117# all the older systems 118device asp: gscbus 119attach asp at mainbus 120file arch/hppa/dev/asp.c asp 121 122# 1FT4-0001, ASIC used on gecko cards 123device wax: gscbus, isabus, eisabus 124attach wax at mainbus 125file arch/hppa/dev/wax.c wax 126 127device mongoose: isabus, eisabus 128attach mongoose at mainbus 129file arch/hppa/dev/mongoose.c mongoose 130 131define dinobus {[offset = -1], [irq = -1]} 132 133# Dino, GSC to PCI bridge. Includes ps/2, serial, and flying toaster interfaces 134# Cujo is a 64-bit data path Dino 135device dino: pcibus, dinobus 136attach dino at phantomas 137file arch/hppa/dev/dino.c dino 138 139attach com at dinobus with com_dino 140file arch/hppa/dev/com_dino.c com_dino 141 142# EPIC, Excalibur PCI Interface Chip. Integrated IOA 143# SAGA is a 64-bit data path EPIC 144#device epic: pcibus 145#attach epic at mainbus 146#file arch/hppa/dev/epic.c epic 147 148# Astro, integrated Runway to Ropes bridge, Memory controller, and IOA. 149 150# Elroy, Ropes to PCI Bridge. Supports 4X PCI and dual address cycle. 151 152# U2/Uturn, Runway to GSC Bus bridge & IOA. 153 154attach sti at mainbus with sti_sgc 155attach sti at phantomas with sti_phantom 156file arch/hppa/dev/sti_sgc.c sti_sgc | sti_phantom 157 158#attach siop at mainbus with siop_sgc 159#file arch/hppa/dev/siop_sgc.c siop_sgc 160 161### 162 163major {ccd = 1} 164major {vnd = 2} 165major {rd = 3} 166 167# 168# GSC bus devices 169# 170 171device gsc {[offset = -1], [irq = -1]} 172attach gsc at gscbus 173file arch/hppa/gsc/gscbus.c gsc 174 175# com and lpt are both on WD 16C552 176attach com at gsc with com_gsc 177file arch/hppa/gsc/com_gsc.c com_gsc 178 179attach lpt at gsc with lpt_gsc 180file arch/hppa/gsc/lpt_gsc.c lpt_gsc 181 182#include "dev/fdc/files.fdc" 183#major { fd = 7 } 184#major { ft = 8 } 185#attach fdc at gsc with fdc_gsc 186#file arch/hppa/gsc/fdc_gsc.c fdc_gsc 187 188attach ie at gsc with ie_gsc 189file arch/hppa/gsc/if_ie_gsc.c ie_gsc 190 191attach osiop at gsc with osiop_gsc 192file arch/hppa/gsc/osiop_gsc.c osiop_gsc 193 194attach oosiop at gsc with oosiop_gsc 195file arch/hppa/gsc/oosiop_gsc.c oosiop_gsc 196 197attach hil at gsc with hil_gsc 198file arch/hppa/gsc/hil_gsc.c hil_gsc 199 200# PSB 2160-N based 8bit mono audio (705, 710, 745i/*, 747i/*) 201device aone: audio, mulaw, auconv 202attach aone at gsc 203file arch/hppa/gsc/aone.c aone 204 205# CS4215/AD1849 based 16bit mono/stereo audio iface (most of others not w/ aone) 206# a.k.a. Audio Type 2 (optional beeper) 207device harmony: audio, mulaw, auconv 208attach harmony at gsc 209file arch/hppa/gsc/harmony.c harmony 210 211# HPA4011A/B w/ TMS380C26PQL, TMS38054FNL 212#device tms: tokenring 213#attach tms at gsc 214#file arch/hppa/gsc/if_tms.c tms 215 216# these we don't know yet 217# AMD Supernet2 FDDI ? 218#device medusa: fddi 219#attach medusa at gsc 220#file arch/hppa/gsc/medusa.c medusa 221 222# XXX should not be here 223# ANSI/VITA 26-1998 Gbit packet switching network iface 224#device myri: ether 225#attach myri at pci 226#file dev/pci/myri.c myri 227 228# PS/2 input ports 229#device gsckbc { [slot = -1] } 230attach gsckbc at gsc 231file arch/hppa/gsc/gsckbc.c gsckbc 232 233# PS/2 keyboard 234device gsckbd: wskbddev 235attach gsckbd at gsckbc 236file arch/hppa/gsc/gsckbd.c gsckbd needs-flag 237file arch/hppa/gsc/gsckbdmap.c gsckbd 238 239# PS/2 mouse 240include "dev/pckbc/files.pckbc" 241 242# 243# Compatibility 244# 245include "compat/hpux/files.hpux" 246file arch/hppa/hppa/hpux_machdep.c compat_hpux 247include "compat/osf1/files.osf1" 248file arch/hppa/hppa/osf1_machdep.c compat_osf1 249include "compat/linux/files.linux" 250include "compat/ossaudio/files.ossaudio" 251file arch/hppa/hppa/linux_machdep.c compat_linux 252 253# 254# Non-device files 255# 256 257file arch/hppa/hppa/autoconf.c 258file arch/hppa/hppa/conf.c 259file arch/hppa/hppa/db_interface.c ddb 260file arch/hppa/hppa/db_disasm.c ddb 261file arch/hppa/hppa/disksubr.c disk 262file arch/hppa/hppa/machdep.c 263file arch/hppa/hppa/pmap.c 264file arch/hppa/hppa/process_machdep.c 265file arch/hppa/hppa/sys_machdep.c 266file arch/hppa/hppa/trap.c 267file arch/hppa/hppa/intr.c 268file arch/hppa/hppa/vm_machdep.c 269file arch/hppa/hppa/in_cksum.c inet 270file arch/hppa/dev/clock.c 271file arch/hppa/hppa/fpemu.S fpemul 272 273file dev/cons.c 274file dev/cninit.c 275