files.x68k revision 1.67
1#	$NetBSD: files.x68k,v 1.67 2008/12/20 13:20:59 isaki 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/trap.c
36file	arch/x68k/x68k/fpu.c
37file	arch/x68k/x68k/bus.c
38file	arch/m68k/m68k/cacheops.c
39file	arch/m68k/m68k/db_memrw.c	ddb
40file	arch/m68k/m68k/pmap_motorola.c
41file	arch/m68k/m68k/procfs_machdep.c	procfs
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 { addr = -1 }
61
62device	grfbus: grfb
63attach	grfbus at mainbus
64
65device	grf { grfaddr = -1 }
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 pow: sysmon_power, sysmon_taskq
101attach	pow at mfp
102file	arch/x68k/dev/pow.c		pow
103
104device rtc
105attach	rtc at intio
106file	arch/x68k/dev/rtclock.c		rtc
107
108device dmac
109attach	dmac at intio
110file	arch/x68k/dev/intio_dmac.c	dmac needs-flag
111
112defflag	opt_zsc.h	ZSCONSOLE
113defparam opt_zsc.h	ZSCN_SPEED
114device zsc {channel = -1}
115attach zsc at intio
116file arch/x68k/dev/zs.c			zsc needs-flag
117file dev/ic/z8530sc.c			zsc
118
119device zstty: tty
120attach zstty at zsc
121file dev/ic/z8530tty.c			zstty needs-flag
122
123device ms: event
124attach ms at zsc
125file arch/x68k/dev/ms.c			ms needs-flag
126
127device	neptune {[addr = -1]}
128attach	neptune at intio
129file	arch/x68k/dev/neptune.c		neptune
130
131attach	ne at neptune with ne_neptune: rtl80x9
132file	arch/x68k/dev/if_ne_neptune.c	ne_neptune
133
134device	opm
135attach	opm at intio
136file	arch/x68k/dev/opm.c		opm
137
138device	vs: audiobus, auconv, mulaw, msm6258
139attach	vs at intio
140file	arch/x68k/dev/vs.c		vs needs-flag
141
142device	fdc { unit = -1 }
143attach	fdc at intio
144
145device	fd: disk
146attach	fd at fdc
147file	arch/x68k/dev/fd.c		fd needs-flag
148
149device	par
150attach	par at intio
151file	arch/x68k/dev/par.c		par needs-flag
152
153#
154# SCSI drivers
155#
156include "dev/scsipi/files.scsipi"
157
158device scsirom {}
159attach	scsirom at intio
160file	arch/x68k/dev/scsirom.c		scsirom
161
162attach	spc at scsirom with spc_intio
163file	arch/x68k/dev/spc.c		spc_intio needs-flag
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
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