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