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