xref: /netbsd/sys/arch/x68k/conf/files.x68k (revision c4a72b64)
1#	$NetBSD: files.x68k,v 1.53 2002/12/01 09:00:36 isaki Exp $
2#
3# new style config file for x68k architecture
4#
5
6defflag				FPU_EMULATE
7defflag				M060SP
8
9defflag	opt_m680x0.h		M68020 M68030 M68040 M68060
10
11defflag				JUPITER
12defflag				PANICBUTTON
13defflag	opt_extmem.h		EXTENDED_MEMORY
14
15# maxpartitions must be first item in files.${ARCH}.newconf
16maxpartitions 8
17
18maxusers 2 16 64
19
20device	mainbus {}
21attach	mainbus at root
22
23device	cpu
24attach	cpu at mainbus
25
26define	event {}
27file	arch/x68k/dev/event.c		event
28
29file	arch/x68k/x68k/x68k_init.c
30file	arch/x68k/x68k/autoconf.c
31file	arch/x68k/x68k/conf.c
32file	arch/x68k/x68k/disksubr.c	disk
33file	arch/x68k/x68k/machdep.c
34file	arch/x68k/x68k/mem.c
35file	arch/x68k/x68k/pmap_bootstrap.c	compile-with "${NOPROF_C}"
36file	arch/x68k/x68k/procfs_machdep.c	procfs
37file	arch/x68k/x68k/trap.c
38file	arch/x68k/x68k/fpu.c
39file	arch/x68k/x68k/bus.c
40file	arch/m68k/m68k/cacheops.c
41file	arch/m68k/m68k/db_memrw.c	ddb
42file	arch/m68k/m68k/pmap_motorola.c
43file	arch/m68k/m68k/sys_machdep.c
44file	arch/m68k/m68k/vm_machdep.c
45
46file	dev/cons.c
47file	dev/cninit.c
48
49# Emulation modules
50# 6888x emulator (FPU_EMULATE)
51include "arch/m68k/fpe/files.fpe"
52
53# 68060 software support package
54include "arch/m68k/060sp/files.060sp"
55
56device	xcom: tty
57attach	xcom at mainbus
58file	arch/x68k/dev/com.c		xcom needs-count
59
60# graphic devices
61define	grfb {}
62
63device	grfbus: grfb
64attach	grfbus at mainbus
65
66device	grf {}
67attach	grf at grfb
68file	arch/x68k/dev/grf.c		grf needs-count
69file	arch/x68k/dev/grf_conf.c	grf|ite
70file	arch/x68k/dev/grf_machdep.c	grf|ite
71file	arch/x68k/dev/grf_tv.c		grf|ite
72file	arch/x68k/dev/grf_gv.c		grf|ite
73
74defparam opt_ite.h	ITE_KERNEL_ATTR
75device	ite: tty
76attach	ite at grf
77file	arch/x68k/dev/ite.c		ite needs-flag
78file	arch/x68k/dev/ite_tv.c		grf|ite
79file	arch/x68k/dev/kbdmap.c		ite
80
81device	intio {[addr = -1], [intr = -1], [dma = -1], [dmaintr = -1]}
82attach	intio at mainbus
83file	arch/x68k/dev/intio.c		intio
84
85device	xel
86attach	xel at intio
87file	arch/x68k/dev/xel.c		xel
88
89device	mfp {}
90attach	mfp at intio
91file	arch/x68k/dev/mfp.c		mfp
92
93device clock
94attach	clock at mfp
95file	arch/x68k/x68k/clock.c		clock needs-flag
96
97device kbd: event
98attach	kbd at mfp
99file	arch/x68k/dev/kbd.c		kbd needs-flag
100
101device rtc
102attach	rtc at intio
103file	arch/x68k/dev/rtclock.c		rtc
104file	dev/clock_subr.c		rtc
105
106device dmac
107attach	dmac at intio
108file	arch/x68k/dev/intio_dmac.c	dmac needs-flag
109
110defflag	opt_zsc.h	ZSCONSOLE
111defparam opt_zsc.h	ZSCN_SPEED
112device zsc {channel = -1}
113attach zsc at intio
114file arch/x68k/dev/zs.c			zsc needs-flag
115file dev/ic/z8530sc.c			zsc
116
117device zstty: tty
118attach zstty at zsc
119file dev/ic/z8530tty.c			zstty needs-flag
120
121device ms: event
122attach ms at zsc
123file arch/x68k/dev/ms.c			ms needs-flag
124
125device	neptune {[addr = -1]}
126attach	neptune at intio
127file	arch/x68k/dev/neptune.c		neptune
128
129attach	ne at neptune with ne_neptune: rtl80x9
130file	arch/x68k/dev/if_ne_neptune.c	ne_neptune
131
132device	opm
133attach	opm at intio
134file	arch/x68k/dev/opm.c		opm
135
136device	vs: audiobus, auconv, mulaw, msm6258
137attach	vs at intio
138file	arch/x68k/dev/vs.c		vs needs-flag
139
140device	fdc { unit = -1 }
141attach	fdc at intio
142
143device	fd: disk
144attach	fd at fdc
145file	arch/x68k/dev/fd.c		fd needs-flag
146
147device	par
148attach	par at intio
149file	arch/x68k/dev/par.c		par needs-flag
150
151#
152# SCSI drivers
153#
154include "dev/scsipi/files.scsipi"
155
156device scsirom {}
157attach	scsirom at intio
158file	arch/x68k/dev/scsirom.c		scsirom
159
160device	spc: scsi
161attach	spc at scsirom with spc_intio
162file	arch/x68k/dev/spc.c		spc_intio needs-flag
163file	dev/ic/mb89352.c		spc
164
165device	mha: scsi
166attach	mha at scsirom
167file	arch/x68k/dev/mha.c		mha needs-flag
168
169defpseudo bell
170file	arch/x68k/dev/opmbell.c		bell needs-flag
171
172defpseudo sram
173file	arch/x68k/dev/sram.c		sram needs-flag
174defpseudo pow
175file	arch/x68k/dev/pow.c		pow needs-count
176
177# Nereid Ethernet
178attach	ne at intio with ne_intio: rtl80x9
179file	arch/x68k/dev/if_ne_intio.c	ne_intio
180
181# Nereid USB
182attach	slhci at intio with slhci_intio
183file	arch/x68k/dev/slhci_intio.c	slhci_intio
184
185# Nereid Bank Memory Disk
186device	bmd
187attach	bmd at intio
188file	arch/x68k/dev/bmd.c		bmd needs-flag
189
190# memory disk
191file	dev/md_root.c			memory_disk_hooks
192
193# NetBSD m68k a.out Binary Compatibility (COMPAT_AOUT_M68K)
194include "compat/aoutm68k/files.aoutm68k"
195
196# SunOS Binary Compatibility (COMPAT_SUNOS)
197include	"compat/sunos/files.sunos"
198file	arch/m68k/m68k/sunos_machdep.c	compat_sunos
199
200# SVR4 Binary Compatibility (COMPAT_SVR4)
201include "compat/svr4/files.svr4"
202
203# Linux binary compatibility (COMPAT_LINUX)
204include "compat/linux/files.linux"
205include "compat/linux/arch/m68k/files.linux_m68k"
206file arch/m68k/m68k/linux_trap.c	compat_linux
207
208# OSS audio driver compatibility
209include "compat/ossaudio/files.ossaudio"
210
211# USB support
212include "dev/usb/files.usb"
213
214include "arch/x68k/conf/majors.x68k"
215