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