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