files.hppa revision 1.71
1#	$OpenBSD: files.hppa,v 1.71 2007/07/15 20:11:12 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 64
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# U2/Uturn, Runway to GSC Bus bridge & IOA
130device	uturn: gedoens
131attach	uturn at gedoens
132file	arch/hppa/dev/uturn.c			uturn
133
134# Astro memory & I/O controller
135device	astro: gedoens
136attach	astro at gedoens
137file	arch/hppa/dev/astro.c			astro
138
139# 1FT1-0002, 1FU2-0002
140# as goes w/ 7100LC, 7300LC, 7200 and some of 8000, 8200, 8500
141device	lasi: gscbus
142attach	lasi at gedoens
143file	arch/hppa/dev/lasi.c			lasi
144
145# all the older systems
146device	asp: gscbus
147attach	asp at gedoens
148file	arch/hppa/dev/asp.c			asp
149
150# 1FT4-0001, ASIC used on gecko cards
151device	wax: gscbus, isabus, eisabus
152attach	wax at gedoens
153file	arch/hppa/dev/wax.c			wax
154
155device	mongoose: isabus, eisabus
156attach	mongoose at gedoens with mg_gedoens
157file	arch/hppa/dev/mongoose.c		mongoose
158
159define	dinobus {[offset = -1], [irq = -1]}
160
161# Dino, GSC-PCI bridge. Includes ps/2, cereal and a flying toaster interfaces
162# Cujo is a 64-bit data path Dino
163device	dino: pcibus, dinobus
164attach	dino at gedoens
165file	arch/hppa/dev/dino.c			dino
166
167attach	com at dinobus with com_dino
168file	arch/hppa/dev/com_dino.c		com_dino
169
170# Elroy, Ropes to PCI Bridge. Supports 4X PCI and dual address cycle.
171# Mercury; QuickSilver is an AGP also
172device	elroy: pcibus
173attach	elroy at gedoens
174file	arch/hppa/dev/elroy.c		elroy
175file	arch/hppa/dev/apic.c		elroy
176
177# EPIC, Excalibur PCI Interface Chip. Integrated IOA
178# SAGA is a 64-bit data path EPIC
179#device	epic: pcibus
180#attach	epic at gedoens
181#file	arch/hppa/dev/epic.c			epic
182
183attach	sti at gedoens with sti_gedoens
184file	arch/hppa/dev/sti_sgc.c			sti_gedoens
185file	arch/hppa/dev/sti_pci_machdep.c		sti_pci
186
187attach	siop at gedoens with siop_sgc
188file	arch/hppa/dev/siop_sgc.c		siop_sgc
189
190device	ssio {[irq = -1]}
191attach	ssio at pci
192file	arch/hppa/dev/ssio.c			ssio
193
194attach	com at ssio with com_ssio
195file	arch/hppa/dev/com_ssio.c		com_ssio
196
197attach	lpt at ssio with lpt_ssio
198file	arch/hppa/dev/lpt_ssio.c		lpt_ssio
199
200###
201
202major	{ccd = 1}
203major	{vnd = 2}
204major	{rd = 3}
205
206#
207# GSC bus devices
208#
209
210device	gsc {[offset = -1], [irq = -1]}
211attach	gsc at gscbus
212file	arch/hppa/gsc/gscbus.c			gsc
213
214# com and lpt are both on WD 16C552
215attach	com at gsc with com_gsc
216file	arch/hppa/gsc/com_gsc.c			com_gsc
217
218attach	lpt at gsc with lpt_gsc
219file	arch/hppa/gsc/lpt_gsc.c			lpt_gsc
220
221attach	mongoose at gsc with mg_gsc
222file	arch/hppa/gsc/mongoose_gsc.c		mg_gsc
223
224#include "dev/fdc/files.fdc"
225#major	{fd = 7}
226#attach	fdc at gsc with fdc_gsc
227#file	arch/hppa/gsc/fdc_gsc.c			fdc_gsc
228
229attach	ie at gsc with ie_gsc
230file	arch/hppa/gsc/if_ie_gsc.c		ie_gsc
231
232attach	osiop at gsc with osiop_gsc
233file	arch/hppa/gsc/osiop_gsc.c		osiop_gsc
234
235attach	oosiop at gsc with oosiop_gsc
236file	arch/hppa/gsc/oosiop_gsc.c		oosiop_gsc
237
238attach	hil at gsc with hil_gsc
239file	arch/hppa/gsc/hil_gsc.c			hil_gsc
240
241# PSB 2160-N based 8bit mono audio (705, 710, 745i/*, 747i/*)
242device	aone: audio, mulaw, auconv
243attach	aone at gsc
244file	arch/hppa/gsc/aone.c			aone
245
246# CS4215/AD1849 based 16bit mono/stereo audio iface (most of others not w/ aone)
247# a.k.a. Audio Type 2 (optional beeper)
248device	harmony: audio, mulaw, auconv
249attach	harmony at gsc
250file	arch/hppa/gsc/harmony.c			harmony
251
252# HPA4011A/B w/ TMS380C26PQL, TMS38054FNL
253#device	tms: tokenring
254#attach	tms at gsc
255#file	arch/hppa/gsc/if_tms.c			tms
256
257# these we don't know yet
258# AMD Supernet2 FDDI ?
259#device	medusa: fddi
260#attach	medusa at gsc
261#file	arch/hppa/gsc/medusa.c			medusa
262
263# XXX should not be here
264# ANSI/VITA 26-1998 Gbit packet switching network iface
265#device	myri: ether
266#attach	myri at pci
267#file	dev/pci/myri.c				myri
268
269# PS/2 input ports
270#device	gsckbc {[slot = -1]}
271attach	gsckbc at gsc
272file	arch/hppa/gsc/gsckbc.c			gsckbc
273
274# PS/2 keyboard
275device	gsckbd: wskbddev
276attach	gsckbd at gsckbc
277file	arch/hppa/gsc/gsckbd.c			gsckbd	needs-flag
278file	arch/hppa/gsc/gsckbdmap.c		gsckbd
279
280# PS/2 mouse
281include	"dev/pckbc/files.pckbc"
282
283#
284# Compatibility
285#
286include "compat/hpux/hppa/files.hpux"
287file	arch/hppa/hppa/hpux_machdep.c		compat_hpux
288include "compat/osf1/files.osf1"
289file	arch/hppa/hppa/osf1_machdep.c		compat_osf1
290include	"compat/linux/files.linux"
291include "compat/ossaudio/files.ossaudio"
292file	arch/hppa/hppa/linux_machdep.c		compat_linux
293
294#
295# Non-device files
296#
297
298file	arch/hppa/hppa/autoconf.c
299file	arch/hppa/hppa/conf.c
300file	arch/hppa/hppa/db_interface.c		ddb
301file	arch/hppa/hppa/db_disasm.c		ddb
302file	arch/hppa/hppa/disksubr.c		disk
303file	arch/hppa/hppa/machdep.c
304file	arch/hppa/hppa/mutex.c
305file	arch/hppa/hppa/pmap.c
306file	arch/hppa/hppa/process_machdep.c
307file	arch/hppa/hppa/sys_machdep.c
308file	arch/hppa/hppa/trap.c
309file	arch/hppa/hppa/intr.c
310file	arch/hppa/hppa/vm_machdep.c
311file	arch/hppa/hppa/in_cksum.c		inet
312file	netinet/in4_cksum.c			inet
313file	arch/hppa/dev/clock.c
314file	arch/hppa/hppa/fpemu.S			fpemul
315