files.hppa revision 1.37
1#	$OpenBSD: files.hppa,v 1.37 2003/01/08 02:11:38 krw 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	siop at gsc
150file	arch/hppa/gsc/siop_gsc.c	siop
151
152attach	osiop at gsc
153file	arch/hppa/gsc/osiop_gsc.c	osiop
154
155device	hil: tty
156attach	hil at gsc
157file	arch/hppa/gsc/hil.c		hil
158
159attach	pckbc at gsc with pckbc_gsc
160file	arch/hppa/gsc/pckbc_gsc.c	pckbc_gsc
161
162# PSB 2160-N based 8bit mono audio (705, 710, 745i/*, 747i/*)
163device	aone: audio, mulaw, auconv
164attach	aone at gsc
165file	arch/hppa/gsc/aone.c		aone
166
167# CS4215/AD1849 based 16bit mono/stereo audio iface (most of others not w/ aone)
168# a.k.a. Audio Type 2 (optional beeper)
169device	harmony {} : audio, mulaw, auconv
170attach	harmony at gsc
171file	arch/hppa/gsc/harmony.c		harmony
172
173# fax/modem/voice on harmony
174attach	com at harmony with com_harmony
175file	arch/hppa/gsc/com_harmony.c	com_harmony
176
177# HPA4011A/B w/ TMS380C26PQL, TMS38054FNL
178#device	tms: tokenring
179#attach	tms at gsc
180#file	arch/hppa/gsc/if_tms.c		tms
181
182# these we don't know yet
183# AMD Supernet2 FDDI ?
184#device	medusa: fddi
185#attach	medusa at gsc
186#file	arch/hppa/gsc/medusa.c		medusa
187
188# XXX should not be here
189# ANSI/VITA 26-1998 Gbit packet switching network iface
190#device	myri: ether
191#attach	myri at pci
192#file	dev/pci/myri.c			myri
193
194device	ps2p: wskbddev, wsmousedev
195attach	ps2p at gsc
196file	arch/hppa/gsc/ps2p.c		ps2p needs-flag
197file	arch/hppa/gsc/ps2kbd_map.c	ps2p
198
199#
200# Compatibility
201#
202include "compat/hpux/files.hpux"
203file	arch/hppa/hppa/hpux_machdep.c		compat_hpux
204include "compat/osf1/files.osf1"
205file	arch/hppa/hppa/osf1_machdep.c		compat_osf1
206include	"compat/linux/files.linux"
207include "compat/ossaudio/files.ossaudio"
208file	arch/hppa/hppa/linux_machdep.c		compat_linux
209
210#
211# Non-device files
212#
213
214file	arch/hppa/hppa/autoconf.c
215file	arch/hppa/hppa/conf.c
216file	arch/hppa/hppa/db_interface.c		ddb
217file	arch/hppa/hppa/db_disasm.c		ddb
218file	arch/hppa/hppa/disksubr.c		disk
219file	arch/hppa/hppa/machdep.c
220file	arch/hppa/hppa/pmap.c
221file	arch/hppa/hppa/process_machdep.c
222file	arch/hppa/hppa/sys_machdep.c
223file	arch/hppa/hppa/trap.c
224file	arch/hppa/hppa/intr.c
225file	arch/hppa/hppa/vm_machdep.c
226file	arch/hppa/hppa/in_cksum.c		inet
227file	arch/hppa/dev/clock.c
228file	arch/hppa/hppa/fpemu.S			fpemul
229
230file	dev/cons.c
231file	dev/cninit.c
232