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