files.alpha revision 1.16
1#	$OpenBSD: files.alpha,v 1.16 1997/11/06 12:27:01 niklas Exp $
2#	$NetBSD: files.alpha,v 1.32 1996/11/25 04:03:21 cgd Exp $
3#
4# alpha-specific configuration info
5
6# maxpartitions must be first item in files.${ARCH}
7maxpartitions 16
8
9maxusers 2 8 64
10
11# this loses, but there's no way to define attributes which have attributes
12define	alpha_shared_intr
13file	arch/alpha/dev/shared_intr.c	alpha_shared_intr | dec_eb164 |
14					dec_kn20aa
15
16#
17# Bus-independent devices
18#
19
20device	mainbus { }			# no locators (yet?)
21attach	mainbus at root
22
23device	cpu { }				# not really optional
24attach	cpu at mainbus
25file	arch/alpha/alpha/cpu.c		cpu
26
27major { ccd = 7 }
28major { vnd = 9 }
29
30#
31# Machine-independent SCSI drivers
32#
33
34include "scsi/files.scsi"
35major { st = 2 }
36major { cd = 3 }
37major { sd = 8 }
38
39# RAM Disk
40pseudo-device rd
41file	dev/ramdisk.c			rd		needs-flag
42file	arch/alpha/alpha/rd_root.c	ramdisk_hooks
43major { rd = 6 }
44
45#
46# raster console routines
47#
48
49define	raster
50include "dev/rcons/files.rcons"
51file	dev/wscons/wscons_rinit.c	raster
52file	dev/wscons/wscons_rops.c	raster
53
54#
55# TurboChannel Devices
56#
57
58include "dev/tc/files.tc"
59
60device	tcasic: tcbus
61attach	tcasic at mainbus
62file	arch/alpha/tc/tcasic.c		tcasic
63file	arch/alpha/tc/tc_bus_mem.c	tcasic
64file	arch/alpha/tc/tc_3000_500.c	tcasic & dec_3000_500
65file	arch/alpha/tc/tc_3000_300.c	tcasic & dec_3000_300
66
67# the TurboChannel IOCTL ASIC
68device	ioasic { offset = -1 }
69attach	ioasic at tc
70file	arch/alpha/tc/ioasic.c		ioasic
71
72# Color Frame buffer
73device	cfb: raster, wsconsdev
74attach	cfb at tc
75file	arch/alpha/tc/cfb.c		cfb
76
77# Smart Frame buffer
78device	sfb: raster, wsconsdev
79attach	sfb at tc
80file	arch/alpha/tc/sfb.c		sfb
81
82# 8530 UARTs
83device	scc
84attach	scc at ioasic
85file	arch/alpha/tc/scc.c		scc		needs-count
86
87# the TCDS ASIC
88device	tcds { slot = -1 }
89attach	tcds at tc
90file	arch/alpha/tc/tcds.c		tcds		needs-count
91
92# 53C[F]90 SCSI
93device	esp: scsi
94attach	esp at tcds
95file	arch/alpha/tc/esp.c		esp		needs-count
96file	arch/alpha/tc/tcds_dma.c	esp
97
98# Baseboard Lance ethernet.
99attach	le at ioasic with le_ioasic
100attach	le at tc with le_tc
101file	dev/tc/if_le_dec.c		(le_ioasic | le_tc)
102file	dev/tc/if_le_ioasic.c		le_ioasic	needs-flag #for le_iomem
103file	dev/tc/if_le_tc.c		le_tc
104
105#
106# ISA Bus support
107#
108
109#
110# Machine-independent ATAPI drivers
111#
112include "dev/atapi/files.atapi"
113major { acd = 4 }
114
115
116# XXX Dummy bus needed for some multi-homed devices specified in files.isa
117define	pcmcia {}
118
119include "dev/pci/files.pci"	# XXX some ISA devs are 'at pci' too.
120include "dev/isa/files.isa"
121major { wd = 0 }
122
123#file	arch/alpha/isa/isafcns_jensen.c	dec_2000_300
124
125
126#
127# ISA Bus devices
128#
129
130#device	ibus at mainbus { }
131#device	jcombo at ibus: isabus
132#device	jeisa at ibus: eisabus
133
134file	arch/alpha/isa/isa_machdep.c	isa
135
136device	pcppi { }
137attach	pcppi at isa
138file	arch/alpha/isa/pcppi.c		pcppi
139
140device	pckbd
141attach	pckbd at pcppi
142file	arch/alpha/isa/pckbd.c		pckbd
143
144device	pms
145attach	pms at pcppi
146file	arch/alpha/isa/pms.c		pms
147
148# National Semiconductor DS8390/WD83C690-based boards
149# (WD/SMC 80x3 family, SMC Ultra [8216], 3Com 3C503, NE[12]000, and clones)
150# XXX conflicts with other ports; can't be in files.isa
151device	ed: ether, ifnet
152attach	ed at isa with ed_isa
153attach	ed at pcmcia with ed_pcmcia
154attach	ed at pci with ed_pci
155file	dev/isa/if_ed.c			ed & (ed_isa | ed_pcmcia | ed_pci) needs-flag
156
157#
158# EISA Bus support
159#
160
161include "dev/eisa/files.eisa"
162
163
164#
165# PCI Bus support
166#
167
168# include "dev/pci/files.pci" XXX SEE ABOVE
169
170device	apecs: pcibus
171attach	apecs at mainbus
172file	arch/alpha/pci/apecs.c		apecs
173file	arch/alpha/pci/apecs_bus_io.c	apecs
174file	arch/alpha/pci/apecs_bus_mem.c	apecs
175file	arch/alpha/pci/apecs_pci.c	apecs
176
177device	lca: pcibus
178attach	lca at mainbus
179file	arch/alpha/pci/lca.c		lca
180file	arch/alpha/pci/lca_bus_io.c	lca
181file	arch/alpha/pci/lca_bus_mem.c	lca
182file	arch/alpha/pci/lca_pci.c	lca
183
184device	cia: pcibus
185attach	cia at mainbus
186file	arch/alpha/pci/cia.c		cia
187file	arch/alpha/pci/cia_bus_io.c	cia
188file	arch/alpha/pci/cia_bus_mem.c	cia
189file	arch/alpha/pci/cia_pci.c	cia
190
191file	arch/alpha/pci/pci_2100_a50.c	dec_2100_a50
192file	arch/alpha/pci/pci_axppci_33.c	dec_axppci_33
193file	arch/alpha/pci/pci_eb164.c	dec_eb164
194file	arch/alpha/pci/pci_eb164_intr.s	dec_eb164
195file	arch/alpha/pci/pci_kn20aa.c	dec_kn20aa
196
197
198#
199# PCI Bus devices
200#
201
202file	arch/alpha/pci/pci_machdep.c	pci
203
204device	sio: isabus, alpha_shared_intr
205attach	sio at pci
206device	pceb: isabus, eisabus
207attach	pceb at pci
208file	arch/alpha/pci/sio.c		sio | pceb	needs-flag
209file	arch/alpha/pci/sio_pic.c	sio | pceb
210
211device	tga: raster, wsconsdev
212attach	tga at pci
213file	arch/alpha/pci/tga.c		tga		needs-flag
214file	arch/alpha/pci/tga_conf.c	tga
215file	arch/alpha/pci/tga_bt463.c	tga
216file	arch/alpha/pci/tga_bt485.c	tga
217
218#
219# Devices that can live on multiple busses
220#
221
222device	mcclock
223attach	mcclock at ioasic with mcclock_ioasic
224attach	mcclock at isa with mcclock_isa
225file	arch/alpha/alpha/mcclock.c	mcclock
226file	arch/alpha/tc/mcclock_ioasic.c	mcclock_ioasic
227file	arch/alpha/isa/mcclock_isa.c	mcclock_isa
228
229#
230# Standard files
231#
232
233file	arch/alpha/alpha/autoconf.c
234file	arch/alpha/alpha/clock.c
235file	arch/alpha/alpha/conf.c
236file	arch/alpha/alpha/db_disasm.c		ddb
237file	arch/alpha/alpha/db_interface.c		ddb
238file	arch/alpha/alpha/db_trace.c		ddb
239file	arch/alpha/alpha/interrupt.c
240file	arch/alpha/alpha/machdep.c
241file	arch/alpha/alpha/mainbus.c
242file	arch/alpha/alpha/mem.c
243file	arch/alpha/alpha/pmap.c			new_pmap
244file	arch/alpha/alpha/pmap.old.c		!new_pmap
245file	arch/alpha/alpha/process_machdep.c
246file	arch/alpha/alpha/prom.c
247#file	arch/alpha/alpha/support.c
248file	arch/alpha/alpha/sys_machdep.c
249file	arch/alpha/alpha/trap.c
250file	arch/alpha/alpha/vm_machdep.c
251file	arch/alpha/alpha/disksubr.c
252file	dev/cons.c
253
254
255#
256# Optional/miscellaneous files
257#
258
259file	arch/alpha/alpha/in_cksum.c		inet & !generic_in_cksum
260file	netinet/in_cksum.c			inet & generic_in_cksum
261file	netns/ns_cksum.c			ns
262
263# XXX
264file	arch/alpha/alpha/promcons.c
265
266# XXX
267# file	arch/alpha/alpha/cpuconf.c
268file	arch/alpha/alpha/dec_2100_a50.c		dec_2100_a50	needs-flag
269file	arch/alpha/alpha/dec_21000.c		dec_21000	needs-flag
270file	arch/alpha/alpha/dec_3000_300.c		dec_3000_300	needs-flag
271file	arch/alpha/alpha/dec_3000_500.c		dec_3000_500	needs-flag
272file	arch/alpha/alpha/dec_axppci_33.c	dec_axppci_33	needs-flag
273file	arch/alpha/alpha/dec_eb164.c		dec_eb164	needs-flag
274file	arch/alpha/alpha/dec_kn20aa.c		dec_kn20aa	needs-flag
275
276# OSF/1 Binary Compatibility (COMPAT_OSF1)
277include "compat/osf1/files.osf1"
278