files.alpha revision 1.59
1#	$OpenBSD: files.alpha,v 1.59 2002/06/30 16:24:40 miod 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					dec_1000 | dec_1000a | dec_eb64plus
16
17define	alpha_sgmap
18file	arch/alpha/dev/sgmap_common.c alpha_sgmap | dec_3000_500
19
20#
21# Bus-independent devices
22#
23
24device	mainbus { }			# no locators (yet?)
25attach	mainbus at root
26
27device	cpu { }				# not really optional
28attach	cpu at mainbus
29file	arch/alpha/alpha/cpu.c		cpu
30
31major { ccd = 7 }
32major { vnd = 9 }
33
34#
35# Media Independent Interface (mii)
36#
37include "../../../dev/mii/files.mii"
38
39#
40# Machine-independent SCSI drivers
41#
42
43include "scsi/files.scsi"
44major { st = 2 }
45major { cd = 3 }
46major { sd = 8 }
47major { rd = 6 }
48
49# I2O
50include "dev/i2o/files.i2o"
51
52# Raster operations
53include "dev/rasops/files.rasops"
54include "dev/wsfont/files.wsfont"
55
56#
57# "workstation console" routines
58#
59
60include "dev/wscons/files.wscons"
61
62#
63# Bus-independent support for DEC devices
64#
65include "dev/dec/files.dec"
66
67#
68# TURBOchannel Devices
69#
70
71include "dev/tc/files.tc"
72
73# TC attachment is MD
74attach	tc at tcbus
75
76device	tcasic: tcbus
77attach	tcasic at mainbus
78file	arch/alpha/tc/tcasic.c		tcasic
79file	arch/alpha/tc/tc_bus_mem.c	tcasic
80file	arch/alpha/tc/tc_dma.c		tcasic
81file	arch/alpha/tc/tc_dma_3000_300.c	tcasic & dec_3000_300
82file	arch/alpha/tc/tc_dma_3000_500.c	tcasic & dec_3000_500
83file	arch/alpha/tc/tc_sgmap.c	tcasic & dec_3000_500
84file	arch/alpha/tc/tc_3000_500.c	tcasic & dec_3000_500
85file	arch/alpha/tc/tc_3000_300.c	tcasic & dec_3000_300
86
87# the TURBOchannel IOCTL ASIC
88# IOASIC device and attachment defined in sys/dev/tc/files.tc
89file	arch/alpha/tc/ioasic.c		ioasic
90
91# PMAG-B CX
92device	cfb: wsemuldisplaydev, wsrasteremulops
93attach	cfb at tc
94file	arch/alpha/tc/cfb.c		cfb		needs-flag
95
96# PMAGB-B HX or CXT
97device	sfb: wsemuldisplaydev, wsrasteremulops
98attach	sfb at tc
99file	arch/alpha/tc/sfb.c		sfb		needs-flag
100
101# 8530 UARTs
102device	scc
103attach	scc at ioasic
104file	arch/alpha/tc/scc.c		scc		needs-count
105
106# TC and baseboard ioasic Lance ethernet are in files.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
132define isadma_bounce
133file arch/alpha/isa/isadma_bounce.c	isadma_bounce
134
135device isabeep
136attach isabeep at pcppi
137
138include "dev/pckbc/files.pckbc"
139
140# National Semiconductor DS8390/WD83C690-based boards
141# (WD/SMC 80x3 family, SMC Ultra [8216], 3Com 3C503, NE[12]000, and clones)
142# XXX conflicts with other ports; can't be in files.isa
143device	ed: ether, ifnet
144attach	ed at isa with ed_isa
145attach	ed at pcmcia with ed_pcmcia
146attach	ed at pci with ed_pci
147file	dev/isa/if_ed.c			ed & (ed_isa | ed_pcmcia | ed_pci) needs-flag
148
149# Floppy disk controller
150#device	fdc {drive = -1}: isa_dma
151device	fdc {drive = -1}
152attach	fdc at isa
153file	dev/isa/fdc.c	fdc needs-flag
154
155device	fd: disk, isa_dma
156attach	fd at fdc
157file	dev/isa/fd.c	fd needs-flag
158major	{fd = 4}
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, alpha_sgmap, alpha_pci_sgmap_pte64
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
184file	arch/alpha/pci/apecs_dma.c	apecs
185
186device	lca: pcibus, alpha_sgmap, alpha_pci_sgmap_pte64
187attach	lca at mainbus
188file	arch/alpha/pci/lca.c		lca
189file	arch/alpha/pci/lca_bus_io.c	lca
190file	arch/alpha/pci/lca_bus_mem.c	lca
191file	arch/alpha/pci/lca_pci.c	lca
192file	arch/alpha/pci/lca_dma.c	lca
193
194device	cia: pcibus, alpha_sgmap, alpha_pci_sgmap_pte64
195attach	cia at mainbus
196file	arch/alpha/pci/cia.c		cia
197file	arch/alpha/pci/cia_dma.c	cia
198file	arch/alpha/pci/cia_pci.c	cia
199file	arch/alpha/pci/cia_bus_io.c	cia
200file	arch/alpha/pci/cia_bus_mem.c	cia
201file	arch/alpha/pci/cia_bwx_bus_io.c	cia
202file	arch/alpha/pci/cia_bwx_bus_mem.c	cia
203
204device	irongate: pcibus, isadma_bounce
205attach	irongate at mainbus
206file	arch/alpha/pci/irongate.c		irongate
207file	arch/alpha/pci/irongate_bus_io.c	irongate
208file	arch/alpha/pci/irongate_bus_mem.c	irongate
209file	arch/alpha/pci/irongate_dma.c		irongate
210file	arch/alpha/pci/irongate_pci.c		irongate
211
212device  tsc { }
213attach  tsc at mainbus
214file    arch/alpha/pci/tsc.c            dec_6600
215
216device  tsp: pcibus, alpha_sgmap, alpha_pci_sgmap_pte64
217attach  tsp at tsc
218file    arch/alpha/pci/tsp_dma.c        tsp
219file    arch/alpha/pci/tsp_pci.c        tsp
220file    arch/alpha/pci/tsp_bus_io.c     tsp
221file    arch/alpha/pci/tsp_bus_mem.c    tsp
222
223file	arch/alpha/pci/pci_2100_a50.c		dec_2100_a50
224file	arch/alpha/pci/pci_axppci_33.c		dec_axppci_33
225file	arch/alpha/pci/pci_eb164.c		dec_eb164
226file	arch/alpha/pci/pci_eb164_intr.s		dec_eb164
227file	arch/alpha/pci/pci_eb64plus.c		dec_eb64plus
228file	arch/alpha/pci/pci_eb64plus_intr.s	dec_eb64plus
229file	arch/alpha/pci/pci_kn20aa.c		dec_kn20aa
230file	arch/alpha/pci/pci_550.c		dec_550
231file	arch/alpha/pci/pci_1000a.c		dec_1000a
232file	arch/alpha/pci/pci_1000.c		dec_1000
233file	arch/alpha/pci/pci_6600.c		dec_6600
234file	arch/alpha/pci/pci_up1000.c		api_up1000
235
236#
237# PCI Bus devices
238#
239
240file	arch/alpha/pci/pci_machdep.c	pci
241
242device	sio: isabus, alpha_shared_intr, cy82c693
243attach	sio at pci
244device	pceb: isabus, eisabus, cy82c693
245attach	pceb at pci
246file	arch/alpha/pci/sio.c		sio | pceb	needs-flag
247file	arch/alpha/pci/sio_pic.c	sio | pceb
248
249#
250# ISA PnP
251#
252
253include "../../../dev/isa/files.isapnp"
254file	arch/alpha/isa/isapnp_machdep.c	isapnp
255
256attach  com at isapnp with com_isapnp
257
258#
259# Devices that can live on multiple busses
260#
261
262device	mcclock
263attach	mcclock at ioasic with mcclock_ioasic
264attach	mcclock at isa with mcclock_isa
265file	arch/alpha/alpha/mcclock.c	mcclock
266file	arch/alpha/tc/mcclock_ioasic.c	mcclock_ioasic
267file	arch/alpha/isa/mcclock_isa.c	mcclock_isa
268
269#
270# Standard files
271#
272
273file	arch/alpha/alpha/autoconf.c
274file	arch/alpha/alpha/clock.c
275file	arch/alpha/alpha/conf.c
276file	arch/alpha/alpha/db_disasm.c		ddb
277file	arch/alpha/alpha/db_interface.c		ddb
278file	arch/alpha/alpha/db_trace.c		ddb
279file	arch/alpha/alpha/interrupt.c
280file	arch/alpha/alpha/machdep.c
281file	arch/alpha/alpha/mainbus.c
282file	arch/alpha/alpha/mem.c
283file	arch/alpha/alpha/pmap.c
284file	arch/alpha/alpha/process_machdep.c
285file	arch/alpha/alpha/prom.c
286file	arch/alpha/alpha/sys_machdep.c
287file	arch/alpha/alpha/trap.c
288file	arch/alpha/alpha/fp_complete.c
289file	arch/alpha/alpha/vm_machdep.c
290file	arch/alpha/alpha/disksubr.c
291file	arch/alpha/dev/bus_dma.c
292file	dev/clock_subr.c
293file	dev/cons.c
294
295
296#
297# Optional/miscellaneous files
298#
299
300file	arch/alpha/alpha/in_cksum.c		inet & !generic_in_cksum
301file	netinet/in_cksum.c			inet & generic_in_cksum
302file	netns/ns_cksum.c			ns
303
304# XXX
305file	arch/alpha/alpha/promcons.c
306
307# XXX
308# file	arch/alpha/alpha/cpuconf.c
309file	arch/alpha/alpha/dec_2100_a50.c		dec_2100_a50	needs-flag
310file	arch/alpha/alpha/dec_21000.c		dec_21000	needs-flag
311file	arch/alpha/alpha/dec_3000_300.c		dec_3000_300	needs-flag
312file	arch/alpha/alpha/dec_3000_500.c		dec_3000_500	needs-flag
313file	arch/alpha/alpha/dec_axppci_33.c	dec_axppci_33	needs-flag
314file	arch/alpha/alpha/dec_eb164.c		dec_eb164	needs-flag
315file	arch/alpha/alpha/dec_eb64plus.c		dec_eb64plus	needs-flag
316file	arch/alpha/alpha/dec_kn20aa.c		dec_kn20aa	needs-flag
317file	arch/alpha/alpha/dec_550.c		dec_550		needs-flag
318file	arch/alpha/alpha/dec_1000a.c		dec_1000 | dec_1000a	needs-flag
319file    arch/alpha/alpha/dec_6600.c             dec_6600	needs-flag
320file	arch/alpha/alpha/api_up1000.c		api_up1000	needs-flag
321
322# OSF/1 Binary Compatibility (COMPAT_OSF1)
323include "compat/osf1/files.osf1"
324file	arch/alpha/alpha/osf1_locore.s		compat_osf1
325
326# NetBSD binary compatibility (COMPAT_NETBSD)
327include "../../../compat/netbsd/files.netbsd"
328file	arch/alpha/alpha/netbsd_machdep.c	compat_netbsd
329
330#
331# Machine-independent USB drivers
332#
333include "dev/usb/files.usb"
334