files.x68k revision 1.33
1#	$NetBSD: files.x68k,v 1.33 2000/05/14 14:13:56 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
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/sys_machdep.c
38file	arch/x68k/x68k/trap.c
39file	arch/x68k/x68k/vm_machdep.c
40file	arch/x68k/x68k/db_memrw.c	ddb
41file	arch/x68k/x68k/fpu.c
42file	arch/x68k/x68k/bus.c
43file	arch/m68k/m68k/cacheops.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 {}
61
62device	grfbus: grfb
63attach	grfbus at mainbus
64
65device	grf {}
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
73defopt	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 rtc
101attach	rtc at intio
102file	arch/x68k/dev/rtclock.c		rtc
103
104device dmac
105attach	dmac at intio
106file	arch/x68k/dev/intio_dmac.c	dmac needs-flag
107
108defopt	opt_zsc.h	ZSCONSOLE ZSCN_SPEED
109device zsc {channel = -1}
110attach zsc at intio
111file arch/x68k/dev/zs.c			zsc needs-flag
112file dev/ic/z8530sc.c			zsc
113
114device zstty: tty
115attach zstty at zsc
116file dev/ic/z8530tty.c			zstty needs-flag
117
118device ms: event
119attach ms at zsc
120file arch/x68k/dev/ms.c			ms needs-flag
121
122device	neptune {[addr = -1]}
123attach	neptune at intio
124file	arch/x68k/dev/neptune.c		neptune
125
126attach	ne at neptune with ne_neptune: rtl80x9
127file	arch/x68k/dev/if_ne_neptune.c	ne_neptune
128
129device	opm
130attach	opm at intio
131file	arch/x68k/dev/opm.c		opm
132
133device	fdc { unit = -1 }
134attach	fdc at intio
135
136device	fd: disk
137attach	fd at fdc
138file	arch/x68k/dev/fd.c		fd needs-flag
139major	{fd = 2}
140
141device	par
142attach	par at intio
143file	arch/x68k/dev/par.c		par needs-flag
144
145#
146# SCSI drivers
147#
148include "dev/scsipi/files.scsipi"
149major	{cd = 7}
150major	{sd = 4}
151
152device scsirom {}
153attach	scsirom at intio
154file	arch/x68k/dev/scsirom.c		scsirom
155
156device	spc: scsi
157attach	spc at scsirom with spc_intio
158file	arch/x68k/dev/spc.c		spc_intio needs-flag
159file	dev/ic/mb89352.c		spc
160
161device	mha: scsi
162attach	mha at scsirom
163file	arch/x68k/dev/mha.c		mha needs-flag
164
165defpseudo bell
166file	arch/x68k/dev/opmbell.c		bell needs-flag
167
168defpseudo sram
169file	arch/x68k/dev/sram.c		sram needs-flag
170defpseudo pow
171file	arch/x68k/dev/pow.c		pow needs-count
172
173# memory disk
174file	arch/x68k/dev/md_root.c		memory_disk_hooks
175major	{md = 8}
176
177# RAIDframe
178major	{raid = 16}
179
180include	"compat/sunos/files.sunos"
181file	arch/m68k/m68k/sunos_machdep.c	compat_sunos
182
183# SVR4 Binary Compatibility (COMPAT_SVR4)
184include "compat/svr4/files.svr4"
185
186# Linux binary compatibility (COMPAT_LINUX)
187include "compat/linux/files.linux"
188include "compat/linux/arch/m68k/files.linux_m68k"
189
190# OSS audio driver compatibility
191include "compat/ossaudio/files.ossaudio"
192