files.amiga revision 1.87
1#	$NetBSD: files.amiga,v 1.87 1999/06/07 20:31:28 thorpej 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	{cd = 7}
241
242# wd 33c93 contrllers
243define	sbic 
244file	arch/amiga/dev/sbic.c		sbic
245
246# GVP series II
247device	gtsc: scsi, sbic
248attach	gtsc at gvpbus
249file	arch/amiga/dev/gtsc.c		gtsc needs-flag
250
251# Amiga 3000 internal
252device	ahsc: scsi, sbic
253attach	ahsc at mainbus
254file	arch/amiga/dev/ahsc.c		ahsc needs-flag
255
256# C= A2091
257device atzsc: scsi, sbic
258attach atzsc at zbus
259file	arch/amiga/dev/atzsc.c		atzsc needs-flag
260
261# ncr 5380 controllers
262define	sci
263file	arch/amiga/dev/sci.c		sci
264
265# Supra Wordsync II
266device	wstsc: scsi, sci
267attach	wstsc at zbus
268file	arch/amiga/dev/wstsc.c		wstsc needs-flag
269
270# IVS 
271device	ivsc: scsi, sci
272attach	ivsc at zbus
273file	arch/amiga/dev/ivsc.c		ivsc needs-flag
274
275# MLH
276device	mlhsc: scsi, sci
277attach	mlhsc at zbus
278file	arch/amiga/dev/mlhsc.c		mlhsc needs-flag
279
280# CSA twelve gauge.
281device	otgsc: scsi, sci
282attach	otgsc at zbus
283file	arch/amiga/dev/otgsc.c		otgsc needs-flag
284
285# ncr 57c710 controllers
286define	siop
287file	arch/amiga/dev/siop.c		siop
288
289# PPI Zeus
290device	zssc: scsi, siop
291attach	zssc at zbus
292file	arch/amiga/dev/zssc.c		zssc needs-flag
293
294# CSA Magnum
295device	mgnsc: scsi, siop
296attach	mgnsc at zbus
297file	arch/amiga/dev/mgnsc.c		mgnsc needs-flag
298
299# MacroSystems USA Warp Engine
300device	wesc: scsi, siop
301attach	wesc at zbus
302file	arch/amiga/dev/wesc.c		wesc needs-flag
303
304# C= A4091 & A4000T
305device	afsc: scsi, siop
306attach	afsc at zbus
307device	aftsc: scsi, siop
308attach	aftsc at mainbus
309file	arch/amiga/dev/afsc.c		afsc | aftsc needs-flag
310
311# ncr 57c720/770 controllers
312define	siopng
313file	arch/amiga/dev/siop2.c		siopng
314
315# CyberStorm MKIII scsi
316device	cbiiisc: scsi, siopng
317attach	cbiiisc at zbus
318file	arch/amiga/dev/cbiiisc.c	cbiiisc needs-flag
319
320# Emulex ESP216 & FAS216 controllers
321
322# FastlaneZ3
323device	flsc: scsi, ncr53c9x
324attach	flsc at zbus
325file	arch/amiga/dev/flsc.c		flsc needs-flag
326
327# Blizzard1230-I,II
328device	bzsc: scsi, ncr53c9x
329attach	bzsc at zbus
330file	arch/amiga/dev/bzsc.c		bzsc needs-flag
331
332# Blizzard12x0-IV
333device	bzivsc: scsi, ncr53c9x
334attach	bzivsc at zbus
335file	arch/amiga/dev/bzivsc.c		bzivsc needs-flag
336
337# Blizzard2060 scsi
338device	bztzsc: scsi, ncr53c9x
339attach	bztzsc at zbus
340file	arch/amiga/dev/bztzsc.c		bztzsc needs-flag
341
342# CyberSCSI [I] scsi
343device	cbsc: scsi, ncr53c9x
344attach	cbsc at zbus
345file	arch/amiga/dev/cbsc.c		cbsc needs-flag
346
347# CyberSCSI MKII scsi
348device	cbiisc: scsi, ncr53c9x
349attach	cbiisc at zbus
350file	arch/amiga/dev/cbiisc.c		cbiisc needs-flag
351
352# EMPLANT
353device	empsc: scsi, sci
354attach	empsc at zbus
355file	arch/amiga/dev/empsc.c		empsc needs-flag
356
357# Amiga 4000/1200 IDE masquerading as SCSI
358device	idesc: scsi
359attach	idesc at mainbus
360file	arch/amiga/dev/idesc.c		idesc needs-flag
361
362# MacroSystem DraCo internal
363device	drsc: scsi, siop
364attach	drsc at mainbus
365file  arch/amiga/dev/drsc.c           drsc needs-flag
366
367# MacroSystem DraCo internal DS2404 hwc
368device	drbbc
369attach	drbbc at mainbus
370file	arch/amiga/dev/drbbc.c		drbbc
371
372# list of standard files...
373include	"arch/m68k/fpe/files.fpe"
374
375# list of standard files...
376include	"arch/m68k/060sp/files.060sp"
377
378file	dev/cons.c			ite | ser
379file	dev/cninit.c			ite | ser
380file	arch/amiga/amiga/amiga_init.c
381file	arch/amiga/amiga/autoconf.c
382file	arch/amiga/amiga/busfuncs.c
383file	arch/amiga/amiga/cia.c
384file	arch/amiga/amiga/conf.c
385file	arch/amiga/amiga/disksubr.c
386file	arch/amiga/amiga/dkbad.c
387file	arch/amiga/amiga/machdep.c
388file	arch/amiga/amiga/mem.c
389file	arch/amiga/amiga/pmap.c
390file	arch/amiga/amiga/sys_machdep.c
391file	arch/amiga/amiga/trap.c
392file	arch/amiga/amiga/vm_machdep.c
393file	arch/amiga/amiga/cc.c
394file	arch/amiga/amiga/db_memrw.c	ddb
395file	arch/amiga/dev/md_root.c		memory_disk_hooks
396
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# SVR4 Binary Compatibility (COMPAT_SVR4)
406include "compat/svr4/files.svr4"
407
408# Linux binary compatibility (COMPAT_LINUX)
409include "compat/linux/files.linux"
410include "compat/linux/arch/m68k/files.linux_m68k"
411
412# OSS audio driver compatibility
413include "compat/ossaudio/files.ossaudio"
414