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