files.hppa revision 1.47
1#	$OpenBSD: files.hppa,v 1.47 2003/08/20 20:55:59 mickey 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#
35#include "dev/atapiscsi/files.atapiscsi"
36#include "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# HIL Human Interface Loop devices
56#
57include "dev/hil/files.hil"
58
59#
60# Gonzo System Connect Bus
61#	(GSC, GSC-1X, GSC+, GSC-1.5X, GSC-2X)
62#
63define	gscbus	{ }
64
65#
66# Mainbus
67#
68
69define	mainbus {[offset = -1], [irq = -1]}
70device	mainbus
71attach	mainbus at root
72file	arch/hppa/hppa/mainbus.c	mainbus
73
74device	pdc
75attach	pdc at mainbus
76file	arch/hppa/dev/pdc.c		pdc
77
78device	power
79attach	power at mainbus
80file	arch/hppa/dev/power.c		power
81
82device	mem
83attach	mem at mainbus
84file	arch/hppa/dev/mem.c		mem
85
86device	cpu
87attach	cpu at mainbus
88file	arch/hppa/dev/cpu.c		cpu
89
90device	fpu
91attach	fpu at mainbus
92file	arch/hppa/dev/fpu.c		fpu
93
94# Phantom PseudoBC GSC+ Port
95define	phantomas {[offset = -1], [irq = -1]}
96device	phantomas
97attach	phantomas at mainbus
98file	arch/hppa/dev/phantomas.c	phantomas
99
100# 1FT1-0002, 1FU2-0002
101# as goes w/ 7100LC, 7300LC, 7200, 8000, 8200, 8500
102device	lasi: gscbus
103attach	lasi at mainbus with lasi_mainbus
104attach	lasi at phantomas with lasi_phantomas
105file	arch/hppa/dev/lasi.c		lasi
106
107# all the older systems
108device	asp: gscbus
109attach	asp at mainbus
110file	arch/hppa/dev/asp.c		asp
111
112# 1FT4-0001, ASIC used on gecko cards
113device	wax: gscbus, isabus, eisabus
114attach	wax at mainbus
115file	arch/hppa/dev/wax.c		wax
116
117device	mongoose: isabus, eisabus
118attach	mongoose at mainbus
119file	arch/hppa/dev/mongoose.c	mongoose
120
121# Dino, GSC to PCI bridge. Includes ps/2, serial, and flying toaster interfaces
122# Cujo is a 64-bit data path Dino
123device	dino: pcibus
124attach	dino at phantomas
125file	arch/hppa/dev/dino.c		dino
126
127# EPIC, Excalibur PCI Interface Chip. Integrated IOA
128# SAGA is a 64-bit data path EPIC
129#device	epic: pcibus
130#attach	epic at mainbus
131#file	arch/hppa/dev/epic.c		epic
132
133# Astro, integrated Runway to Ropes bridge, Memory controller, and IOA.
134
135# Elroy, Ropes to PCI Bridge. Supports 4X PCI and dual address cycle.
136
137# U2/Uturn, Runway to GSC Bus bridge & IOA.
138
139attach	sti at mainbus with sti_sgc
140attach	sti at phantomas with sti_phantom
141file	arch/hppa/dev/sti_sgc.c		sti_sgc | sti_phantom
142
143#attach	siop at mainbus with siop_sgc
144#file	arch/hppa/dev/siop_sgc.c	siop_sgc
145
146###
147
148major	{ccd = 1}
149major	{vnd = 2}
150major	{rd = 3}
151
152#
153# GSC bus devices
154#
155
156device	gsc {[offset = -1], [irq = -1]}
157attach	gsc at gscbus
158file	arch/hppa/gsc/gscbus.c		gsc
159
160# com and lpt are both on WD 16C552
161attach	com at gsc with com_gsc
162file	arch/hppa/gsc/com_gsc.c		com_gsc
163
164attach	lpt at gsc with lpt_gsc
165file	arch/hppa/gsc/lpt_gsc.c		lpt_gsc
166
167#include "dev/fdc/files.fdc"
168#major	{ fd = 7 }
169#major	{ ft = 8 }
170#attach	fdc at gsc with fdc_gsc
171#file	arch/hppa/gsc/fdc_gsc.c		fdc_gsc
172
173attach	ie at gsc with ie_gsc
174file	arch/hppa/gsc/if_ie_gsc.c	ie_gsc
175
176attach	osiop at gsc with osiop_gsc
177file	arch/hppa/gsc/osiop_gsc.c	osiop_gsc
178
179attach	hil at gsc with hil_gsc
180file	arch/hppa/gsc/hil_gsc.c		hil_gsc
181
182# PSB 2160-N based 8bit mono audio (705, 710, 745i/*, 747i/*)
183device	aone: audio, mulaw, auconv
184attach	aone at gsc
185file	arch/hppa/gsc/aone.c		aone
186
187# CS4215/AD1849 based 16bit mono/stereo audio iface (most of others not w/ aone)
188# a.k.a. Audio Type 2 (optional beeper)
189device	harmony: audio, mulaw, auconv
190attach	harmony at gsc
191file	arch/hppa/gsc/harmony.c		harmony
192
193# HPA4011A/B w/ TMS380C26PQL, TMS38054FNL
194#device	tms: tokenring
195#attach	tms at gsc
196#file	arch/hppa/gsc/if_tms.c		tms
197
198# these we don't know yet
199# AMD Supernet2 FDDI ?
200#device	medusa: fddi
201#attach	medusa at gsc
202#file	arch/hppa/gsc/medusa.c		medusa
203
204# XXX should not be here
205# ANSI/VITA 26-1998 Gbit packet switching network iface
206#device	myri: ether
207#attach	myri at pci
208#file	dev/pci/myri.c			myri
209
210# PS/2 input ports
211#device	gsckbc { [slot = -1] }
212attach	gsckbc at gsc
213file	arch/hppa/gsc/gsckbc.c		gsckbc
214
215# PS/2 keyboard
216device	gsckbd: wskbddev
217attach	gsckbd at gsckbc
218file	arch/hppa/gsc/gsckbd.c		gsckbd	needs-flag
219file	arch/hppa/gsc/gsckbdmap.c	gsckbd
220
221# PS/2 mouse
222include	"dev/pckbc/files.pckbc"
223
224#
225# Compatibility
226#
227include "compat/hpux/files.hpux"
228file	arch/hppa/hppa/hpux_machdep.c		compat_hpux
229include "compat/osf1/files.osf1"
230file	arch/hppa/hppa/osf1_machdep.c		compat_osf1
231include	"compat/linux/files.linux"
232include "compat/ossaudio/files.ossaudio"
233file	arch/hppa/hppa/linux_machdep.c		compat_linux
234
235#
236# Non-device files
237#
238
239file	arch/hppa/hppa/autoconf.c
240file	arch/hppa/hppa/conf.c
241file	arch/hppa/hppa/db_interface.c		ddb
242file	arch/hppa/hppa/db_disasm.c		ddb
243file	arch/hppa/hppa/disksubr.c		disk
244file	arch/hppa/hppa/machdep.c
245file	arch/hppa/hppa/pmap.c
246file	arch/hppa/hppa/process_machdep.c
247file	arch/hppa/hppa/sys_machdep.c
248file	arch/hppa/hppa/trap.c
249file	arch/hppa/hppa/intr.c
250file	arch/hppa/hppa/vm_machdep.c
251file	arch/hppa/hppa/in_cksum.c		inet
252file	arch/hppa/dev/clock.c
253file	arch/hppa/hppa/fpemu.S			fpemul
254
255file	dev/cons.c
256file	dev/cninit.c
257