files.x68k revision 1.31
1#	$NetBSD: files.x68k,v 1.31 2000/03/27 15:53:04 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_jupiter.h		JUPITER
11defopt	opt_panicbutton.h	PANICBUTTON
12defopt  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/pmap.c
36file	arch/x68k/x68k/sys_machdep.c
37file	arch/x68k/x68k/trap.c
38file	arch/x68k/x68k/vm_machdep.c
39file	arch/x68k/x68k/db_memrw.c	ddb
40file	arch/x68k/x68k/fpu.c
41file	arch/x68k/x68k/bus.c
42file	arch/m68k/m68k/cacheops.c
43
44file	dev/cons.c
45file	dev/cninit.c
46
47# Emulation modules
48# 6888x emulator (FPU_EMULATE)
49include "arch/m68k/fpe/files.fpe"
50
51# 68060 software support package
52include "arch/m68k/060sp/files.060sp"
53
54device	xcom: tty
55attach	xcom at mainbus
56file	arch/x68k/dev/com.c		xcom needs-count
57
58# graphic devices
59define	grfb {}
60
61device	grfbus: grfb
62attach	grfbus at mainbus
63
64device	grf {}
65attach	grf at grfb
66file	arch/x68k/dev/grf.c		grf needs-count
67file	arch/x68k/dev/grf_conf.c	grf|ite
68file	arch/x68k/dev/grf_machdep.c	grf|ite
69file	arch/x68k/dev/grf_tv.c		grf|ite
70file	arch/x68k/dev/grf_gv.c		grf|ite
71
72defopt	opt_ite.h	ITE_KERNEL_ATTR
73device	ite: tty
74attach	ite at grf
75file	arch/x68k/dev/ite.c		ite needs-flag
76file	arch/x68k/dev/ite_tv.c		grf|ite
77file	arch/x68k/dev/kbdmap.c		ite
78
79device	intio {[addr = -1], [intr = -1], [dma = -1], [dmaintr = -1]}
80attach	intio at mainbus
81file	arch/x68k/dev/intio.c		intio
82
83device	xel
84attach	xel at intio
85file	arch/x68k/dev/xel.c		xel
86
87device	mfp {}
88attach	mfp at intio
89file	arch/x68k/dev/mfp.c		mfp
90
91device clock
92attach	clock at mfp
93file	arch/x68k/x68k/clock.c		clock needs-flag
94
95device kbd: event
96attach	kbd at mfp
97file	arch/x68k/dev/kbd.c		kbd needs-flag
98
99device rtc
100attach	rtc at intio
101file	arch/x68k/dev/rtclock.c		rtc
102
103device dmac
104attach	dmac at intio
105file	arch/x68k/dev/intio_dmac.c	dmac needs-flag
106
107defopt	opt_zsc.h	ZSCONSOLE ZSCN_SPEED
108device zsc {channel = -1}
109attach zsc at intio
110file arch/x68k/dev/zs.c			zsc needs-flag
111file dev/ic/z8530sc.c			zsc
112
113device zstty: tty
114attach zstty at zsc
115file dev/ic/z8530tty.c			zstty needs-flag
116
117device ms: event
118attach ms at zsc
119file arch/x68k/dev/ms.c			ms needs-flag
120
121device	neptune {[addr = -1]}
122attach	neptune at intio
123file	arch/x68k/dev/neptune.c		neptune
124
125attach	ne at neptune with ne_neptune: rtl80x9
126file	arch/x68k/dev/if_ne_neptune.c	ne_neptune
127
128device	opm
129attach	opm at intio
130file	arch/x68k/dev/opm.c		opm
131
132device	fdc { unit = -1 }
133attach	fdc at intio
134
135device	fd: disk
136attach	fd at fdc
137file	arch/x68k/dev/fd.c		fd needs-flag
138major	{fd = 2}
139
140device	par
141attach	par at intio
142file	arch/x68k/dev/par.c		par needs-flag
143
144#
145# SCSI drivers
146#
147include "dev/scsipi/files.scsipi"
148major	{cd = 7}
149major	{sd = 4}
150
151device scsirom {}
152attach	scsirom at intio
153file	arch/x68k/dev/scsirom.c		scsirom
154
155device	spc: scsi
156attach	spc at scsirom with spc_intio
157file	arch/x68k/dev/spc.c		spc_intio needs-flag
158file	dev/ic/mb89352.c		spc
159
160device	mha: scsi
161attach	mha at scsirom
162file	arch/x68k/dev/mha.c		mha needs-flag
163
164defpseudo bell
165file	arch/x68k/dev/opmbell.c		bell needs-flag
166
167defpseudo sram
168file	arch/x68k/dev/sram.c		sram needs-flag
169defpseudo pow
170file	arch/x68k/dev/pow.c		pow needs-count
171
172# memory disk
173file	arch/x68k/dev/md_root.c		memory_disk_hooks
174major	{md = 8}
175
176# RAIDframe
177major	{raid = 16}
178
179include	"compat/sunos/files.sunos"
180file	arch/m68k/m68k/sunos_machdep.c	compat_sunos
181
182# SVR4 Binary Compatibility (COMPAT_SVR4)
183include "compat/svr4/files.svr4"
184
185# Linux binary compatibility (COMPAT_LINUX)
186include "compat/linux/files.linux"
187include "compat/linux/arch/m68k/files.linux_m68k"
188
189# OSS audio driver compatibility
190include "compat/ossaudio/files.ossaudio"
191