files.x68k revision 1.83
1#	$NetBSD: files.x68k,v 1.83 2019/05/08 13:40:17 isaki Exp $
2#
3# new style config file for x68k architecture
4#
5
6defflag				M060SP
7
8defflag				JUPITER
9defflag				PANICBUTTON
10defflag	opt_extmem.h		EXTENDED_MEMORY
11
12# maxpartitions must be first item in files.${ARCH}.newconf
13maxpartitions 8
14
15maxusers 2 16 64
16
17device	mainbus {}
18attach	mainbus at root
19
20device	cpu
21attach	cpu at mainbus
22file	arch/x68k/x68k/mainbus.c
23
24define	event {}
25file	arch/x68k/dev/event.c		event
26
27file	arch/x68k/x68k/autoconf.c
28file	arch/x68k/x68k/conf.c
29file	arch/x68k/x68k/disksubr.c	disk
30file	arch/x68k/x68k/machdep.c
31file	arch/x68k/x68k/pmap_bootstrap.c	compile-with "${NOPROF_C}"
32file	arch/x68k/x68k/trap.c
33file	arch/x68k/x68k/bus.c
34file	arch/m68k/m68k/cacheops.c
35file	arch/m68k/m68k/db_memrw.c	ddb
36file	arch/m68k/m68k/fpu.c		compile-with "${M68K_KERN_FPU}"
37file	arch/m68k/m68k/m68k_trap.c
38file	arch/m68k/m68k/pmap_motorola.c
39file	arch/m68k/m68k/procfs_machdep.c	procfs
40file	arch/m68k/m68k/sys_machdep.c
41file	arch/m68k/m68k/vm_machdep.c
42
43file	dev/bus_dma/bus_dmamem_common.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
55# graphic devices
56define	grfb { addr = -1 }
57
58device	grfbus: grfb
59attach	grfbus at mainbus
60
61device	grf { grfaddr = -1 }
62attach	grf at grfb
63file	arch/x68k/dev/grf.c		grf needs-count
64file	arch/x68k/dev/grf_conf.c	grf | ite
65file	arch/x68k/dev/grf_machdep.c	grf | ite
66file	arch/x68k/dev/grf_tv.c		grf | ite
67file	arch/x68k/dev/grf_gv.c		grf | ite
68
69defparam opt_ite.h	ITE_KERNEL_ATTR
70device	ite : tty
71attach	ite at grf
72file	arch/x68k/dev/ite.c		ite needs-flag
73file	arch/x68k/dev/ite_tv.c		grf | ite
74file	arch/x68k/dev/kbdmap.c		ite
75
76device	intio {[addr = -1], [intr = -1], [dma = -1], [dmaintr = -1]}
77attach	intio at mainbus
78file	arch/x68k/dev/intio.c		intio
79
80device	xel
81attach	xel at intio
82file	arch/x68k/dev/xel.c		xel
83
84device	mfp {}
85attach	mfp at intio
86file	arch/x68k/dev/mfp.c		mfp
87
88device clock
89attach	clock at mfp
90file	arch/x68k/x68k/clock.c		clock needs-flag
91
92device kbd: event
93attach	kbd at mfp
94file	arch/x68k/dev/kbd.c		kbd needs-flag
95
96device powsw: sysmon_power, sysmon_taskq
97attach	powsw at mfp
98file	arch/x68k/dev/powsw.c		powsw
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
108defflag	opt_zsc.h	ZSCONSOLE
109defparam opt_zsc.h	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	vs: audiobus, msm6258
135attach	vs at intio
136file	arch/x68k/dev/vs.c		vs needs-flag
137
138device	fdc { unit = -1 }
139attach	fdc at intio
140
141device	fd: disk
142attach	fd at fdc
143file	arch/x68k/dev/fd.c		fd needs-flag
144
145device	par
146attach	par at intio
147file	arch/x68k/dev/par.c		par needs-flag
148
149attach	com at intio with com_intio
150file	arch/x68k/dev/com_intio.c	com_intio
151
152#
153# SCSI drivers
154#
155include "dev/scsipi/files.scsipi"
156
157device scsirom {}
158attach	scsirom at intio
159file	arch/x68k/dev/scsirom.c		scsirom
160
161attach	spc at scsirom with spc_intio
162file	arch/x68k/dev/spc.c		spc_intio needs-flag
163
164device	mha: scsi
165attach	mha at scsirom
166file	arch/x68k/dev/mha.c		mha needs-flag
167
168device	sram
169attach	sram at intio
170file	arch/x68k/dev/sram.c		sram
171
172defpseudo bell
173file	arch/x68k/dev/opmbell.c		bell needs-flag
174
175# Nereid Ethernet
176attach	ne at intio with ne_intio: rtl80x9
177file	arch/x68k/dev/if_ne_intio.c	ne_intio
178
179# Nereid USB
180attach	slhci at intio with slhci_intio
181file	arch/x68k/dev/slhci_intio.c	slhci_intio
182
183# Nereid Bank Memory Disk
184device	bmd
185attach	bmd at intio
186file	arch/x68k/dev/bmd.c		bmd needs-flag
187
188# memory disk
189file	dev/md_root.c			memory_disk_hooks
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# Linux binary compatibility (COMPAT_LINUX)
199include "compat/linux/files.linux"
200include "compat/linux/arch/m68k/files.linux_m68k"
201file arch/m68k/m68k/linux_trap.c	compat_linux
202
203# OSS audio driver compatibility
204include "compat/ossaudio/files.ossaudio"
205
206# USB support
207include "dev/usb/files.usb"
208
209# ATA and ATAPI support
210include "dev/ata/files.ata"
211
212include "arch/x68k/conf/majors.x68k"
213