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