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