files.hppa revision 1.81
1#	$OpenBSD: files.hppa,v 1.81 2010/03/25 14:26:21 jsing 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
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 USB drivers
72#
73include "dev/usb/files.usb"
74
75#
76# Bluetooth
77#
78include "dev/bluetooth/files.bluetooth"
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/dev/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
187# EPIC, Excalibur PCI Interface Chip. Integrated IOA
188# SAGA is a 64-bit data path EPIC
189#device	epic: pcibus
190#attach	epic at gedoens
191#file	arch/hppa/dev/epic.c			epic
192
193attach	sti at gedoens with sti_gedoens
194file	arch/hppa/dev/sti_sgc.c			sti_gedoens
195file	arch/hppa/dev/sti_pci_machdep.c		sti_pci
196
197attach	siop at gedoens with siop_gedoens
198file	arch/hppa/dev/siop_sgc.c		siop_gedoens
199
200device	ssio {[irq = -1]}
201attach	ssio at pci
202file	arch/hppa/dev/ssio.c			ssio
203
204attach	com at ssio with com_ssio
205file	arch/hppa/dev/com_ssio.c		com_ssio
206
207attach	lpt at ssio with lpt_ssio
208file	arch/hppa/dev/lpt_ssio.c		lpt_ssio
209
210###
211
212major	{ccd = 1}
213major	{vnd = 2}
214major	{rd = 3}
215
216#
217# GSC bus devices
218#
219
220device	gsc {[offset = -1], [irq = -1]}
221attach	gsc at gscbus
222file	arch/hppa/gsc/gscbus.c			gsc
223
224# com and lpt are both on WD 16C552
225attach	com at gsc with com_gsc
226file	arch/hppa/gsc/com_gsc.c			com_gsc
227
228attach	lpt at gsc with lpt_gsc
229file	arch/hppa/gsc/lpt_gsc.c			lpt_gsc
230
231attach	mongoose at gsc with mg_gsc
232file	arch/hppa/gsc/mongoose_gsc.c		mg_gsc
233
234#include "dev/fdc/files.fdc"
235#major	{fd = 7}
236#attach	fdc at gsc with fdc_gsc
237#file	arch/hppa/gsc/fdc_gsc.c			fdc_gsc
238
239attach	ie at gsc with ie_gsc
240file	arch/hppa/gsc/if_ie_gsc.c		ie_gsc
241
242attach	siop at gsc with siop_gsc
243file	arch/hppa/gsc/siop_gsc.c		siop_gsc
244
245attach	osiop at gsc with osiop_gsc
246file	arch/hppa/gsc/osiop_gsc.c		osiop_gsc
247
248attach	oosiop at gsc with oosiop_gsc
249file	arch/hppa/gsc/oosiop_gsc.c		oosiop_gsc
250
251attach	hil at gsc with hil_gsc
252file	arch/hppa/gsc/hil_gsc.c			hil_gsc
253
254# PSB 2160-N based 8bit mono audio (705, 710, 745i/*, 747i/*)
255device	aone: audio, mulaw, auconv
256attach	aone at gsc
257file	arch/hppa/gsc/aone.c			aone
258
259# CS4215/AD1849 based 16bit mono/stereo audio iface (most of others not w/ aone)
260# a.k.a. Audio Type 2 (optional beeper)
261device	harmony: audio, mulaw, auconv
262attach	harmony at gsc
263file	arch/hppa/gsc/harmony.c			harmony
264
265# HPA4011A/B w/ TMS380C26PQL, TMS38054FNL
266#device	tms: tokenring
267#attach	tms at gsc
268#file	arch/hppa/gsc/if_tms.c			tms
269
270# these we don't know yet
271# AMD Supernet2 FDDI ?
272#device	medusa: fddi
273#attach	medusa at gsc
274#file	arch/hppa/gsc/medusa.c			medusa
275
276# XXX should not be here
277# ANSI/VITA 26-1998 Gbit packet switching network iface
278#device	myri: ether
279#attach	myri at pci
280#file	dev/pci/myri.c				myri
281
282# PS/2 input ports
283device	gsckbc: pckbcslot
284attach	gsckbc at gsc
285file	arch/hppa/gsc/gsckbc.c			gsckbc
286
287# PS/2 keyboard and mouse
288include	"dev/pckbc/files.pckbc"
289
290#
291# Compatibility
292#
293include "compat/hpux/hppa/files.hpux"
294file	arch/hppa/hppa/hpux_machdep.c		compat_hpux
295include "compat/osf1/files.osf1"
296file	arch/hppa/hppa/osf1_machdep.c		compat_osf1
297include	"compat/linux/files.linux"
298include "compat/ossaudio/files.ossaudio"
299file	arch/hppa/hppa/linux_machdep.c		compat_linux
300
301#
302# Non-device files
303#
304
305file	arch/hppa/hppa/autoconf.c
306file	arch/hppa/hppa/conf.c
307file	arch/hppa/hppa/db_interface.c		ddb
308file	arch/hppa/hppa/db_disasm.c		ddb
309file	arch/hppa/hppa/disksubr.c		disk
310file	arch/hppa/hppa/lock_machdep.c		multiprocessor
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