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