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
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
|
# $OpenBSD: files.amiga,v 1.21 1997/05/13 16:07:23 niklas Exp $
# $NetBSD: files.amiga,v 1.51 1996/12/16 16:17:31 is Exp $
# maxpartitions must be first item in files.${ARCH}
maxpartitions 16 # NOTE THAT AMIGA IS SPECIAL!
maxusers 2 8 64
device mainbus {}
attach mainbus at root
device cpu
attach cpu at mainbus
# zorro expansion bus.
device zbus {}
attach zbus at mainbus
file arch/amiga/dev/zbus.c zbus
define event {}
file arch/amiga/dev/event.c event
device clock
attach clock at mainbus
file arch/amiga/dev/clock.c
# keyboard
device kbd: event
attach kbd at mainbus
file arch/amiga/dev/kbd.c kbd needs-flag
# serial port
device ser: tty
attach ser at mainbus
file arch/amiga/dev/ser.c ser needs-count
# parallel port
device par
attach par at mainbus
file arch/amiga/dev/par.c par needs-count
# mouse
device ms: event
attach ms at mainbus
file arch/amiga/dev/ms.c ms needs-flag
device fdc { unit = -1 }
attach fdc at mainbus
device fd
attach fd at fdc
file arch/amiga/dev/fd.c fd needs-flag
# graphic devices
define grfbus {}
device grf {}
attach grf at grfbus
file arch/amiga/dev/grf.c grf needs-count
device ite
attach ite at grf
file arch/amiga/dev/ite.c ite needs-flag
file arch/amiga/dev/kbdmap.c ite
file arch/amiga/dev/kf_8x8.c ite
file arch/amiga/dev/kf_8x11.c kfont_8x11
file arch/amiga/dev/kf_custom.c kfont_custom
# custom chips grf
device grfcc: grfbus
attach grfcc at mainbus
file arch/amiga/dev/grf_cc.c grfcc needs-flag
file arch/amiga/dev/ite_cc.c grfcc & ite
# RAM disk
pseudo-device rd
file dev/ramdisk.c rd needs-flag
file arch/amiga/dev/rd_root.c ramdisk_hooks
pseudo-device view
file arch/amiga/dev/view.c view | grfcc needs-count
file arch/amiga/dev/grfabs.c grfcc | view
file arch/amiga/dev/grfabs_cc.c grfcc | view
file arch/amiga/dev/grfabs_ccglb.c grfcc | view
# retina grf
device grfrt: grfbus
attach grfrt at zbus
file arch/amiga/dev/grf_rt.c grfrt needs-flag
file arch/amiga/dev/ite_rt.c grfrt & ite
# cirrus grf
device grfcl: grfbus
attach grfcl at zbus
file arch/amiga/dev/grf_cl.c grfcl needs-flag
file arch/amiga/dev/ite_cl.c grfcl & ite
# CyberVison 64 grf
device grfcv: grfbus
attach grfcv at zbus
file arch/amiga/dev/grf_cv.c grfcv needs-flag
file arch/amiga/dev/ite_cv.c grfcv & ite
# A2410 grf
device grful: grfbus
attach grful at zbus
file arch/amiga/dev/grf_ul.c grful needs-flag
file arch/amiga/dev/ite_ul.c grful & ite
file arch/amiga/dev/grf_ultms.g grful
# retina ZIII grf
device grfrh: grfbus
attach grfrh at zbus
file arch/amiga/dev/grf_rh.c grfrh needs-flag
file arch/amiga/dev/ite_rh.c grfrh & ite
# Tseng grf
device grfet: grfbus
attach grfet at zbus
file arch/amiga/dev/grf_et.c grfet needs-flag
file arch/amiga/dev/ite_et.c grfet & ite
# handle gvp's odd autoconf info..
device gvpbus {}
attach gvpbus at zbus
file arch/amiga/dev/gvpbus.c gvpbus
# device defined in sys/conf/files
attach le at zbus with le_zbus
file arch/amiga/dev/if_le.c le_zbus needs-flag
device ed: ifnet, ether
attach ed at zbus with ed_zbus
file arch/amiga/dev/if_ed.c ed_zbus needs-flag
# C=/Ameristar A2060 / 560
device bah: ifnet, arc
attach bah at zbus with bah_zbus
file arch/amiga/dev/if_bah.c bah_zbus needs-flag
device es: ifnet, ether
attach es at zbus
file arch/amiga/dev/if_es.c es needs-flag
device qn: ifnet, ether
attach qn at zbus
file arch/amiga/dev/if_qn.c qn needs-flag
device ae: ifnet, ether
attach ae at zbus
file arch/amiga/dev/if_ae.c ae needs-count
# A2232 msc serial ports
device msc: tty
attach msc at zbus
file arch/amiga/dev/msc.c msc needs-count
# bsc/Alf Data MultiFaceCard
device mfc { unit = -1 }
attach mfc at zbus
device mfcs
attach mfcs at mfc
device mfcp
attach mfcp at mfc
file arch/amiga/dev/mfc.c mfcs | mfcp needs-count
# DraCo internal com port
device drcom: tty
attach drcom at mainbus
file arch/amiga/dev/drcom.c drcom needs-count
include "../../../scsi/files.scsi"
# wd 33c93 controllers
define sbic
file arch/amiga/dev/sbic.c sbic
# C= A2091
device atzsc: scsi, sbic
attach atzsc at zbus
file arch/amiga/dev/atzsc.c atzsc needs-flag
# GVP series II
device gtsc: scsi, sbic
attach gtsc at gvpbus
file arch/amiga/dev/gtsc.c gtsc needs-flag
# Amiga 3000 internal
device ahsc: scsi, sbic
attach ahsc at mainbus
file arch/amiga/dev/ahsc.c ahsc needs-flag
# ncr 57c710 controllers
define siop
file arch/amiga/dev/siop.c siop
# PPI Zeus
device zssc: scsi, siop
attach zssc at zbus
file arch/amiga/dev/zssc.c zssc needs-flag
# CSA Magnum
device mgnsc: scsi, siop
attach mgnsc at zbus
file arch/amiga/dev/mgnsc.c mgnsc needs-flag
# MacroSystems Warp Engine
device wesc: scsi, siop
attach wesc at zbus
file arch/amiga/dev/wesc.c wesc needs-flag
# MacroSystem DraCo internal
device drsc: scsi, siop
attach drsc at mainbus
file arch/amiga/dev/drsc.c drsc needs-flag
# C= A4091
device afsc: scsi, siop
attach afsc at zbus
device aftsc: scsi, siop
attach aftsc at mainbus
file arch/amiga/dev/afsc.c afsc | aftsc needs-flag
# ncr 5380 controllers
define sci
file arch/amiga/dev/sci.c sci
# Supra Wordsync II
device wstsc: scsi, sci
attach wstsc at zbus
file arch/amiga/dev/wstsc.c wstsc needs-flag
# IVS
device ivsc: scsi, sci
attach ivsc at zbus
file arch/amiga/dev/ivsc.c ivsc needs-flag
# CSA twelve gauge.
device otgsc: scsi, sci
attach otgsc at zbus
file arch/amiga/dev/otgsc.c otgsc needs-flag
# MLH
device mlhsc: scsi, sci
attach mlhsc at zbus
file arch/amiga/dev/mlhsc.c mlhsc needs-flag
# EMPLANT
device empsc: scsi, sci
attach empsc at zbus
file arch/amiga/dev/empsc.c empsc needs-flag
# Emulex ESP216 & FAS216 controllers
define sfas
file arch/amiga/dev/sfas.c sfas
# FastlaneZ3
device flsc: scsi, sfas
attach flsc at zbus
file arch/amiga/dev/flsc.c flsc needs-flag
# Blizzard1230-I,II
device bzsc: scsi, sfas
attach bzsc at zbus
file arch/amiga/dev/bzsc.c bzsc needs-flag
# Blizzard2060 scsi
device bztzsc: scsi, sfas
attach bztzsc at zbus
file arch/amiga/dev/bztzsc.c bztzsc needs-flag
# Amiga 4000/1200 IDE masquerading as SCSI
device idesc: scsi
attach idesc at mainbus
file arch/amiga/dev/idesc.c idesc needs-flag
#
# Machine-independent ATAPI drivers
#
include "../../../dev/atapi/files.atapi"
#
# ISA devices
#
define bridge {}
# GoldenGate bridge
device ggbus: isabus
attach ggbus at zbus
file arch/amiga/isa/ggbus.c ggbus needs-flag
# CrossLink bridge
device cross: isabus
attach cross at zbus
file arch/amiga/isa/cross.c cross needs-flag
# XXX Dummy busses needed for some multi-homed devices specified in files.isa
define pci { }
define pcmcia {}
include "../../../dev/isa/files.isa"
file arch/amiga/isa/isadma.c isadma needs-flag
# XXX should really use if_ed instead, but can't for the moment due to
# name clashes with the amiga variant.
device isaed: ifnet, ether
attach isaed at isa with isaed_isa
file arch/amiga/isa/if_isaed.c isaed & isaed_isa needs-flag
# list of standard files...
file dev/cons.c ite | ser
file dev/cninit.c ite | ser
file arch/amiga/amiga/amiga_init.c
file arch/amiga/amiga/autoconf.c
file arch/amiga/amiga/cia.c
file arch/amiga/amiga/conf.c
file arch/amiga/amiga/disksubr.c
file arch/amiga/amiga/dkbad.c
file arch/amiga/amiga/machdep.c
file arch/amiga/amiga/mem.c
file arch/amiga/amiga/pmap.c
file arch/amiga/amiga/sys_machdep.c
file arch/amiga/amiga/trap.c
file arch/amiga/amiga/vm_machdep.c
file arch/amiga/amiga/cc.c
file arch/amiga/amiga/db_memrw.c ddb
major {wd = 0}
major {fd = 2}
major {sd = 4}
major {st = 5}
major {vnd = 6}
major {cd = 7}
major {ccd = 8}
major {acd = 15}
major {rd = 16}
# Compatibility modules
# SunOS Binary Compatibility (COMPAT_SUNOS)
include "../../../compat/sunos/files.sunos"
file arch/m68k/m68k/sunos_machdep.c compat_sunos
|