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