files.mvme68k revision 1.71
1#	$NetBSD: files.mvme68k,v 1.71 2025/11/20 18:05:00 thorpej Exp $
2
3# config file for mvme68k
4
5defflag				PANICBUTTON	# panic on ABORT if not DDB
6
7# maxpartitions must be first item in files.${ARCH}.newconf
8maxpartitions 8
9
10# System configuration options.
11defflag	opt_mvmeconf.h	MVME147: M68030
12defflag	opt_mvmeconf.h	MVME162: M68040
13defflag	opt_mvmeconf.h	MVME167: M68040
14defflag	opt_mvmeconf.h	MVME172: M68060
15defflag	opt_mvmeconf.h	MVME177: M68060
16
17device mainbus { }
18attach mainbus at root
19file arch/mvme68k/dev/mainbus.c		mainbus
20
21device clock
22
23# Grab the MD VMEbus goop
24include "dev/vme/files.vme"
25
26# Grab the common MVME glue
27include "dev/mvme/files.mvme"
28
29# MVME-147 Peripheral Channel Controller
30device pcc { [ ipl = -1 ] }
31attach pcc at mainbus
32file arch/mvme68k/dev/pcc.c			pcc needs-flag
33
34# MVME-147 VME controller chip
35device	vmepcc: mvmebus, vmebus
36attach	vmepcc at pcc
37file	arch/mvme68k/dev/vme_pcc.c		vmepcc
38
39# MVME-147 Clock
40attach clock at pcc with clock_pcc
41file arch/mvme68k/dev/clock_pcc.c		clock_pcc
42
43# ZS Serial ports
44device zsc { channel = -1 }
45file arch/mvme68k/dev/zs.c			zsc
46file dev/ic/z8530sc.c				zsc
47
48# MVME-147 Serial ports
49attach zsc at pcc with zsc_pcc
50file arch/mvme68k/dev/zs_pcc.c			zsc_pcc needs-flag
51
52# MVME-1[67]2 Serial ports
53attach zsc at pcctwo with zsc_pcctwo
54file arch/mvme68k/dev/zs_pcctwo.c		zsc_pcctwo needs-flag
55
56device zstty: tty
57attach zstty at zsc
58file dev/ic/z8530tty.c				zstty needs-flag
59
60# MVME-147 Parallel printer
61attach lpt at pcc with lpt_pcc
62file arch/mvme68k/dev/lpt_pcc.c			lpt_pcc
63
64# device defined in sys/conf/files
65attach le at pcc with le_pcc: le24
66file arch/mvme68k/dev/if_le.c			le_pcc
67
68# TimeKeeper NVRAM device
69device timekeeper: mk48txx
70attach timekeeper at mainbus
71file arch/mvme68k/dev/timekeeper.c		timekeeper
72
73# Memory disk for boot tape
74file dev/md_root.c				memory_disk_hooks
75
76include "dev/scsipi/files.scsipi"
77
78# WD33C93 SCSI ...
79define sbic
80file arch/mvme68k/dev/sbic.c			sbic
81
82# ... on the MVME-147
83device wdsc: sbic, scsi
84attach wdsc at pcc with wdsc_pcc
85file arch/mvme68k/dev/wdsc.c			wdsc_pcc
86
87file arch/mvme68k/dev/pcctwo_68k.c		pcctwo
88file arch/mvme68k/dev/memc_68k.c		memc
89
90# This isn't as odd as it looks. This file is still needed even if
91# no vmetwo device is configured into the kernel.
92file arch/mvme68k/dev/vme_two_68k.c		vmetwo | pcctwo
93
94file arch/mvme68k/mvme68k/autoconf.c
95file arch/mvme68k/mvme68k/bus_dma.c
96file arch/mvme68k/mvme68k/bus_space.c
97file arch/mvme68k/mvme68k/clock.c
98file arch/mvme68k/mvme68k/conf.c
99file arch/mvme68k/mvme68k/disksubr.c
100file arch/mvme68k/mvme68k/machdep.c
101file arch/mvme68k/mvme68k/pmap_bootstrap.c	!__have_new_pmap_68k compile-with "${NOPROF_C}"
102file arch/mvme68k/mvme68k/trap.c
103file arch/m68k/m68k/cacheops.c
104file arch/m68k/m68k/db_memrw.c			ddb | kgdb
105file arch/m68k/m68k/kgdb_machdep.c		kgdb
106file arch/m68k/m68k/m68k_intr.c
107file arch/m68k/m68k/m68k_intr_stubs.s
108file arch/m68k/m68k/m68k_trap.c
109file arch/m68k/m68k/mmu_subr.s
110file arch/m68k/m68k/pmap_motorola.c		!__have_new_pmap_68k
111file arch/m68k/m68k/pmap_68k.c			__have_new_pmap_68k
112file arch/m68k/m68k/procfs_machdep.c		procfs
113file arch/m68k/m68k/sys_machdep.c
114file arch/m68k/m68k/vectors.c
115file arch/m68k/m68k/vm_machdep.c
116file dev/cons.c
117file dev/cninit.c
118
119# Motorola 68060 support package
120include "arch/m68k/060sp/files.060sp"
121
122# NetBSD m68k a.out Binary Compatibility (COMPAT_AOUT_M68K)
123include "compat/aoutm68k/files.aoutm68k"
124
125# SunOS Binary Compatibility (COMPAT_SUNOS)
126include "compat/sunos/files.sunos"
127file	arch/m68k/m68k/sunos_machdep.c		compat_sunos
128
129# Linux binary compatibility (COMPAT_LINUX)
130include "compat/linux/files.linux"
131include "compat/linux/arch/m68k/files.linux_m68k"
132file arch/m68k/m68k/linux_trap.c		compat_linux
133
134# OSS audio driver compatibility
135include "compat/ossaudio/files.ossaudio"
136
137include	"arch/mvme68k/conf/majors.mvme68k"
138