1#	$OpenBSD: files.hppa,v 1.98 2018/02/14 23:51:49 jsg Exp $
2#
3# hppa-specific configuration info
4
5# maxpartitions must be the first item in files.${ARCH}
6maxpartitions 16
7
8maxusers 2 8 128
9
10# 
11# "workstation console" routines
12#
13include "dev/wscons/files.wscons"
14file	arch/hppa/hppa/wscons_machdep.c	wsdisplay
15
16include "dev/rasops/files.rasops"
17include "dev/wsfont/files.wsfont"
18
19#
20# Media Independent Interface (mii)
21#
22include "dev/mii/files.mii"
23
24#
25# Machine-independent SCSI drivers
26#
27include "scsi/files.scsi"
28major	{sd = 4}
29major	{st = 5}
30major	{cd = 6}
31
32#
33# MI ATAPI drivers
34#
35include "dev/atapiscsi/files.atapiscsi"
36include "dev/ata/files.ata"
37major	{wd = 8}
38
39#
40# ISA Bus support
41#
42include "dev/isa/files.isa"
43include "dev/isa/files.isapnp"
44
45#
46# EISA Bus support
47#
48include "dev/eisa/files.eisa"
49
50#
51# PCI Bus support
52#
53include "dev/pci/files.pci"
54
55device	hme: ether, ifnet, mii, ifmedia
56file	dev/ic/hme.c			hme
57attach	hme at pci with hme_pci
58file	dev/pci/if_hme_pci.c		hme_pci
59
60#
61# CardBus support
62#
63include	"dev/cardbus/files.cardbus"
64
65#
66# Machine-independent PCMCIA drivers
67#
68include	"dev/pcmcia/files.pcmcia"
69
70#
71# Machine-independent HID support
72#
73include	"dev/hid/files.hid"
74
75#
76# Machine-independent USB drivers
77#
78include "dev/usb/files.usb"
79
80#
81# HIL Human Interface Loop devices
82#
83include "dev/hil/files.hil"
84
85#
86# Machine-independent 1-Wire drivers
87#
88include "dev/onewire/files.onewire"
89
90#
91# Gonzo System Connect Bus
92#	(GSC, GSC-1X, GSC+, GSC-1.5X, GSC-2X)
93#
94define	gscbus	{}
95
96#
97# Mainbus
98#
99
100define	gedoens {[offset = -1], [irq = -1]}
101device	mainbus: gedoens
102attach	mainbus at root
103file	arch/hppa/hppa/mainbus.c		mainbus
104
105device	pdc
106attach	pdc at gedoens
107file	arch/hppa/dev/pdc.c			pdc
108
109device	power
110attach	power at gedoens
111file	arch/hppa/dev/power.c			power needs-flag
112
113device	lcd
114attach	lcd at gedoens
115file	arch/hppa/dev/lcd.c			lcd needs-flag
116
117device	mem
118attach	mem at gedoens
119file	arch/hppa/hppa/mem.c			mem
120
121device	cpu
122attach	cpu at gedoens
123file	arch/hppa/dev/cpu.c			cpu
124
125device	fpu
126attach	fpu at gedoens
127file	arch/hppa/dev/fpu.c			fpu
128
129# Phantom PseudoBC GSC+ Port
130device	phantomas: gedoens
131attach	phantomas at gedoens
132file	arch/hppa/dev/phantomas.c		phantomas
133
134# GeckoBOA BC GSC+ port
135device	gecko: gedoens
136attach	gecko at gedoens
137file	arch/hppa/dev/gecko.c			gecko
138
139# U2/Uturn, Runway to GSC Bus bridge & IOA
140device	uturn: gedoens
141attach	uturn at gedoens
142file	arch/hppa/dev/uturn.c			uturn
143
144# Astro memory & I/O controller
145device	astro: gedoens
146attach	astro at gedoens
147file	arch/hppa/dev/astro.c			astro
148
149# 1FT1-0002, 1FU2-0002
150# as goes w/ 7100LC, 7300LC, 7200 and some of 8000, 8200, 8500
151device	lasi: gscbus
152attach	lasi at gedoens
153file	arch/hppa/dev/lasi.c			lasi
154
155# all the older systems
156device	asp: gscbus
157attach	asp at gedoens
158file	arch/hppa/dev/asp.c			asp
159
160# 1FT4-0001, ASIC used on gecko cards
161device	wax: gscbus, isabus, eisabus
162attach	wax at gedoens
163file	arch/hppa/dev/wax.c			wax
164
165device	mongoose: isabus, eisabus
166attach	mongoose at gedoens with mg_gedoens
167file	arch/hppa/dev/mongoose.c		mongoose
168
169define	dinobus {[offset = -1], [irq = -1]}
170
171# Dino, GSC-PCI bridge. Includes ps/2, cereal and a flying toaster interfaces
172# Cujo is a 64-bit data path Dino
173device	dino: pcibus, dinobus
174attach	dino at gedoens
175file	arch/hppa/dev/dino.c			dino
176
177attach	com at dinobus with com_dino
178file	arch/hppa/dev/com_dino.c		com_dino
179
180# Elroy, Ropes to PCI Bridge. Supports 4X PCI and dual address cycle.
181# Mercury; QuickSilver is an AGP also
182device	elroy: pcibus
183attach	elroy at gedoens
184file	arch/hppa/dev/elroy.c		elroy
185file	arch/hppa/dev/apic.c		elroy
186
187attach	sti at gedoens with sti_gedoens
188file	arch/hppa/dev/sti_sgc.c			sti_gedoens
189file	arch/hppa/dev/sti_pci_machdep.c		sti_pci
190
191attach	siop at gedoens with siop_gedoens
192file	arch/hppa/dev/siop_sgc.c		siop_gedoens
193
194device	ssio {[irq = -1]}
195attach	ssio at pci
196file	arch/hppa/dev/ssio.c			ssio
197
198attach	com at ssio with com_ssio
199file	arch/hppa/dev/com_ssio.c		com_ssio
200
201attach	lpt at ssio with lpt_ssio
202file	arch/hppa/dev/lpt_ssio.c		lpt_ssio
203
204###
205
206major	{vnd = 2}
207major	{rd = 3}
208
209#
210# GSC bus devices
211#
212
213device	gsc {[offset = -1], [irq = -1]}
214attach	gsc at gscbus
215file	arch/hppa/gsc/gscbus.c			gsc
216
217# com and lpt are both on WD 16C552
218attach	com at gsc with com_gsc
219file	arch/hppa/gsc/com_gsc.c			com_gsc
220
221attach	lpt at gsc with lpt_gsc
222file	arch/hppa/gsc/lpt_gsc.c			lpt_gsc
223
224attach	mongoose at gsc with mg_gsc
225file	arch/hppa/gsc/mongoose_gsc.c		mg_gsc
226
227#include "dev/fdc/files.fdc"
228#major	{fd = 7}
229#attach	fdc at gsc with fdc_gsc
230#file	arch/hppa/gsc/fdc_gsc.c			fdc_gsc
231
232attach	ie at gsc with ie_gsc
233file	arch/hppa/gsc/if_ie_gsc.c		ie_gsc
234
235attach	siop at gsc with siop_gsc
236file	arch/hppa/gsc/siop_gsc.c		siop_gsc
237
238attach	osiop at gsc with osiop_gsc
239file	arch/hppa/gsc/osiop_gsc.c		osiop_gsc
240
241attach	oosiop at gsc with oosiop_gsc
242file	arch/hppa/gsc/oosiop_gsc.c		oosiop_gsc
243
244attach	hil at gsc with hil_gsc
245file	arch/hppa/gsc/hil_gsc.c			hil_gsc
246
247# PSB 2160-N based 8bit mono audio (705, 710, 745i/*, 747i/*)
248attach	arcofi at gsc with arcofi_gsc
249file	arch/hppa/gsc/arcofi_gsc.c		arcofi_gsc
250
251# CS4215/AD1849 based 16bit mono/stereo audio iface (most of others not w/ aone)
252# a.k.a. Audio Type 2 (optional beeper)
253device	harmony: audio
254attach	harmony at gsc
255file	arch/hppa/gsc/harmony.c			harmony
256
257# PS/2 input ports
258device	gsckbc: pckbcslot
259attach	gsckbc at gsc
260file	arch/hppa/gsc/gsckbc.c			gsckbc
261
262# PS/2 keyboard and mouse
263include	"dev/pckbc/files.pckbc"
264
265#
266# Non-device files
267#
268
269file	arch/hppa/hppa/autoconf.c
270file	arch/hppa/hppa/conf.c
271file	arch/hppa/hppa/db_interface.c		ddb
272file	arch/hppa/hppa/db_disasm.c		ddb
273file	arch/hppa/hppa/disksubr.c		disk
274file	arch/hppa/hppa/fpu.c
275file	arch/hppa/hppa/ipi.c			multiprocessor
276file	arch/hppa/hppa/lock_machdep.c		multiprocessor
277file	arch/hppa/hppa/machdep.c
278file	arch/hppa/hppa/mutex.c
279file	arch/hppa/hppa/pmap.c
280file	arch/hppa/hppa/process_machdep.c
281file	arch/hppa/hppa/sys_machdep.c
282file	arch/hppa/hppa/trap.c
283file	arch/hppa/hppa/intr.c
284file	arch/hppa/hppa/vm_machdep.c
285file	arch/hppa/hppa/in_cksum.c
286file	arch/hppa/hppa/locore.S
287file	netinet/in4_cksum.c
288file	arch/hppa/dev/clock.c
289file	arch/hppa/hppa/fpemu.S			fpemul
290
291# quad support is necessary for 32 bit architectures
292file	lib/libkern/adddi3.c
293file	lib/libkern/anddi3.c
294file	lib/libkern/ashldi3.c
295file	lib/libkern/ashrdi3.c
296file	lib/libkern/cmpdi2.c
297file	lib/libkern/divdi3.c
298file	lib/libkern/iordi3.c
299file	lib/libkern/lshldi3.c
300file	lib/libkern/lshrdi3.c
301file	lib/libkern/moddi3.c
302file	lib/libkern/muldi3.c
303file	lib/libkern/negdi2.c
304file	lib/libkern/notdi2.c
305file	lib/libkern/qdivrem.c
306file	lib/libkern/subdi3.c
307file	lib/libkern/ucmpdi2.c
308file	lib/libkern/udivdi3.c
309file	lib/libkern/umoddi3.c
310file	lib/libkern/xordi3.c
311
312# kern..
313file	lib/libkern/arch/hppa/milli.S
314file	lib/libkern/arch/hppa/spcopy.S
315
316# fpu emulation
317file	arch/hppa/spmath/dfadd.c	fpemul
318file	arch/hppa/spmath/dfcmp.c	fpemul
319file	arch/hppa/spmath/dfdiv.c	fpemul
320file	arch/hppa/spmath/dfmpy.c	fpemul
321file	arch/hppa/spmath/dfrem.c	fpemul
322file	arch/hppa/spmath/dfsqrt.c	fpemul
323file	arch/hppa/spmath/dfsub.c	fpemul
324file	arch/hppa/spmath/divsfm.c	fpemul
325file	arch/hppa/spmath/divsfr.c	fpemul
326file	arch/hppa/spmath/divsim.c	fpemul
327file	arch/hppa/spmath/divsir.c	fpemul
328file	arch/hppa/spmath/divufr.c	fpemul
329file	arch/hppa/spmath/divuir.c	fpemul
330file	arch/hppa/spmath/fcnvff.c	fpemul
331file	arch/hppa/spmath/fcnvfx.c	fpemul
332file	arch/hppa/spmath/fcnvfxt.c	fpemul
333file	arch/hppa/spmath/fcnvxf.c	fpemul
334file	arch/hppa/spmath/frnd.c		fpemul
335file	arch/hppa/spmath/mpyaccs.c	fpemul
336file	arch/hppa/spmath/mpyaccu.c	fpemul
337file	arch/hppa/spmath/mpys.c		fpemul
338file	arch/hppa/spmath/mpyscv.c	fpemul
339file	arch/hppa/spmath/mpyu.c		fpemul
340file	arch/hppa/spmath/mpyucv.c	fpemul
341file	arch/hppa/spmath/sfadd.c	fpemul
342file	arch/hppa/spmath/sfcmp.c	fpemul
343file	arch/hppa/spmath/sfdiv.c	fpemul
344file	arch/hppa/spmath/sfmpy.c	fpemul
345file	arch/hppa/spmath/sfrem.c	fpemul
346file	arch/hppa/spmath/sfsqrt.c	fpemul
347file	arch/hppa/spmath/sfsub.c	fpemul
348file	arch/hppa/spmath/divu.S		fpemul
349file	arch/hppa/spmath/impys.S	fpemul
350file	arch/hppa/spmath/impyu.S	fpemul
351