files.hppa revision 1.61
1#	$OpenBSD: files.hppa,v 1.61 2007/01/11 22:06:36 miod 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
163file	arch/hppa/dev/sti_pci_machdep.c		sti_pci
164
165attach	siop at gedoens with siop_sgc
166file	arch/hppa/dev/siop_sgc.c		siop_sgc
167
168###
169
170major	{ccd = 1}
171major	{vnd = 2}
172major	{rd = 3}
173
174#
175# GSC bus devices
176#
177
178device	gsc {[offset = -1], [irq = -1]}
179attach	gsc at gscbus
180file	arch/hppa/gsc/gscbus.c			gsc
181
182# com and lpt are both on WD 16C552
183attach	com at gsc with com_gsc
184file	arch/hppa/gsc/com_gsc.c			com_gsc
185
186attach	lpt at gsc with lpt_gsc
187file	arch/hppa/gsc/lpt_gsc.c			lpt_gsc
188
189attach	mongoose at gsc with mg_gsc
190file	arch/hppa/gsc/mongoose_gsc.c		mg_gsc
191
192#include "dev/fdc/files.fdc"
193#major	{fd = 7}
194#major	{ft = 8}
195#attach	fdc at gsc with fdc_gsc
196#file	arch/hppa/gsc/fdc_gsc.c			fdc_gsc
197
198attach	ie at gsc with ie_gsc
199file	arch/hppa/gsc/if_ie_gsc.c		ie_gsc
200
201attach	osiop at gsc with osiop_gsc
202file	arch/hppa/gsc/osiop_gsc.c		osiop_gsc
203
204attach	oosiop at gsc with oosiop_gsc
205file	arch/hppa/gsc/oosiop_gsc.c		oosiop_gsc
206
207attach	hil at gsc with hil_gsc
208file	arch/hppa/gsc/hil_gsc.c			hil_gsc
209
210# PSB 2160-N based 8bit mono audio (705, 710, 745i/*, 747i/*)
211device	aone: audio, mulaw, auconv
212attach	aone at gsc
213file	arch/hppa/gsc/aone.c			aone
214
215# CS4215/AD1849 based 16bit mono/stereo audio iface (most of others not w/ aone)
216# a.k.a. Audio Type 2 (optional beeper)
217device	harmony: audio, mulaw, auconv
218attach	harmony at gsc
219file	arch/hppa/gsc/harmony.c			harmony
220
221# HPA4011A/B w/ TMS380C26PQL, TMS38054FNL
222#device	tms: tokenring
223#attach	tms at gsc
224#file	arch/hppa/gsc/if_tms.c			tms
225
226# these we don't know yet
227# AMD Supernet2 FDDI ?
228#device	medusa: fddi
229#attach	medusa at gsc
230#file	arch/hppa/gsc/medusa.c			medusa
231
232# XXX should not be here
233# ANSI/VITA 26-1998 Gbit packet switching network iface
234#device	myri: ether
235#attach	myri at pci
236#file	dev/pci/myri.c				myri
237
238# PS/2 input ports
239#device	gsckbc {[slot = -1]}
240attach	gsckbc at gsc
241file	arch/hppa/gsc/gsckbc.c			gsckbc
242
243# PS/2 keyboard
244device	gsckbd: wskbddev
245attach	gsckbd at gsckbc
246file	arch/hppa/gsc/gsckbd.c			gsckbd	needs-flag
247file	arch/hppa/gsc/gsckbdmap.c		gsckbd
248
249# PS/2 mouse
250include	"dev/pckbc/files.pckbc"
251
252#
253# Compatibility
254#
255include "compat/hpux/hppa/files.hpux"
256file	arch/hppa/hppa/hpux_machdep.c		compat_hpux
257include "compat/osf1/files.osf1"
258file	arch/hppa/hppa/osf1_machdep.c		compat_osf1
259include	"compat/linux/files.linux"
260include "compat/ossaudio/files.ossaudio"
261file	arch/hppa/hppa/linux_machdep.c		compat_linux
262
263#
264# Non-device files
265#
266
267file	arch/hppa/hppa/autoconf.c
268file	arch/hppa/hppa/conf.c
269file	arch/hppa/hppa/db_interface.c		ddb
270file	arch/hppa/hppa/db_disasm.c		ddb
271file	arch/hppa/hppa/disksubr.c		disk
272file	arch/hppa/hppa/machdep.c
273file	arch/hppa/hppa/pmap.c
274file	arch/hppa/hppa/process_machdep.c
275file	arch/hppa/hppa/sys_machdep.c
276file	arch/hppa/hppa/trap.c
277file	arch/hppa/hppa/intr.c
278file	arch/hppa/hppa/vm_machdep.c
279file	arch/hppa/hppa/in_cksum.c		inet
280file	netinet/in4_cksum.c			inet
281file	arch/hppa/dev/clock.c
282file	arch/hppa/hppa/fpemu.S			fpemul
283
284file	dev/cninit.c
285