files.hppa revision 1.60
1#	$OpenBSD: files.hppa,v 1.60 2006/09/27 06:33:03 grange 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"
37
38#
39# ISA Bus support
40#
41include "dev/isa/files.isa"
42include "dev/isa/files.isapnp"
43
44#
45# EISA Bus support
46#
47include "dev/eisa/files.eisa"
48
49#
50# PCI Bus support
51#
52include "dev/pci/files.pci"
53
54#
55# CardBus support
56#
57include	"dev/cardbus/files.cardbus"
58
59#
60# Machine-independent PCMCIA drivers
61#
62include	"dev/pcmcia/files.pcmcia"
63
64#
65# Machine-independent USB drivers
66#
67include "dev/usb/files.usb"
68
69#
70# HIL Human Interface Loop devices
71#
72include "dev/hil/files.hil"
73
74#
75# Machine-independent 1-Wire drivers
76#
77include "dev/onewire/files.onewire"
78
79#
80# Gonzo System Connect Bus
81#	(GSC, GSC-1X, GSC+, GSC-1.5X, GSC-2X)
82#
83define	gscbus	{}
84
85#
86# Mainbus
87#
88
89define	gedoens {[offset = -1], [irq = -1]}
90device	mainbus: gedoens
91attach	mainbus at root
92file	arch/hppa/hppa/mainbus.c		mainbus
93
94device	pdc
95attach	pdc at gedoens
96file	arch/hppa/dev/pdc.c			pdc
97
98device	power
99attach	power at gedoens
100file	arch/hppa/dev/power.c			power needs-flag
101
102device	mem
103attach	mem at gedoens
104file	arch/hppa/dev/mem.c			mem
105
106device	cpu
107attach	cpu at gedoens
108file	arch/hppa/dev/cpu.c			cpu
109
110device	fpu
111attach	fpu at gedoens
112file	arch/hppa/dev/fpu.c			fpu
113
114# Phantom PseudoBC GSC+ Port
115device	phantomas: gedoens
116attach	phantomas at gedoens
117file	arch/hppa/dev/phantomas.c		phantomas
118
119# U2/Uturn, Runway to GSC Bus bridge & IOA.
120device	uturn: gedoens
121attach	uturn at gedoens
122file	arch/hppa/dev/uturn.c			uturn
123
124# 1FT1-0002, 1FU2-0002
125# as goes w/ 7100LC, 7300LC, 7200 and some of 8000, 8200, 8500
126device	lasi: gscbus
127attach	lasi at gedoens
128file	arch/hppa/dev/lasi.c			lasi
129
130# all the older systems
131device	asp: gscbus
132attach	asp at gedoens
133file	arch/hppa/dev/asp.c			asp
134
135# 1FT4-0001, ASIC used on gecko cards
136device	wax: gscbus, isabus, eisabus
137attach	wax at gedoens
138file	arch/hppa/dev/wax.c			wax
139
140device	mongoose: isabus, eisabus
141attach	mongoose at gedoens with mg_gedoens
142file	arch/hppa/dev/mongoose.c		mongoose
143
144define	dinobus {[offset = -1], [irq = -1]}
145
146# Dino, GSC-PCI bridge. Includes ps/2, cereal and a flying toaster interfaces
147# Cujo is a 64-bit data path Dino
148device	dino: pcibus, dinobus
149attach	dino at gedoens
150file	arch/hppa/dev/dino.c			dino
151
152attach	com at dinobus with com_dino
153file	arch/hppa/dev/com_dino.c		com_dino
154
155# EPIC, Excalibur PCI Interface Chip. Integrated IOA
156# SAGA is a 64-bit data path EPIC
157#device	epic: pcibus
158#attach	epic at gedoens
159#file	arch/hppa/dev/epic.c			epic
160
161attach	sti at gedoens with sti_gedoens
162file	arch/hppa/dev/sti_sgc.c			sti_gedoens
163
164attach	siop at gedoens with siop_sgc
165file	arch/hppa/dev/siop_sgc.c		siop_sgc
166
167###
168
169major	{ccd = 1}
170major	{vnd = 2}
171major	{rd = 3}
172
173#
174# GSC bus devices
175#
176
177device	gsc {[offset = -1], [irq = -1]}
178attach	gsc at gscbus
179file	arch/hppa/gsc/gscbus.c			gsc
180
181# com and lpt are both on WD 16C552
182attach	com at gsc with com_gsc
183file	arch/hppa/gsc/com_gsc.c			com_gsc
184
185attach	lpt at gsc with lpt_gsc
186file	arch/hppa/gsc/lpt_gsc.c			lpt_gsc
187
188attach	mongoose at gsc with mg_gsc
189file	arch/hppa/gsc/mongoose_gsc.c		mg_gsc
190
191#include "dev/fdc/files.fdc"
192#major	{fd = 7}
193#major	{ft = 8}
194#attach	fdc at gsc with fdc_gsc
195#file	arch/hppa/gsc/fdc_gsc.c			fdc_gsc
196
197attach	ie at gsc with ie_gsc
198file	arch/hppa/gsc/if_ie_gsc.c		ie_gsc
199
200attach	osiop at gsc with osiop_gsc
201file	arch/hppa/gsc/osiop_gsc.c		osiop_gsc
202
203attach	oosiop at gsc with oosiop_gsc
204file	arch/hppa/gsc/oosiop_gsc.c		oosiop_gsc
205
206attach	hil at gsc with hil_gsc
207file	arch/hppa/gsc/hil_gsc.c			hil_gsc
208
209# PSB 2160-N based 8bit mono audio (705, 710, 745i/*, 747i/*)
210device	aone: audio, mulaw, auconv
211attach	aone at gsc
212file	arch/hppa/gsc/aone.c			aone
213
214# CS4215/AD1849 based 16bit mono/stereo audio iface (most of others not w/ aone)
215# a.k.a. Audio Type 2 (optional beeper)
216device	harmony: audio, mulaw, auconv
217attach	harmony at gsc
218file	arch/hppa/gsc/harmony.c			harmony
219
220# HPA4011A/B w/ TMS380C26PQL, TMS38054FNL
221#device	tms: tokenring
222#attach	tms at gsc
223#file	arch/hppa/gsc/if_tms.c			tms
224
225# these we don't know yet
226# AMD Supernet2 FDDI ?
227#device	medusa: fddi
228#attach	medusa at gsc
229#file	arch/hppa/gsc/medusa.c			medusa
230
231# XXX should not be here
232# ANSI/VITA 26-1998 Gbit packet switching network iface
233#device	myri: ether
234#attach	myri at pci
235#file	dev/pci/myri.c				myri
236
237# PS/2 input ports
238#device	gsckbc {[slot = -1]}
239attach	gsckbc at gsc
240file	arch/hppa/gsc/gsckbc.c			gsckbc
241
242# PS/2 keyboard
243device	gsckbd: wskbddev
244attach	gsckbd at gsckbc
245file	arch/hppa/gsc/gsckbd.c			gsckbd	needs-flag
246file	arch/hppa/gsc/gsckbdmap.c		gsckbd
247
248# PS/2 mouse
249include	"dev/pckbc/files.pckbc"
250
251#
252# Compatibility
253#
254include "compat/hpux/hppa/files.hpux"
255file	arch/hppa/hppa/hpux_machdep.c		compat_hpux
256include "compat/osf1/files.osf1"
257file	arch/hppa/hppa/osf1_machdep.c		compat_osf1
258include	"compat/linux/files.linux"
259include "compat/ossaudio/files.ossaudio"
260file	arch/hppa/hppa/linux_machdep.c		compat_linux
261
262#
263# Non-device files
264#
265
266file	arch/hppa/hppa/autoconf.c
267file	arch/hppa/hppa/conf.c
268file	arch/hppa/hppa/db_interface.c		ddb
269file	arch/hppa/hppa/db_disasm.c		ddb
270file	arch/hppa/hppa/disksubr.c		disk
271file	arch/hppa/hppa/machdep.c
272file	arch/hppa/hppa/pmap.c
273file	arch/hppa/hppa/process_machdep.c
274file	arch/hppa/hppa/sys_machdep.c
275file	arch/hppa/hppa/trap.c
276file	arch/hppa/hppa/intr.c
277file	arch/hppa/hppa/vm_machdep.c
278file	arch/hppa/hppa/in_cksum.c		inet
279file	netinet/in4_cksum.c			inet
280file	arch/hppa/dev/clock.c
281file	arch/hppa/hppa/fpemu.S			fpemul
282
283file	dev/cninit.c
284