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