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