files.amiga revision 1.130
1#	$NetBSD: files.amiga,v 1.130 2003/07/14 15:53:46 aymeric Exp $
2
3# maxpartitions must be first item in files.${ARCH}.newconf
4maxpartitions 16			# NOTE THAT AMIGA IS SPECIAL!
5
6defflag	opt_m060sp.h		M060SP
7defflag				PANICBUTTON	# panic on kbd NMI if not DDB
8
9maxusers 2 8 64
10
11defflag	opt_amigaccgrf.h	GRF_NTSC
12defflag	opt_amigaccgrf.h	GRF_PAL	:GRF_NTSC	# temporary workaround
13defflag	opt_amigaccgrf.h	GRF_ECS GRF_AGA
14defflag	opt_amigaccgrf.h	GRF_A2024:GRF_ECS
15defflag	opt_amigaccgrf.h	GRF_AGA_VGA:GRF_AGA
16defflag	opt_amigaccgrf.h	GRF_SUPER72:GRF_AGA
17defflag	opt_amigaccgrf.h	USE_C_BFOPS
18
19defflag	opt_amigacons.h		RETINACONSOLE ULOWELLCONSOLE CL5426CONSOLE
20defflag	opt_amigacons.h		CV64CONSOLE CV3DCONSOLE TSENGCONSOLE
21defflag	opt_amigacons.h		CV3DONZORRO2
22defflag	opt_amigacons.h		SERCONSOLE
23
24defflag	opt_kfont.h		KFONT_CONS_ISO8859_1
25defflag	opt_kfont.h		KFONT_CONS_ISO8859_2
26
27defparam opt_retina.h		RH_MEMCLK
28defflag	opt_retina.h		RH_64BIT_SPRITE RH_HARDWARECURSOR
29defflag	opt_retina.h		RETINA_SPEED_HACK
30
31defflag				BB060STUPIDROM
32defflag				P5PPC68KBOARD
33defflag				LEV6_DEFER
34defflag				DEVRELOAD
35
36defparam			IOBZCLOCK
37
38device	mainbus {}
39attach	mainbus at root
40
41device	cpu
42attach	cpu at mainbus
43
44# for bus_space
45
46define	amibus_bl
47file	arch/amiga/amiga/amiga_bus_simple_4.c
48
49define	amibus_ww
50file	arch/amiga/amiga/amiga_bus_simple_2word.c
51
52define amibus_wb
53file	arch/amiga/amiga/amiga_bus_simple_1word.c
54
55define	amibus_b16
56file	arch/amiga/amiga/amiga_bus_simple_16.c	amibus_b16
57
58define	amibus_b800
59file	arch/amiga/amiga/amiga_bus_simple_0x800.c	amibus_b800
60
61# zorro expansion bus.
62device	zbus {}
63attach	zbus at mainbus
64file	arch/amiga/dev/zbus.c		zbus
65
66define	event {}
67file	arch/amiga/dev/event.c		event
68
69device	clock
70attach	clock at mainbus
71file	arch/amiga/dev/clock.c
72file	dev/clock_subr.c
73
74# A2000 internal hwc
75device	a2kbbc
76attach	a2kbbc at mainbus
77file	arch/amiga/dev/a2kbbc.c		a2kbbc
78
79# A3000/4000 internal hwc
80device	a34kbbc
81attach	a34kbbc at mainbus
82file	arch/amiga/dev/a34kbbc.c	a34kbbc
83
84# keyboard
85device	kbd: event,wskbddev
86attach	kbd at mainbus
87file	arch/amiga/dev/kbd.c		kbd needs-flag
88file	arch/amiga/dev/wskbdmap_amiga.c	kbd
89
90# serial port
91device	ser: tty
92attach	ser at mainbus
93file	arch/amiga/dev/ser.c		ser needs-count
94
95# parallel port
96device	par
97attach	par at mainbus
98file	arch/amiga/dev/par.c		par needs-count
99
100# audio
101device	aucc: audiobus
102attach	aucc at mainbus
103file	arch/amiga/dev/aucc.c		aucc needs-flag
104
105device	melody: audiobus, tms320av110
106attach	melody at zbus
107file	arch/amiga/dev/melody.c		melody
108
109device repulse: audiobus, ac97, mulaw
110attach	repulse at zbus
111file	arch/amiga/dev/repulse.c	repulse
112
113device toccata: audiobus, ad1848, auconv
114attach	toccata at zbus
115file	arch/amiga/dev/toccata.c	toccata
116
117# mouse
118device	ms: event
119attach	ms at mainbus
120file	arch/amiga/dev/ms.c		ms needs-flag
121
122# floppy
123device	fdc { unit = -1 }
124attach	fdc at mainbus
125
126device	fd: disk
127attach	fd at fdc
128file	arch/amiga/dev/fd.c		fd needs-flag
129
130# graphic devices
131define	grfbus {}
132
133device	grf {}
134attach	grf at grfbus
135file	arch/amiga/dev/grf.c		grf needs-count
136
137device	ite: tty
138attach	ite at grf
139file	arch/amiga/dev/ite.c		ite needs-flag
140file	arch/amiga/dev/kbdmap.c		ite
141file	arch/amiga/dev/kf_custom.c	kfont_custom
142file	arch/amiga/dev/kf_iso8859_1_8x8.c	kfont_cons_iso8859_1 &
143	( ite | amidisplaycc )
144file	arch/amiga/dev/kf_iso8859_1_8x11.c	kfont_cons_iso8859_1 &
145	kfont_8x11
146file	arch/amiga/dev/kf_iso8859_2_8x8.c	kfont_cons_iso8859_2 &
147	( ite | amidisplaycc )
148file	arch/amiga/dev/kf_iso8859_2_8x11.c	kfont_cons_iso8859_2 &
149	kfont_8x11
150
151# custom chips grf (ite0 grf0)
152device	grfcc: grfbus
153attach	grfcc at mainbus
154file	arch/amiga/dev/grf_cc.c		grfcc needs-flag
155file	arch/amiga/dev/ite_cc.c		grfcc & ite
156
157# wscons interface to custom chips
158device	amidisplaycc: wsemuldisplaydev
159attach	amidisplaycc at mainbus
160file	arch/amiga/dev/amidisplaycc.c	amidisplaycc needs-flag
161
162include "dev/wscons/files.wscons"
163include "dev/wsfont/files.wsfont"
164
165defpseudo	view
166file	arch/amiga/dev/view.c		view | grfcc needs-count
167file	arch/amiga/dev/grfabs.c		grfcc | view | amidisplaycc
168file	arch/amiga/dev/grfabs_cc.c	grfcc | view | amidisplaycc
169file	arch/amiga/dev/grfabs_ccglb.c	grfcc | view | amidisplaycc
170
171# retina ZII grf (ite1 grf1)
172device	grfrt: grfbus
173attach	grfrt at zbus
174file	arch/amiga/dev/grf_rt.c		grfrt needs-flag
175file	arch/amiga/dev/ite_rt.c		grfrt & ite
176
177# retina ZIII grf (ite2 grf2)
178device	grfrh: grfbus
179attach	grfrh at zbus
180file	arch/amiga/dev/grf_rh.c		grfrh needs-flag
181file	arch/amiga/dev/ite_rh.c		grfrh & ite
182
183# cirrus grf (ite3 grf3)
184device	grfcl: grfbus
185attach	grfcl at zbus
186file	arch/amiga/dev/grf_cl.c		grfcl needs-flag
187file	arch/amiga/dev/ite_cl.c		grfcl & ite
188
189# A2410 grf (ite4 grf4)
190device	grful: grfbus
191attach	grful at zbus
192file	arch/amiga/dev/grf_ul.c		grful needs-flag
193file	arch/amiga/dev/ite_ul.c		grful & ite
194file	arch/amiga/dev/grf_ultms.c	grful
195
196# CyberVison 64 grf (ite5 grf5)
197device	grfcv: grfbus
198attach	grfcv at zbus
199file	arch/amiga/dev/grf_cv.c		grfcv needs-flag
200file	arch/amiga/dev/ite_cv.c		grfcv & ite
201
202# Tseng grf (ite6 grf6)
203device	grfet: grfbus
204attach	grfet at zbus
205file	arch/amiga/dev/grf_et.c		grfet needs-flag
206file	arch/amiga/dev/ite_et.c		grfet & ite
207
208# CyberVison 64/3D grf (ite7 grf7)
209device	grfcv3d: grfbus
210attach	grfcv3d at zbus
211file	arch/amiga/dev/grf_cv3d.c	grfcv3d needs-flag
212file	arch/amiga/dev/ite_cv3d.c	grfcv3d & ite
213
214# device defined in sys/conf/files
215# A2065, Ameristar, Ariadne ethernet cards
216attach	le at zbus with le_zbus: le24
217file	arch/amiga/dev/if_le.c		le_zbus needs-flag
218
219# AriadneII ethernet card
220# device defined in sys/conf/files
221attach	ne at zbus with ne_zbus: rtl80x9
222file	arch/amiga/dev/if_ne_zbus.c	ne_zbus needs-flag
223
224# Hydra ethernet card
225device	ed: ifnet, ether, arp
226attach	ed at zbus with ed_zbus
227file	arch/amiga/dev/if_ed.c		ed_zbus needs-flag
228
229# C=/Ameristar A2060 / 560
230attach	bah at zbus with bah_zbus
231file	arch/amiga/dev/if_bah_zbus.c	bah_zbus
232
233# CEI A4066 EthernetPLUS
234device	es: ifnet, ether, arp
235attach	es at zbus
236file	arch/amiga/dev/if_es.c		es needs-flag
237
238# Quicknet ethernet card
239device	qn: ifnet, ether, arp
240attach	qn at zbus
241file	arch/amiga/dev/if_qn.c		qn needs-flag
242
243# A2232 msc serial ports
244device	msc: tty
245attach	msc at zbus
246file	arch/amiga/dev/msc.c		msc needs-count
247
248# bsc/Alf Data MultiFaceCard
249device	mfc { unit = -1 }
250attach	mfc at zbus
251
252device	mfcs: tty
253attach	mfcs at mfc
254device	mfcp
255attach	mfcp at mfc
256file	arch/amiga/dev/mfc.c		mfcs | mfcp needs-count
257
258# direct bus ISA-chip i/o
259define	supio {port = -1}
260
261# DraCo superio chip
262
263device	drsupio: supio
264attach	drsupio at mainbus
265file	arch/amiga/dev/drsupio.c	drsupio
266
267# ZBus HyperComs: HyperCom Z3, HyperCom 4
268device	hyper: supio
269attach	hyper at zbus
270file	arch/amiga/dev/hyper.c		hyper
271
272# IOBlix
273device	iobl: supio, amibus_b16
274attach	iobl at zbus with iobl_zbus
275file	arch/amiga/dev/ioblix_zbus.c	iobl_zbus
276
277
278attach	com at supio with com_supio
279file	arch/amiga/dev/com_supio.c	com_supio
280
281# ISDN Blaster, ISDN Master
282device	aster: supio
283attach	aster at zbus
284file	arch/amiga/dev/aster.c		aster
285
286attach	isic at supio with isic_supio
287file	arch/amiga/dev/isic_supio.c isic_supio
288
289# handle gvp's odd autoconf info..
290device	gvpbus {}
291attach	gvpbus at zbus
292file	arch/amiga/dev/gvpbus.c		gvpbus
293
294device	lpt
295file	dev/ic/lpt.c			lpt needs-flag
296
297attach	lpt at supio with lpt_supio
298file	arch/amiga/dev/lpt_supio.c	lpt_supio
299
300include "dev/scsipi/files.scsipi"
301
302# wd 33c93 contrllers
303define	sbic
304file	arch/amiga/dev/sbic.c		sbic
305
306# GVP series II
307device	gtsc: scsi, sbic
308attach	gtsc at gvpbus
309file	arch/amiga/dev/gtsc.c		gtsc needs-flag
310
311# Amiga 3000 internal
312device	ahsc: scsi, sbic
313attach	ahsc at mainbus
314file	arch/amiga/dev/ahsc.c		ahsc needs-flag
315
316# C= A2091
317device atzsc: scsi, sbic
318attach atzsc at zbus
319file	arch/amiga/dev/atzsc.c		atzsc needs-flag
320
321# ncr 5380 controllers
322define	sci
323file	arch/amiga/dev/sci.c		sci
324
325# Supra Wordsync II
326device	wstsc: scsi, sci
327attach	wstsc at zbus
328file	arch/amiga/dev/wstsc.c		wstsc needs-flag
329
330# IVS
331device	ivsc: scsi, sci
332attach	ivsc at zbus
333file	arch/amiga/dev/ivsc.c		ivsc needs-flag
334
335# MLH
336device	mlhsc: scsi, sci
337attach	mlhsc at zbus
338file	arch/amiga/dev/mlhsc.c		mlhsc needs-flag
339
340# CSA twelve gauge.
341device	otgsc: scsi, sci
342attach	otgsc at zbus
343file	arch/amiga/dev/otgsc.c		otgsc needs-flag
344
345# ncr 57c710 controllers
346define	asiop
347file	arch/amiga/dev/siop.c		asiop
348
349# PPI Zeus
350device	zssc: scsi, asiop
351attach	zssc at zbus
352file	arch/amiga/dev/zssc.c		zssc needs-flag
353
354# CSA Magnum
355device	mgnsc: scsi, asiop
356attach	mgnsc at zbus
357file	arch/amiga/dev/mgnsc.c		mgnsc needs-flag
358
359# MacroSystems USA Warp Engine
360device	wesc: scsi, asiop
361attach	wesc at zbus
362file	arch/amiga/dev/wesc.c		wesc needs-flag
363
364# C= A4091 & A4000T
365device	afsc: scsi, asiop
366attach	afsc at zbus
367device	aftsc: scsi, asiop
368attach	aftsc at mainbus
369file	arch/amiga/dev/afsc.c		afsc | aftsc needs-flag
370
371# ncr 57c720/770 controllers
372define	siopng
373file	arch/amiga/dev/siop2.c		siopng
374
375# CyberStorm MKIII scsi
376device	cbiiisc: scsi, siopng
377attach	cbiiisc at zbus
378file	arch/amiga/dev/cbiiisc.c	cbiiisc needs-flag
379
380# Emulex ESP216 & FAS216 controllers
381
382# FastlaneZ3
383device	flsc: scsi, ncr53c9x
384attach	flsc at zbus
385file	arch/amiga/dev/flsc.c		flsc needs-flag
386
387# Blizzard1230-I,II
388device	bzsc: scsi, ncr53c9x
389attach	bzsc at zbus
390file	arch/amiga/dev/bzsc.c		bzsc needs-flag
391
392# Blizzard12x0-IV
393device	bzivsc: scsi, ncr53c9x
394attach	bzivsc at zbus
395file	arch/amiga/dev/bzivsc.c		bzivsc needs-flag
396
397# Blizzard2060 scsi
398device	bztzsc: scsi, ncr53c9x
399attach	bztzsc at zbus
400file	arch/amiga/dev/bztzsc.c		bztzsc needs-flag
401
402# CyberSCSI [I] scsi
403device	cbsc: scsi, ncr53c9x
404attach	cbsc at zbus
405file	arch/amiga/dev/cbsc.c		cbsc needs-flag
406
407# CyberSCSI MKII scsi
408device	cbiisc: scsi, ncr53c9x
409attach	cbiisc at zbus
410file	arch/amiga/dev/cbiisc.c		cbiisc needs-flag
411
412# EMPLANT
413device	empsc: scsi, sci
414attach	empsc at zbus
415file	arch/amiga/dev/empsc.c		empsc needs-flag
416
417# Amiga 4000/1200 IDE masquerading as SCSI
418device	idesc: scsi
419attach	idesc at mainbus
420file	arch/amiga/dev/idesc.c		idesc needs-flag
421
422# MacroSystem DraCo internal
423device	drsc: scsi, asiop
424attach	drsc at mainbus
425file	arch/amiga/dev/drsc.c		drsc needs-flag
426
427# MacroSystem DraCo internal DS2404 hwc
428device	drbbc
429attach	drbbc at mainbus
430file	arch/amiga/dev/drbbc.c		drbbc
431
432# kernel floating point emulator
433include	"arch/m68k/fpe/files.fpe"
434
435# Motorola 68060 support package
436include	"arch/m68k/060sp/files.060sp"
437
438# list of standard files...
439
440file	dev/cons.c
441file	dev/cninit.c
442file	arch/amiga/amiga/amiga_init.c
443file	arch/amiga/amiga/autoconf.c
444file	arch/amiga/amiga/cia.c
445file	arch/amiga/amiga/conf.c
446file	arch/amiga/amiga/disksubr.c
447file	arch/amiga/amiga/dkbad.c
448file	arch/amiga/amiga/machdep.c
449file	arch/amiga/amiga/mem.c
450file	arch/amiga/amiga/pmap.c
451file	arch/amiga/amiga/procfs_machdep.c	procfs
452file	arch/amiga/amiga/trap.c
453file	arch/amiga/amiga/cc.c
454file	dev/md_root.c			memory_disk_hooks
455file	arch/m68k/m68k/cacheops.c
456file	arch/m68k/m68k/db_memrw.c	ddb
457file	arch/m68k/m68k/sys_machdep.c
458file	arch/m68k/m68k/vm_machdep.c
459
460define	gayle
461file	arch/amiga/amiga/gayle.c		gayle
462
463file	arch/amiga/dev/gayle_pcmcia.c		pccard
464device	pccard: pcmciabus, gayle
465attach	pccard at mainbus
466
467include "dev/pcmcia/files.pcmcia"
468
469include "dev/ata/files.ata"
470
471# Amiga 4000/1200 IDE using MI wdc
472attach	wdc at mainbus with wdc_amiga: gayle
473file	arch/amiga/dev/wdc_amiga.c	wdc_amiga
474
475# Compatibility modules
476
477# NetBSD m68k a.out Binary Compatibility (COMPAT_AOUT_M68K)
478include "compat/aoutm68k/files.aoutm68k"
479
480# SunOS Binary Compatibility (COMPAT_SUNOS)
481include "compat/sunos/files.sunos"
482file	arch/m68k/m68k/sunos_machdep.c	compat_sunos
483
484# SVR4 Binary Compatibility (COMPAT_SVR4)
485include "compat/svr4/files.svr4"
486
487# Linux binary compatibility (COMPAT_LINUX)
488include "compat/linux/files.linux"
489include "compat/linux/arch/m68k/files.linux_m68k"
490file arch/m68k/m68k/linux_trap.c		compat_linux
491
492# OSS audio driver compatibility
493include "compat/ossaudio/files.ossaudio"
494
495include "arch/amiga/conf/majors.amiga"
496