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