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