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