files.x68k revision 1.39
1#	$NetBSD: files.x68k,v 1.39 2001/06/18 02:00:51 christos Exp $
2#
3# new style config file for x68k architecture
4#
5
6defopt	opt_fpuemulate.h	FPU_EMULATE
7defopt	opt_m060sp.h		M060SP
8
9defopt	opt_m680x0.h		M68020 M68030 M68040 M68060
10
11defopt	opt_jupiter.h		JUPITER
12defopt	opt_panicbutton.h	PANICBUTTON
13defopt  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/pmap.c
37file	arch/x68k/x68k/procfs_machdep.c	procfs
38file	arch/x68k/x68k/sys_machdep.c
39file	arch/x68k/x68k/trap.c
40file	arch/x68k/x68k/vm_machdep.c
41file	arch/x68k/x68k/db_memrw.c	ddb
42file	arch/x68k/x68k/fpu.c
43file	arch/x68k/x68k/bus.c
44file	arch/m68k/m68k/cacheops.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
74defopt	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
110defopt	opt_zsc.h	ZSCONSOLE 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: audio, 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
145major	{fd = 2}
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"
155major	{cd = 7}
156major	{sd = 4}
157
158device scsirom {}
159attach	scsirom at intio
160file	arch/x68k/dev/scsirom.c		scsirom
161
162device	spc: scsi
163attach	spc at scsirom with spc_intio
164file	arch/x68k/dev/spc.c		spc_intio needs-flag
165file	dev/ic/mb89352.c		spc
166
167device	mha: scsi
168attach	mha at scsirom
169file	arch/x68k/dev/mha.c		mha needs-flag
170
171defpseudo bell
172file	arch/x68k/dev/opmbell.c		bell needs-flag
173
174defpseudo sram
175file	arch/x68k/dev/sram.c		sram needs-flag
176defpseudo pow
177file	arch/x68k/dev/pow.c		pow needs-count
178
179# memory disk
180file	dev/md_root.c			memory_disk_hooks
181major	{md = 8}
182
183# RAIDframe
184major	{raid = 16}
185
186# NetBSD m68k a.out Binary Compatibility (COMPAT_AOUT_M68K)
187include "compat/aoutm68k/files.aoutm68k"
188
189# SunOS Binary Compatibility (COMPAT_SUNOS)
190include	"compat/sunos/files.sunos"
191file	arch/m68k/m68k/sunos_machdep.c	compat_sunos
192
193# SVR4 Binary Compatibility (COMPAT_SVR4)
194include "compat/svr4/files.svr4"
195
196# Linux binary compatibility (COMPAT_LINUX)
197include "compat/linux/files.linux"
198include "compat/linux/arch/m68k/files.linux_m68k"
199file arch/m68k/m68k/linux_trap.c	compat_linux
200
201# OSS audio driver compatibility
202include "compat/ossaudio/files.ossaudio"
203