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