files.alpha revision 1.44
1#	$OpenBSD: files.alpha,v 1.44 2001/03/07 22:01:20 ericj 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 | dec_6600 | dec_550
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# "workstation console" 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#
127# ISA Bus devices
128#
129
130file	arch/alpha/isa/isa_machdep.c	isa
131
132include "dev/pckbc/files.pckbc"
133
134# National Semiconductor DS8390/WD83C690-based boards
135# (WD/SMC 80x3 family, SMC Ultra [8216], 3Com 3C503, NE[12]000, and clones)
136# XXX conflicts with other ports; can't be in files.isa
137device	ed: ether, ifnet
138attach	ed at isa with ed_isa
139attach	ed at pcmcia with ed_pcmcia
140attach	ed at pci with ed_pci
141file	dev/isa/if_ed.c			ed & (ed_isa | ed_pcmcia | ed_pci) needs-flag
142
143#
144# EISA Bus support
145#
146
147include "dev/eisa/files.eisa"
148
149
150#
151# PCI Bus support
152#
153
154# include "dev/pci/files.pci" XXX SEE ABOVE
155
156file    arch/alpha/pci/pciide_machdep.c  pci
157
158define	alpha_pci_sgmap_pte64
159file	arch/alpha/pci/pci_sgmap_pte64.c	alpha_pci_sgmap_pte64
160
161device	apecs: pcibus, alpha_sgmap, alpha_pci_sgmap_pte64
162attach	apecs at mainbus
163file	arch/alpha/pci/apecs.c		apecs
164file	arch/alpha/pci/apecs_bus_io.c	apecs
165file	arch/alpha/pci/apecs_bus_mem.c	apecs
166file	arch/alpha/pci/apecs_pci.c	apecs
167file	arch/alpha/pci/apecs_dma.c	apecs
168
169device	lca: pcibus, alpha_sgmap, alpha_pci_sgmap_pte64
170attach	lca at mainbus
171file	arch/alpha/pci/lca.c		lca
172file	arch/alpha/pci/lca_bus_io.c	lca
173file	arch/alpha/pci/lca_bus_mem.c	lca
174file	arch/alpha/pci/lca_pci.c	lca
175file	arch/alpha/pci/lca_dma.c	lca
176
177device	cia: pcibus, alpha_sgmap, alpha_pci_sgmap_pte64
178attach	cia at mainbus
179file	arch/alpha/pci/cia.c		cia
180file	arch/alpha/pci/cia_dma.c	cia
181file	arch/alpha/pci/cia_pci.c	cia
182file	arch/alpha/pci/cia_bus_io.c	cia
183file	arch/alpha/pci/cia_bus_mem.c	cia
184file	arch/alpha/pci/cia_bwx_bus_io.c	cia
185file	arch/alpha/pci/cia_bwx_bus_mem.c	cia
186
187device  tsc { }
188attach  tsc at mainbus
189file    arch/alpha/pci/tsc.c            dec_6600
190
191device  tsp: pcibus, alpha_sgmap, alpha_pci_sgmap_pte64
192attach  tsp at tsc
193file    arch/alpha/pci/tsp_dma.c        tsp
194file    arch/alpha/pci/tsp_pci.c        tsp
195file    arch/alpha/pci/tsp_bus_io.c     tsp
196file    arch/alpha/pci/tsp_bus_mem.c    tsp
197
198file	arch/alpha/pci/pci_2100_a50.c	dec_2100_a50
199file	arch/alpha/pci/pci_axppci_33.c	dec_axppci_33
200file	arch/alpha/pci/pci_eb164.c	dec_eb164
201file	arch/alpha/pci/pci_eb164_intr.s	dec_eb164
202file	arch/alpha/pci/pci_kn20aa.c	dec_kn20aa
203file	arch/alpha/pci/pci_550.c	dec_550
204file	arch/alpha/pci/pci_6600.c	dec_6600
205
206#
207# PCI Bus devices
208#
209
210file	arch/alpha/pci/pci_machdep.c	pci
211
212device	sio: isabus, alpha_shared_intr, cy82c693
213attach	sio at pci
214device	pceb: isabus, eisabus, cy82c693
215attach	pceb at pci
216file	arch/alpha/pci/sio.c		sio | pceb	needs-flag
217file	arch/alpha/pci/sio_pic.c	sio | pceb
218
219#
220# ISA PnP
221#
222
223include "../../../dev/isa/files.isapnp"
224file	arch/alpha/isa/isapnp_machdep.c	isapnp
225
226attach  com at isapnp with com_isapnp
227
228#
229# Devices that can live on multiple busses
230#
231
232device	mcclock
233attach	mcclock at ioasic with mcclock_ioasic
234attach	mcclock at isa with mcclock_isa
235file	arch/alpha/alpha/mcclock.c	mcclock
236file	arch/alpha/tc/mcclock_ioasic.c	mcclock_ioasic
237file	arch/alpha/isa/mcclock_isa.c	mcclock_isa
238
239#
240# Standard files
241#
242
243file	arch/alpha/alpha/autoconf.c
244file	arch/alpha/alpha/clock.c
245file	arch/alpha/alpha/conf.c
246file	arch/alpha/alpha/db_disasm.c		ddb
247file	arch/alpha/alpha/db_interface.c		ddb
248file	arch/alpha/alpha/db_trace.c		ddb
249file	arch/alpha/alpha/interrupt.c
250file	arch/alpha/alpha/machdep.c
251file	arch/alpha/alpha/mainbus.c
252file	arch/alpha/alpha/mem.c
253file	arch/alpha/alpha/pmap.c
254file	arch/alpha/alpha/process_machdep.c
255file	arch/alpha/alpha/prom.c
256file	arch/alpha/alpha/support.c
257file	arch/alpha/alpha/sys_machdep.c
258file	arch/alpha/alpha/trap.c
259file	arch/alpha/alpha/vm_machdep.c
260file	arch/alpha/alpha/disksubr.c
261file	arch/alpha/common/bus_dma.c
262file	dev/clock_subr.c
263file	dev/cons.c
264
265
266#
267# Optional/miscellaneous files
268#
269
270file	arch/alpha/alpha/in_cksum.c		inet & !generic_in_cksum
271file	netinet/in_cksum.c			inet & generic_in_cksum
272file	netns/ns_cksum.c			ns
273
274# XXX
275file	arch/alpha/alpha/promcons.c
276
277# XXX
278# file	arch/alpha/alpha/cpuconf.c
279file	arch/alpha/alpha/dec_2100_a50.c		dec_2100_a50	needs-flag
280file	arch/alpha/alpha/dec_21000.c		dec_21000	needs-flag
281file	arch/alpha/alpha/dec_3000_300.c		dec_3000_300	needs-flag
282file	arch/alpha/alpha/dec_3000_500.c		dec_3000_500	needs-flag
283file	arch/alpha/alpha/dec_axppci_33.c	dec_axppci_33	needs-flag
284file	arch/alpha/alpha/dec_eb164.c		dec_eb164	needs-flag
285file	arch/alpha/alpha/dec_kn20aa.c		dec_kn20aa	needs-flag
286file	arch/alpha/alpha/dec_550.c		dec_550		needs-flag
287file    arch/alpha/alpha/dec_6600.c             dec_6600	needs-flag
288
289
290# OSF/1 Binary Compatibility (COMPAT_OSF1)
291include "compat/osf1/files.osf1"
292file	arch/alpha/alpha/osf1_locore.s		compat_osf1
293
294# NetBSD binary compatibility (COMPAT_NETBSD)
295include "../../../compat/netbsd/files.netbsd"
296file	arch/alpha/alpha/netbsd_machdep.c	compat_netbsd
297
298#
299# Machine-independent USB drivers
300#
301include "dev/usb/files.usb"
302