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