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