xref: /netbsd-src/sys/arch/x68k/conf/files.x68k (revision 7fa608457b817eca6e0977b37f758ae064f3c99c)
1#	$NetBSD: files.x68k,v 1.62 2007/03/04 02:08:08 tsutsui 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/softintr.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 { addr = -1 }
62
63device	grfbus: grfb
64attach	grfbus at mainbus
65
66device	grf { grfaddr = -1 }
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
104
105device dmac
106attach	dmac at intio
107file	arch/x68k/dev/intio_dmac.c	dmac needs-flag
108
109defflag	opt_zsc.h	ZSCONSOLE
110defparam opt_zsc.h	ZSCN_SPEED
111device zsc {channel = -1}
112attach zsc at intio
113file arch/x68k/dev/zs.c			zsc needs-flag
114file dev/ic/z8530sc.c			zsc
115
116device zstty: tty
117attach zstty at zsc
118file dev/ic/z8530tty.c			zstty needs-flag
119
120device ms: event
121attach ms at zsc
122file arch/x68k/dev/ms.c			ms needs-flag
123
124device	neptune {[addr = -1]}
125attach	neptune at intio
126file	arch/x68k/dev/neptune.c		neptune
127
128attach	ne at neptune with ne_neptune: rtl80x9
129file	arch/x68k/dev/if_ne_neptune.c	ne_neptune
130
131device	opm
132attach	opm at intio
133file	arch/x68k/dev/opm.c		opm
134
135device	vs: audiobus, auconv, mulaw, msm6258
136attach	vs at intio
137file	arch/x68k/dev/vs.c		vs needs-flag
138
139device	fdc { unit = -1 }
140attach	fdc at intio
141
142device	fd: disk
143attach	fd at fdc
144file	arch/x68k/dev/fd.c		fd needs-flag
145
146device	par
147attach	par at intio
148file	arch/x68k/dev/par.c		par needs-flag
149
150#
151# SCSI drivers
152#
153include "dev/scsipi/files.scsipi"
154
155device scsirom {}
156attach	scsirom at intio
157file	arch/x68k/dev/scsirom.c		scsirom
158
159attach	spc at scsirom with spc_intio
160file	arch/x68k/dev/spc.c		spc_intio needs-flag
161
162device	mha: scsi
163attach	mha at scsirom
164file	arch/x68k/dev/mha.c		mha needs-flag
165
166defpseudo bell
167file	arch/x68k/dev/opmbell.c		bell needs-flag
168
169defpseudo sram
170file	arch/x68k/dev/sram.c		sram needs-flag
171defpseudo pow
172file	arch/x68k/dev/pow.c		pow needs-count
173
174# Nereid Ethernet
175attach	ne at intio with ne_intio: rtl80x9
176file	arch/x68k/dev/if_ne_intio.c	ne_intio
177
178# Nereid USB
179attach	slhci at intio with slhci_intio
180file	arch/x68k/dev/slhci_intio.c	slhci_intio
181
182# Nereid Bank Memory Disk
183device	bmd
184attach	bmd at intio
185file	arch/x68k/dev/bmd.c		bmd needs-flag
186
187# memory disk
188file	dev/md_root.c			memory_disk_hooks
189
190# NetBSD m68k a.out Binary Compatibility (COMPAT_AOUT_M68K)
191include "compat/aoutm68k/files.aoutm68k"
192
193# SunOS Binary Compatibility (COMPAT_SUNOS)
194include	"compat/sunos/files.sunos"
195file	arch/m68k/m68k/sunos_machdep.c	compat_sunos
196
197# HP-UX Binary Compatibility (COMPAT_HPUX)
198include	"compat/hpux/files.hpux"
199file	arch/m68k/m68k/hpux_machdep.c	compat_hpux
200
201# SVR4 Binary Compatibility (COMPAT_SVR4)
202include "compat/svr4/files.svr4"
203
204# Linux binary compatibility (COMPAT_LINUX)
205include "compat/linux/files.linux"
206include "compat/linux/arch/m68k/files.linux_m68k"
207file arch/m68k/m68k/linux_trap.c	compat_linux
208
209# OSS audio driver compatibility
210include "compat/ossaudio/files.ossaudio"
211
212# USB support
213include "dev/wscons/files.wscons"
214include "dev/usb/files.usb"
215
216include "arch/x68k/conf/majors.x68k"
217