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