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