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