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