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