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