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