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