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