files.x68k revision 1.32
1#	$NetBSD: files.x68k,v 1.32 2000/04/18 21:04:51 minoura Exp $
2#
3# new style config file for x68k architecture
4#
5
6defopt	opt_fpuemulate.h	FPU_EMULATE
7defopt	opt_m060sp.h		M060SP
8#defopt	opt_fpsp.h		FPSP		# this will fail...
9
10defopt	opt_m680x0.h		M68020 M68030 M68040 M68060
11
12defopt	opt_jupiter.h		JUPITER
13defopt	opt_panicbutton.h	PANICBUTTON
14defopt  opt_extmem.h		EXTENDED_MEMORY
15
16# maxpartitions must be first item in files.${ARCH}.newconf
17maxpartitions 8
18
19maxusers 2 16 64
20
21device	mainbus {}
22attach	mainbus at root
23
24device	cpu
25attach	cpu at mainbus
26
27define	event {}
28file	arch/x68k/dev/event.c		event
29
30file	arch/x68k/x68k/x68k_init.c
31file	arch/x68k/x68k/autoconf.c
32file	arch/x68k/x68k/conf.c
33file	arch/x68k/x68k/disksubr.c	disk
34file	arch/x68k/x68k/machdep.c
35file	arch/x68k/x68k/mem.c
36file	arch/x68k/x68k/pmap_bootstrap.c	compile-with "${NOPROF_C}"
37file	arch/x68k/x68k/pmap.c
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
104
105device dmac
106attach	dmac at intio
107file	arch/x68k/dev/intio_dmac.c	dmac needs-flag
108
109defopt	opt_zsc.h	ZSCONSOLE 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	fdc { unit = -1 }
135attach	fdc at intio
136
137device	fd: disk
138attach	fd at fdc
139file	arch/x68k/dev/fd.c		fd needs-flag
140major	{fd = 2}
141
142device	par
143attach	par at intio
144file	arch/x68k/dev/par.c		par needs-flag
145
146#
147# SCSI drivers
148#
149include "dev/scsipi/files.scsipi"
150major	{cd = 7}
151major	{sd = 4}
152
153device scsirom {}
154attach	scsirom at intio
155file	arch/x68k/dev/scsirom.c		scsirom
156
157device	spc: scsi
158attach	spc at scsirom with spc_intio
159file	arch/x68k/dev/spc.c		spc_intio needs-flag
160file	dev/ic/mb89352.c		spc
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# memory disk
175file	arch/x68k/dev/md_root.c		memory_disk_hooks
176major	{md = 8}
177
178# RAIDframe
179major	{raid = 16}
180
181include	"compat/sunos/files.sunos"
182file	arch/m68k/m68k/sunos_machdep.c	compat_sunos
183
184# SVR4 Binary Compatibility (COMPAT_SVR4)
185include "compat/svr4/files.svr4"
186
187# Linux binary compatibility (COMPAT_LINUX)
188include "compat/linux/files.linux"
189include "compat/linux/arch/m68k/files.linux_m68k"
190
191# OSS audio driver compatibility
192include "compat/ossaudio/files.ossaudio"
193