files.amigappc revision 1.17
1#	$NetBSD: files.amigappc,v 1.17 2004/01/20 19:58:00 jdolecek 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_custom.c	kfont_custom
107file	arch/amiga/dev/kf_iso8859_1_8x8.c	kfont_cons_iso8859_1 &
108	( ite | amidisplaycc )
109file	arch/amiga/dev/kf_iso8859_1_8x11.c	kfont_cons_iso8859_1 &
110	kfont_8x11
111file	arch/amiga/dev/kf_iso8859_2_8x8.c	kfont_cons_iso8859_2 &
112	( ite | amidisplaycc )
113file	arch/amiga/dev/kf_iso8859_2_8x11.c	kfont_cons_iso8859_2 &
114	kfont_8x11
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
122# wscons interface to custom chips
123device	amidisplaycc: wsemuldisplaydev
124attach	amidisplaycc at mainbus
125file	arch/amiga/dev/amidisplaycc.c	amidisplaycc needs-flag
126
127include "dev/wscons/files.wscons"
128
129defpseudo	view
130file	arch/amiga/dev/view.c		view | grfcc needs-count
131file	arch/amiga/dev/grfabs.c		grfcc | view | amidisplaycc
132file	arch/amiga/dev/grfabs_cc.c	grfcc | view | amidisplaycc
133file	arch/amiga/dev/grfabs_ccglb.c	grfcc | view | amidisplaycc
134
135# retina ZII grf (ite1 grf1)
136device	grfrt: grfbus
137attach	grfrt at zbus
138file	arch/amiga/dev/grf_rt.c		grfrt needs-flag
139file	arch/amiga/dev/ite_rt.c		grfrt & ite
140
141# retina ZIII grf (ite2 grf2)
142device	grfrh: grfbus
143attach	grfrh at zbus
144file	arch/amiga/dev/grf_rh.c		grfrh needs-flag
145file	arch/amiga/dev/ite_rh.c		grfrh & ite
146
147# cirrus grf (ite3 grf3)
148device	grfcl: grfbus
149attach	grfcl at zbus
150file	arch/amiga/dev/grf_cl.c		grfcl needs-flag
151file	arch/amiga/dev/ite_cl.c		grfcl & ite
152
153# A2410 grf (ite4 grf4)
154device	grful: grfbus
155attach	grful at zbus
156file	arch/amiga/dev/grf_ul.c		grful needs-flag
157file	arch/amiga/dev/ite_ul.c		grful & ite
158file	arch/amiga/dev/grf_ultms.c	grful
159
160# CyberVison 64 grf (ite5 grf5)
161device	grfcv: grfbus
162attach	grfcv at zbus
163file	arch/amiga/dev/grf_cv.c		grfcv needs-flag
164file	arch/amiga/dev/ite_cv.c		grfcv & ite
165
166# Tseng grf (ite6 grf6)
167device	grfet: grfbus
168attach	grfet at zbus
169file	arch/amiga/dev/grf_et.c		grfet needs-flag
170file	arch/amiga/dev/ite_et.c		grfet & ite
171
172# CyberVison 64/3D grf (ite7 grf7)
173device	grfcv3d: grfbus
174attach	grfcv3d at zbus
175file	arch/amiga/dev/grf_cv3d.c	grfcv3d needs-flag
176file	arch/amiga/dev/ite_cv3d.c	grfcv3d & ite
177
178# device defined in sys/conf/files
179# A2065, Ameristar, Ariadne ethernet cards
180attach	le at zbus with le_zbus: le24
181file	arch/amiga/dev/if_le.c		le_zbus needs-flag
182
183# AriadneII ethernet card
184# device defined in sys/conf/files
185attach	ne at zbus with ne_zbus: rtl80x9
186file	arch/amiga/dev/if_ne_zbus.c	ne_zbus needs-flag
187
188# Hydra ethernet card
189device	ed: ifnet, ether, arp
190attach	ed at zbus with ed_zbus
191file	arch/amiga/dev/if_ed.c		ed_zbus needs-flag
192
193# C=/Ameristar A2060 / 560
194attach	bah at zbus with bah_zbus
195file	arch/amiga/dev/if_bah_zbus.c	bah_zbus
196
197# CEI A4066 EthernetPLUS
198device	es: ifnet, ether, arp
199attach	es at zbus
200file	arch/amiga/dev/if_es.c		es needs-flag
201
202# Quicknet ethernet card
203device	qn: ifnet, ether, arp
204attach	qn at zbus
205file	arch/amiga/dev/if_qn.c		qn needs-flag
206
207# A2232 msc serial ports
208device	msc: tty
209attach	msc at zbus
210file	arch/amiga/dev/msc.c		msc needs-count
211
212# bsc/Alf Data MultiFaceCard
213device	mfc { unit = -1 }
214attach	mfc at zbus
215
216device	mfcs: tty
217attach	mfcs at mfc
218device	mfcp
219attach	mfcp at mfc
220file	arch/amiga/dev/mfc.c		mfcs | mfcp needs-count
221
222# direct bus ISA-chip i/o
223define	supio {port = -1}
224
225# DraCo superio chip
226
227device	drsupio: supio
228attach	drsupio at mainbus
229file	arch/amiga/dev/drsupio.c	drsupio
230
231# ZBus HyperComs: HyperCom Z3, HyperCom 4
232device	hyper: supio
233attach	hyper at zbus
234file	arch/amiga/dev/hyper.c		hyper
235
236attach	com at supio with com_supio
237file	arch/amiga/dev/com_supio.c	com_supio
238
239# ISDN Blaster, ISDN Master
240device	aster: supio
241attach	aster at zbus
242file	arch/amiga/dev/aster.c		aster
243
244# handle gvp's odd autoconf info..
245device	gvpbus {}
246attach	gvpbus at zbus
247file	arch/amiga/dev/gvpbus.c		gvpbus
248
249attach	lpt at supio with lpt_supio
250file	arch/amiga/dev/lpt_supio.c	lpt_supio
251
252include "dev/scsipi/files.scsipi"
253
254# wd 33c93 contrllers
255define	sbic
256file	arch/amiga/dev/sbic.c		sbic
257
258# GVP series II
259device	gtsc: scsi, sbic
260attach	gtsc at gvpbus
261file	arch/amiga/dev/gtsc.c		gtsc needs-flag
262
263# Amiga 3000 internal
264device	ahsc: scsi, sbic
265attach	ahsc at mainbus
266file	arch/amiga/dev/ahsc.c		ahsc needs-flag
267
268# C= A2091
269device atzsc: scsi, sbic
270attach atzsc at zbus
271file	arch/amiga/dev/atzsc.c		atzsc needs-flag
272
273# ncr 5380 controllers
274define	sci
275file	arch/amiga/dev/sci.c		sci
276
277# Supra Wordsync II
278device	wstsc: scsi, sci
279attach	wstsc at zbus
280file	arch/amiga/dev/wstsc.c		wstsc needs-flag
281
282# IVS
283device	ivsc: scsi, sci
284attach	ivsc at zbus
285file	arch/amiga/dev/ivsc.c		ivsc needs-flag
286
287# MLH
288device	mlhsc: scsi, sci
289attach	mlhsc at zbus
290file	arch/amiga/dev/mlhsc.c		mlhsc needs-flag
291
292# CSA twelve gauge.
293device	otgsc: scsi, sci
294attach	otgsc at zbus
295file	arch/amiga/dev/otgsc.c		otgsc needs-flag
296
297# ncr 57c710 controllers
298define	asiop
299file	arch/amiga/dev/siop.c		asiop
300
301# PPI Zeus
302device	zssc: scsi, asiop
303attach	zssc at zbus
304file	arch/amiga/dev/zssc.c		zssc needs-flag
305
306# CSA Magnum
307device	mgnsc: scsi, asiop
308attach	mgnsc at zbus
309file	arch/amiga/dev/mgnsc.c		mgnsc needs-flag
310
311# MacroSystems USA Warp Engine
312device	wesc: scsi, asiop
313attach	wesc at zbus
314file	arch/amiga/dev/wesc.c		wesc needs-flag
315
316# C= A4091 & A4000T
317device	afsc: scsi, asiop
318attach	afsc at zbus
319device	aftsc: scsi, asiop
320attach	aftsc at mainbus
321file	arch/amiga/dev/afsc.c		afsc | aftsc needs-flag
322
323# ncr 57c720/770 controllers
324define	siopng
325file	arch/amiga/dev/siop2.c		siopng
326
327# CyberStorm MKIII scsi
328device	cbiiisc: scsi, siopng
329attach	cbiiisc at zbus
330file	arch/amiga/dev/cbiiisc.c	cbiiisc needs-flag
331
332# Emulex ESP216 & FAS216 controllers
333
334# FastlaneZ3
335device	flsc: scsi, ncr53c9x
336attach	flsc at zbus
337file	arch/amiga/dev/flsc.c		flsc needs-flag
338
339# Blizzard1230-I,II
340device	bzsc: scsi, ncr53c9x
341attach	bzsc at zbus
342file	arch/amiga/dev/bzsc.c		bzsc needs-flag
343
344# Blizzard12x0-IV
345device	bzivsc: scsi, ncr53c9x
346attach	bzivsc at zbus
347file	arch/amiga/dev/bzivsc.c		bzivsc needs-flag
348
349# Blizzard2060 scsi
350device	bztzsc: scsi, ncr53c9x
351attach	bztzsc at zbus
352file	arch/amiga/dev/bztzsc.c		bztzsc needs-flag
353
354# CyberSCSI [I] scsi
355device	cbsc: scsi, ncr53c9x
356attach	cbsc at zbus
357file	arch/amiga/dev/cbsc.c		cbsc needs-flag
358
359# CyberSCSI MKII scsi
360device	cbiisc: scsi, ncr53c9x
361attach	cbiisc at zbus
362file	arch/amiga/dev/cbiisc.c		cbiisc needs-flag
363
364# EMPLANT
365device	empsc: scsi, sci
366attach	empsc at zbus
367file	arch/amiga/dev/empsc.c		empsc needs-flag
368
369# Amiga 4000/1200 IDE masquerading as SCSI
370device	idesc: scsi
371attach	idesc at mainbus
372file	arch/amiga/dev/idesc.c		idesc needs-flag
373
374# MacroSystem DraCo internal
375device	drsc: scsi, asiop
376attach	drsc at mainbus
377file	arch/amiga/dev/drsc.c		drsc needs-flag
378
379# MacroSystem DraCo internal DS2404 hwc
380device	drbbc
381attach	drbbc at mainbus
382file	arch/amiga/dev/drbbc.c		drbbc
383
384# list of standard files...
385
386file	dev/cons.c			ite | ser
387file	dev/cninit.c			ite | ser
388file	arch/amigappc/amigappc/amiga_init.c
389file	arch/amiga/amiga/autoconf.c
390file	arch/amiga/amiga/busfuncs.c
391file	arch/amiga/amiga/cia.c
392file	arch/amiga/amiga/conf.c
393file	arch/amiga/amiga/disksubr.c
394file	arch/amiga/amiga/dkbad.c
395file	arch/amigappc/amigappc/machdep.c
396file	arch/amiga/amiga/cc.c
397file	arch/amiga/dev/md_root.c		memory_disk_hooks
398#file	arch/m68k/m68k/cacheops.c
399
400define	gayle
401file	arch/amiga/amiga/gayle.c		gayle
402
403include "dev/ata/files.ata"
404
405# Amiga 4000/1200 IDE using MI wdc
406attach	wdc at mainbus with wdc_amiga: gayle
407file	arch/amiga/dev/wdc_amiga.c	wdc_amiga
408
409include "arch/amiga/conf/majors.amiga"
410