xref: /netbsd-src/sys/arch/x68k/conf/files.x68k (revision 3117ece4fc4a4ca4489ba793710b60b0d26bab6c)
1#	$NetBSD: files.x68k,v 1.85 2024/10/05 03:56:54 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/mmu_subr.s
39file	arch/m68k/m68k/pmap_motorola.c
40file	arch/m68k/m68k/procfs_machdep.c	procfs
41file	arch/m68k/m68k/sys_machdep.c
42file	arch/m68k/m68k/vm_machdep.c
43
44file	dev/bus_dma/bus_dmamem_common.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
56# graphic devices
57define	grfb { addr = -1 }
58
59device	grfbus: grfb
60attach	grfbus at mainbus
61
62device	grf { grfaddr = -1 }
63attach	grf at grfb
64file	arch/x68k/dev/grf.c		grf needs-count
65file	arch/x68k/dev/grf_conf.c	grf | ite
66file	arch/x68k/dev/grf_machdep.c	grf | ite
67file	arch/x68k/dev/grf_tv.c		grf | ite
68file	arch/x68k/dev/grf_gv.c		grf | ite
69
70defparam opt_ite.h	ITE_KERNEL_ATTR
71defflag opt_ite.h	ITE_SIXEL
72device	ite : tty
73attach	ite at grf
74file	arch/x68k/dev/ite.c		ite needs-flag
75file	arch/x68k/dev/ite_tv.c		grf | ite
76file	arch/x68k/dev/kbdmap.c		ite
77
78device	intio {[addr = -1], [intr = -1], [dma = -1], [dmaintr = -1]}
79attach	intio at mainbus
80file	arch/x68k/dev/intio.c		intio
81
82device	xel
83attach	xel at intio
84file	arch/x68k/dev/xel.c		xel
85
86device	mfp {}
87attach	mfp at intio
88file	arch/x68k/dev/mfp.c		mfp
89
90device clock
91attach	clock at mfp
92file	arch/x68k/x68k/clock.c		clock needs-flag
93
94device kbd: event
95attach	kbd at mfp
96file	arch/x68k/dev/kbd.c		kbd needs-flag
97
98device powsw: sysmon_power, sysmon_taskq
99attach	powsw at mfp
100file	arch/x68k/dev/powsw.c		powsw
101
102device rtc
103attach	rtc at intio
104file	arch/x68k/dev/rtclock.c		rtc
105
106device dmac
107attach	dmac at intio
108file	arch/x68k/dev/intio_dmac.c	dmac needs-flag
109
110defflag	opt_zsc.h	ZSCONSOLE
111defparam opt_zsc.h	ZSCN_SPEED
112device zsc {channel = -1}
113attach zsc at intio
114file arch/x68k/dev/zs.c			zsc needs-flag
115file dev/ic/z8530sc.c			zsc
116
117device zstty: tty
118attach zstty at zsc
119file dev/ic/z8530tty.c			zstty needs-flag
120
121device ms: event
122attach ms at zsc
123file arch/x68k/dev/ms.c			ms needs-flag
124
125device	neptune {[addr = -1]}
126attach	neptune at intio
127file	arch/x68k/dev/neptune.c		neptune
128
129attach	ne at neptune with ne_neptune: rtl80x9
130file	arch/x68k/dev/if_ne_neptune.c	ne_neptune
131
132device	opm
133attach	opm at intio
134file	arch/x68k/dev/opm.c		opm
135
136device	vs: audiobus, msm6258
137attach	vs at intio
138file	arch/x68k/dev/vs.c		vs needs-flag
139
140device	fdc { unit = -1 }
141attach	fdc at intio
142
143device	fd: disk
144attach	fd at fdc
145file	arch/x68k/dev/fd.c		fd needs-flag
146
147device	par
148attach	par at intio
149file	arch/x68k/dev/par.c		par needs-flag
150
151attach	com at intio with com_intio
152file	arch/x68k/dev/com_intio.c	com_intio
153
154#
155# SCSI drivers
156#
157include "dev/scsipi/files.scsipi"
158
159device scsirom {}
160attach	scsirom at intio
161file	arch/x68k/dev/scsirom.c		scsirom
162
163attach	spc at scsirom with spc_intio
164file	arch/x68k/dev/spc.c		spc_intio needs-flag
165
166device	mha: scsi
167attach	mha at scsirom
168file	arch/x68k/dev/mha.c		mha needs-flag
169
170device	sram
171attach	sram at intio
172file	arch/x68k/dev/sram.c		sram
173
174defpseudo bell
175file	arch/x68k/dev/opmbell.c		bell needs-flag
176
177# Nereid Ethernet
178attach	ne at intio with ne_intio: rtl80x9
179file	arch/x68k/dev/if_ne_intio.c	ne_intio
180
181# Nereid USB
182attach	slhci at intio with slhci_intio
183file	arch/x68k/dev/slhci_intio.c	slhci_intio
184
185# Nereid Bank Memory Disk
186device	bmd
187attach	bmd at intio
188file	arch/x68k/dev/bmd.c		bmd needs-flag
189
190# memory disk
191file	dev/md_root.c			memory_disk_hooks
192
193# NetBSD m68k a.out Binary Compatibility (COMPAT_AOUT_M68K)
194include "compat/aoutm68k/files.aoutm68k"
195
196# SunOS Binary Compatibility (COMPAT_SUNOS)
197include	"compat/sunos/files.sunos"
198file	arch/m68k/m68k/sunos_machdep.c	compat_sunos
199
200# Linux binary compatibility (COMPAT_LINUX)
201include "compat/linux/files.linux"
202include "compat/linux/arch/m68k/files.linux_m68k"
203file arch/m68k/m68k/linux_trap.c	compat_linux
204
205# OSS audio driver compatibility
206include "compat/ossaudio/files.ossaudio"
207
208# USB support
209include "dev/usb/files.usb"
210
211# ATA and ATAPI support
212include "dev/ata/files.ata"
213
214include "arch/x68k/conf/majors.x68k"
215