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