files.x68k revision 1.70
1#	$NetBSD: files.x68k,v 1.70 2009/08/21 04:12:27 thorpej Exp $
2#
3# new style config file for x68k architecture
4#
5
6defflag				M060SP
7
8defflag	opt_m680x0.h		M68020 M68030 M68040 M68060
9
10defflag				JUPITER
11defflag				PANICBUTTON
12defflag	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
24file	arch/x68k/x68k/mainbus.c
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/trap.c
37file	arch/x68k/x68k/fpu.c
38file	arch/x68k/x68k/bus.c
39file	arch/m68k/m68k/cacheops.c
40file	arch/m68k/m68k/db_memrw.c	ddb
41file	arch/m68k/m68k/pmap_motorola.c
42file	arch/m68k/m68k/procfs_machdep.c	procfs
43file	arch/m68k/m68k/sys_machdep.c
44file	arch/m68k/m68k/vm_machdep.c
45
46file	common/bus_dma/bus_dmamem_common.c
47
48file	dev/cons.c
49file	dev/cninit.c
50
51# Emulation modules
52# 6888x emulator (FPU_EMULATE)
53include "arch/m68k/fpe/files.fpe"
54
55# 68060 software support package
56include "arch/m68k/060sp/files.060sp"
57
58device	xcom: tty
59attach	xcom at mainbus
60file	arch/x68k/dev/com.c		xcom needs-count
61
62# graphic devices
63define	grfb { addr = -1 }
64
65device	grfbus: grfb
66attach	grfbus at mainbus
67
68device	grf { grfaddr = -1 }
69attach	grf at grfb
70file	arch/x68k/dev/grf.c		grf needs-count
71file	arch/x68k/dev/grf_conf.c	grf | ite
72file	arch/x68k/dev/grf_machdep.c	grf | ite
73file	arch/x68k/dev/grf_tv.c		grf | ite
74file	arch/x68k/dev/grf_gv.c		grf | ite
75
76defparam opt_ite.h	ITE_KERNEL_ATTR
77device	ite : tty
78attach	ite at grf
79file	arch/x68k/dev/ite.c		ite needs-flag
80file	arch/x68k/dev/ite_tv.c		grf | ite
81file	arch/x68k/dev/kbdmap.c		ite
82
83device	intio {[addr = -1], [intr = -1], [dma = -1], [dmaintr = -1]}
84attach	intio at mainbus
85file	arch/x68k/dev/intio.c		intio
86
87device	xel
88attach	xel at intio
89file	arch/x68k/dev/xel.c		xel
90
91device	mfp {}
92attach	mfp at intio
93file	arch/x68k/dev/mfp.c		mfp
94
95device clock
96attach	clock at mfp
97file	arch/x68k/x68k/clock.c		clock needs-flag
98
99device kbd: event
100attach	kbd at mfp
101file	arch/x68k/dev/kbd.c		kbd needs-flag
102
103device pow: sysmon_power, sysmon_taskq
104attach	pow at mfp
105file	arch/x68k/dev/pow.c		pow
106
107device rtc
108attach	rtc at intio
109file	arch/x68k/dev/rtclock.c		rtc
110
111device dmac
112attach	dmac at intio
113file	arch/x68k/dev/intio_dmac.c	dmac needs-flag
114
115defflag	opt_zsc.h	ZSCONSOLE
116defparam opt_zsc.h	ZSCN_SPEED
117device zsc {channel = -1}
118attach zsc at intio
119file arch/x68k/dev/zs.c			zsc needs-flag
120file dev/ic/z8530sc.c			zsc
121
122device zstty: tty
123attach zstty at zsc
124file dev/ic/z8530tty.c			zstty needs-flag
125
126device ms: event
127attach ms at zsc
128file arch/x68k/dev/ms.c			ms needs-flag
129
130device	neptune {[addr = -1]}
131attach	neptune at intio
132file	arch/x68k/dev/neptune.c		neptune
133
134attach	ne at neptune with ne_neptune: rtl80x9
135file	arch/x68k/dev/if_ne_neptune.c	ne_neptune
136
137device	opm
138attach	opm at intio
139file	arch/x68k/dev/opm.c		opm
140
141device	vs: audiobus, auconv, mulaw, msm6258
142attach	vs at intio
143file	arch/x68k/dev/vs.c		vs needs-flag
144
145device	fdc { unit = -1 }
146attach	fdc at intio
147
148device	fd: disk
149attach	fd at fdc
150file	arch/x68k/dev/fd.c		fd needs-flag
151
152device	par
153attach	par at intio
154file	arch/x68k/dev/par.c		par needs-flag
155
156#
157# SCSI drivers
158#
159include "dev/scsipi/files.scsipi"
160
161device scsirom {}
162attach	scsirom at intio
163file	arch/x68k/dev/scsirom.c		scsirom
164
165attach	spc at scsirom with spc_intio
166file	arch/x68k/dev/spc.c		spc_intio needs-flag
167
168device	mha: scsi
169attach	mha at scsirom
170file	arch/x68k/dev/mha.c		mha needs-flag
171
172device	sram
173attach	sram at intio
174file	arch/x68k/dev/sram.c		sram
175
176defpseudo bell
177file	arch/x68k/dev/opmbell.c		bell needs-flag
178
179# Nereid Ethernet
180attach	ne at intio with ne_intio: rtl80x9
181file	arch/x68k/dev/if_ne_intio.c	ne_intio
182
183# Nereid USB
184attach	slhci at intio with slhci_intio
185file	arch/x68k/dev/slhci_intio.c	slhci_intio
186
187# Nereid Bank Memory Disk
188device	bmd
189attach	bmd at intio
190file	arch/x68k/dev/bmd.c		bmd needs-flag
191
192# memory disk
193file	dev/md_root.c			memory_disk_hooks
194
195# NetBSD m68k a.out Binary Compatibility (COMPAT_AOUT_M68K)
196include "compat/aoutm68k/files.aoutm68k"
197
198# SunOS Binary Compatibility (COMPAT_SUNOS)
199include	"compat/sunos/files.sunos"
200file	arch/m68k/m68k/sunos_machdep.c	compat_sunos
201
202# SVR4 Binary Compatibility (COMPAT_SVR4)
203include "compat/svr4/files.svr4"
204
205# Linux binary compatibility (COMPAT_LINUX)
206include "compat/linux/files.linux"
207include "compat/linux/arch/m68k/files.linux_m68k"
208file arch/m68k/m68k/linux_trap.c	compat_linux
209
210# OSS audio driver compatibility
211include "compat/ossaudio/files.ossaudio"
212
213# USB support
214include "dev/usb/files.usb"
215
216include "arch/x68k/conf/majors.x68k"
217