files.amigappc revision 1.16 1 # $NetBSD: files.amigappc,v 1.16 2003/09/27 21:32:12 is Exp $
2
3 # maxpartitions must be first item in files.${ARCH}.newconf
4 maxpartitions 16 # NOTE THAT AMIGA IS SPECIAL!
5
6 maxusers 2 8 64
7
8 defflag opt_amigaccgrf.h GRF_NTSC
9 defflag opt_amigaccgrf.h GRF_PAL :GRF_NTSC # temporary workaround
10 defflag opt_amigaccgrf.h GRF_ECS GRF_AGA
11 defflag opt_amigaccgrf.h GRF_A2024:GRF_ECS
12 defflag opt_amigaccgrf.h GRF_AGA_VGA:GRF_AGA
13 defflag opt_amigaccgrf.h GRF_SUPER72:GRF_AGA
14 defflag opt_amigaccgrf.h USE_C_BFOPS
15
16 defflag opt_amigacons.h RETINACONSOLE ULOWELLCONSOLE CL5426CONSOLE
17 defflag opt_amigacons.h CV64CONSOLE CV3DCONSOLE TSENGCONSOLE
18 defflag opt_amigacons.h CV3DONZORRO2
19
20 defparam opt_retina.h RH_MEMCLK
21 defflag opt_retina.h RH_64BIT_SPRITE RH_HARDWARECURSOR
22 defflag opt_retina.h RETINA_SPEED_HACK
23
24 defflag BB060STUPIDROM
25 defflag P5PPC68KBOARD
26
27 defflag LEV6_DEFER
28
29 device mainbus {}
30 attach mainbus at root
31
32 device cpu
33 attach cpu at mainbus
34
35 # zorro expansion bus.
36 device zbus {}
37 attach zbus at mainbus
38 file arch/amiga/dev/zbus.c zbus
39
40 define event {}
41 file arch/amiga/dev/event.c event
42
43 device clock
44 attach clock at mainbus
45 file arch/amiga/dev/clock.c
46
47 # A2000 internal hwc
48 device a2kbbc
49 attach a2kbbc at mainbus
50 file arch/amiga/dev/a2kbbc.c a2kbbc
51
52 # A3000/4000 internal hwc
53 device a34kbbc
54 attach a34kbbc at mainbus
55 file arch/amiga/dev/a34kbbc.c a34kbbc
56
57 # keyboard
58 device kbd: event,wskbddev
59 attach kbd at mainbus
60 file arch/amiga/dev/kbd.c kbd needs-flag
61 file arch/amiga/dev/wskbdmap_amiga.c kbd
62
63 # serial port
64 device ser: tty
65 attach ser at mainbus
66 file arch/amiga/dev/ser.c ser needs-count
67
68 # parallel port
69 device par
70 attach par at mainbus
71 file arch/amiga/dev/par.c par needs-count
72
73 # audio
74 device aucc: audiobus
75 attach aucc at mainbus
76 file arch/amiga/dev/aucc.c aucc needs-flag
77
78 device melody: audiobus, tms320av110
79 attach melody at zbus
80 file arch/amiga/dev/melody.c melody
81
82 # mouse
83 device ms: event
84 attach ms at mainbus
85 file arch/amiga/dev/ms.c ms needs-flag
86
87 # floppy
88 device fdc { unit = -1 }
89 attach fdc at mainbus
90
91 device fd: disk
92 attach fd at fdc
93 file arch/amiga/dev/fd.c fd needs-flag
94
95 # graphic devices
96 define grfbus {}
97
98 device grf {}
99 attach grf at grfbus
100 file arch/amiga/dev/grf.c grf needs-count
101
102 device ite: tty
103 attach ite at grf
104 file arch/amiga/dev/ite.c ite needs-flag
105 file arch/amiga/dev/kbdmap.c ite
106 file arch/amiga/dev/kf_custom.c kfont_custom
107 file arch/amiga/dev/kf_iso8859_1_8x8.c kfont_cons_iso8859_1 &
108 ( ite | amidisplaycc )
109 file arch/amiga/dev/kf_iso8859_1_8x11.c kfont_cons_iso8859_1 &
110 kfont_8x11
111 file arch/amiga/dev/kf_iso8859_2_8x8.c kfont_cons_iso8859_2 &
112 ( ite | amidisplaycc )
113 file arch/amiga/dev/kf_iso8859_2_8x11.c kfont_cons_iso8859_2 &
114 kfont_8x11
115
116 # custom chips grf (ite0 grf0)
117 device grfcc: grfbus
118 attach grfcc at mainbus
119 file arch/amiga/dev/grf_cc.c grfcc needs-flag
120 file arch/amiga/dev/ite_cc.c grfcc & ite
121
122 # wscons interface to custom chips
123 device amidisplaycc: wsemuldisplaydev
124 attach amidisplaycc at mainbus
125 file arch/amiga/dev/amidisplaycc.c amidisplaycc needs-flag
126
127 include "dev/wscons/files.wscons"
128
129 defpseudo view
130 file arch/amiga/dev/view.c view | grfcc needs-count
131 file arch/amiga/dev/grfabs.c grfcc | view | amidisplaycc
132 file arch/amiga/dev/grfabs_cc.c grfcc | view | amidisplaycc
133 file arch/amiga/dev/grfabs_ccglb.c grfcc | view | amidisplaycc
134
135 # retina ZII grf (ite1 grf1)
136 device grfrt: grfbus
137 attach grfrt at zbus
138 file arch/amiga/dev/grf_rt.c grfrt needs-flag
139 file arch/amiga/dev/ite_rt.c grfrt & ite
140
141 # retina ZIII grf (ite2 grf2)
142 device grfrh: grfbus
143 attach grfrh at zbus
144 file arch/amiga/dev/grf_rh.c grfrh needs-flag
145 file arch/amiga/dev/ite_rh.c grfrh & ite
146
147 # cirrus grf (ite3 grf3)
148 device grfcl: grfbus
149 attach grfcl at zbus
150 file arch/amiga/dev/grf_cl.c grfcl needs-flag
151 file arch/amiga/dev/ite_cl.c grfcl & ite
152
153 # A2410 grf (ite4 grf4)
154 device grful: grfbus
155 attach grful at zbus
156 file arch/amiga/dev/grf_ul.c grful needs-flag
157 file arch/amiga/dev/ite_ul.c grful & ite
158 file arch/amiga/dev/grf_ultms.c grful
159
160 # CyberVison 64 grf (ite5 grf5)
161 device grfcv: grfbus
162 attach grfcv at zbus
163 file arch/amiga/dev/grf_cv.c grfcv needs-flag
164 file arch/amiga/dev/ite_cv.c grfcv & ite
165
166 # Tseng grf (ite6 grf6)
167 device grfet: grfbus
168 attach grfet at zbus
169 file arch/amiga/dev/grf_et.c grfet needs-flag
170 file arch/amiga/dev/ite_et.c grfet & ite
171
172 # CyberVison 64/3D grf (ite7 grf7)
173 device grfcv3d: grfbus
174 attach grfcv3d at zbus
175 file arch/amiga/dev/grf_cv3d.c grfcv3d needs-flag
176 file arch/amiga/dev/ite_cv3d.c grfcv3d & ite
177
178 # device defined in sys/conf/files
179 # A2065, Ameristar, Ariadne ethernet cards
180 attach le at zbus with le_zbus: le24
181 file arch/amiga/dev/if_le.c le_zbus needs-flag
182
183 # AriadneII ethernet card
184 # device defined in sys/conf/files
185 attach ne at zbus with ne_zbus: rtl80x9
186 file arch/amiga/dev/if_ne_zbus.c ne_zbus needs-flag
187
188 # Hydra ethernet card
189 device ed: ifnet, ether, arp
190 attach ed at zbus with ed_zbus
191 file arch/amiga/dev/if_ed.c ed_zbus needs-flag
192
193 # C=/Ameristar A2060 / 560
194 attach bah at zbus with bah_zbus
195 file arch/amiga/dev/if_bah_zbus.c bah_zbus
196
197 # CEI A4066 EthernetPLUS
198 device es: ifnet, ether, arp
199 attach es at zbus
200 file arch/amiga/dev/if_es.c es needs-flag
201
202 # Quicknet ethernet card
203 device qn: ifnet, ether, arp
204 attach qn at zbus
205 file arch/amiga/dev/if_qn.c qn needs-flag
206
207 # A2232 msc serial ports
208 device msc: tty
209 attach msc at zbus
210 file arch/amiga/dev/msc.c msc needs-count
211
212 # bsc/Alf Data MultiFaceCard
213 device mfc { unit = -1 }
214 attach mfc at zbus
215
216 device mfcs: tty
217 attach mfcs at mfc
218 device mfcp
219 attach mfcp at mfc
220 file arch/amiga/dev/mfc.c mfcs | mfcp needs-count
221
222 # direct bus ISA-chip i/o
223 define supio {port = -1}
224
225 # DraCo superio chip
226
227 device drsupio: supio
228 attach drsupio at mainbus
229 file arch/amiga/dev/drsupio.c drsupio
230
231 # ZBus HyperComs: HyperCom Z3, HyperCom 4
232 device hyper: supio
233 attach hyper at zbus
234 file arch/amiga/dev/hyper.c hyper
235
236 attach com at supio with com_supio
237 file arch/amiga/dev/com_supio.c com_supio
238
239 # ISDN Blaster, ISDN Master
240 device aster: supio
241 attach aster at zbus
242 file arch/amiga/dev/aster.c aster
243
244 # handle gvp's odd autoconf info..
245 device gvpbus {}
246 attach gvpbus at zbus
247 file arch/amiga/dev/gvpbus.c gvpbus
248
249 device lpt
250 file dev/ic/lpt.c lpt needs-flag
251
252 attach lpt at supio with lpt_supio
253 file arch/amiga/dev/lpt_supio.c lpt_supio
254
255 include "dev/scsipi/files.scsipi"
256
257 # wd 33c93 contrllers
258 define sbic
259 file arch/amiga/dev/sbic.c sbic
260
261 # GVP series II
262 device gtsc: scsi, sbic
263 attach gtsc at gvpbus
264 file arch/amiga/dev/gtsc.c gtsc needs-flag
265
266 # Amiga 3000 internal
267 device ahsc: scsi, sbic
268 attach ahsc at mainbus
269 file arch/amiga/dev/ahsc.c ahsc needs-flag
270
271 # C= A2091
272 device atzsc: scsi, sbic
273 attach atzsc at zbus
274 file arch/amiga/dev/atzsc.c atzsc needs-flag
275
276 # ncr 5380 controllers
277 define sci
278 file arch/amiga/dev/sci.c sci
279
280 # Supra Wordsync II
281 device wstsc: scsi, sci
282 attach wstsc at zbus
283 file arch/amiga/dev/wstsc.c wstsc needs-flag
284
285 # IVS
286 device ivsc: scsi, sci
287 attach ivsc at zbus
288 file arch/amiga/dev/ivsc.c ivsc needs-flag
289
290 # MLH
291 device mlhsc: scsi, sci
292 attach mlhsc at zbus
293 file arch/amiga/dev/mlhsc.c mlhsc needs-flag
294
295 # CSA twelve gauge.
296 device otgsc: scsi, sci
297 attach otgsc at zbus
298 file arch/amiga/dev/otgsc.c otgsc needs-flag
299
300 # ncr 57c710 controllers
301 define asiop
302 file arch/amiga/dev/siop.c asiop
303
304 # PPI Zeus
305 device zssc: scsi, asiop
306 attach zssc at zbus
307 file arch/amiga/dev/zssc.c zssc needs-flag
308
309 # CSA Magnum
310 device mgnsc: scsi, asiop
311 attach mgnsc at zbus
312 file arch/amiga/dev/mgnsc.c mgnsc needs-flag
313
314 # MacroSystems USA Warp Engine
315 device wesc: scsi, asiop
316 attach wesc at zbus
317 file arch/amiga/dev/wesc.c wesc needs-flag
318
319 # C= A4091 & A4000T
320 device afsc: scsi, asiop
321 attach afsc at zbus
322 device aftsc: scsi, asiop
323 attach aftsc at mainbus
324 file arch/amiga/dev/afsc.c afsc | aftsc needs-flag
325
326 # ncr 57c720/770 controllers
327 define siopng
328 file arch/amiga/dev/siop2.c siopng
329
330 # CyberStorm MKIII scsi
331 device cbiiisc: scsi, siopng
332 attach cbiiisc at zbus
333 file arch/amiga/dev/cbiiisc.c cbiiisc needs-flag
334
335 # Emulex ESP216 & FAS216 controllers
336
337 # FastlaneZ3
338 device flsc: scsi, ncr53c9x
339 attach flsc at zbus
340 file arch/amiga/dev/flsc.c flsc needs-flag
341
342 # Blizzard1230-I,II
343 device bzsc: scsi, ncr53c9x
344 attach bzsc at zbus
345 file arch/amiga/dev/bzsc.c bzsc needs-flag
346
347 # Blizzard12x0-IV
348 device bzivsc: scsi, ncr53c9x
349 attach bzivsc at zbus
350 file arch/amiga/dev/bzivsc.c bzivsc needs-flag
351
352 # Blizzard2060 scsi
353 device bztzsc: scsi, ncr53c9x
354 attach bztzsc at zbus
355 file arch/amiga/dev/bztzsc.c bztzsc needs-flag
356
357 # CyberSCSI [I] scsi
358 device cbsc: scsi, ncr53c9x
359 attach cbsc at zbus
360 file arch/amiga/dev/cbsc.c cbsc needs-flag
361
362 # CyberSCSI MKII scsi
363 device cbiisc: scsi, ncr53c9x
364 attach cbiisc at zbus
365 file arch/amiga/dev/cbiisc.c cbiisc needs-flag
366
367 # EMPLANT
368 device empsc: scsi, sci
369 attach empsc at zbus
370 file arch/amiga/dev/empsc.c empsc needs-flag
371
372 # Amiga 4000/1200 IDE masquerading as SCSI
373 device idesc: scsi
374 attach idesc at mainbus
375 file arch/amiga/dev/idesc.c idesc needs-flag
376
377 # MacroSystem DraCo internal
378 device drsc: scsi, asiop
379 attach drsc at mainbus
380 file arch/amiga/dev/drsc.c drsc needs-flag
381
382 # MacroSystem DraCo internal DS2404 hwc
383 device drbbc
384 attach drbbc at mainbus
385 file arch/amiga/dev/drbbc.c drbbc
386
387 # list of standard files...
388
389 file dev/cons.c ite | ser
390 file dev/cninit.c ite | ser
391 file arch/amigappc/amigappc/amiga_init.c
392 file arch/amiga/amiga/autoconf.c
393 file arch/amiga/amiga/busfuncs.c
394 file arch/amiga/amiga/cia.c
395 file arch/amiga/amiga/conf.c
396 file arch/amiga/amiga/disksubr.c
397 file arch/amiga/amiga/dkbad.c
398 file arch/amigappc/amigappc/machdep.c
399 file arch/amiga/amiga/cc.c
400 file arch/amiga/dev/md_root.c memory_disk_hooks
401 #file arch/m68k/m68k/cacheops.c
402
403 define gayle
404 file arch/amiga/amiga/gayle.c gayle
405
406 include "dev/ata/files.ata"
407
408 # Amiga 4000/1200 IDE using MI wdc
409 attach wdc at mainbus with wdc_amiga: gayle
410 file arch/amiga/dev/wdc_amiga.c wdc_amiga
411
412 include "arch/amiga/conf/majors.amiga"
413