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