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