xref: /netbsd/sys/arch/x68k/conf/files.x68k (revision bf9ec67e)
1#	$NetBSD: files.x68k,v 1.46 2002/04/22 09:41:21 augustss 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/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
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
146major	{fd = 2}
147
148device	par
149attach	par at intio
150file	arch/x68k/dev/par.c		par needs-flag
151
152#
153# SCSI drivers
154#
155include "dev/scsipi/files.scsipi"
156major	{cd = 7}
157major	{sd = 4}
158
159device scsirom {}
160attach	scsirom at intio
161file	arch/x68k/dev/scsirom.c		scsirom
162
163device	spc: scsi
164attach	spc at scsirom with spc_intio
165file	arch/x68k/dev/spc.c		spc_intio needs-flag
166file	dev/ic/mb89352.c		spc
167
168device	mha: scsi
169attach	mha at scsirom
170file	arch/x68k/dev/mha.c		mha needs-flag
171
172defpseudo bell
173file	arch/x68k/dev/opmbell.c		bell needs-flag
174
175defpseudo sram
176file	arch/x68k/dev/sram.c		sram needs-flag
177defpseudo pow
178file	arch/x68k/dev/pow.c		pow needs-count
179
180# Nereid Ethernet
181attach	ne at intio with ne_intio: rtl80x9
182file	arch/x68k/dev/if_ne_intio.c	ne_intio
183
184# memory disk
185file	dev/md_root.c			memory_disk_hooks
186major	{md = 8}
187
188# RAIDframe
189major	{raid = 16}
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