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