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