1#	$NetBSD: files.mvme68k,v 1.69 2024/01/18 05:12:29 thorpej Exp $
2
3# config file for mvme68k
4
5defflag	opt_m060sp.h		M060SP
6defflag				PANICBUTTON	# panic on ABORT if not DDB
7
8# maxpartitions must be first item in files.${ARCH}.newconf
9maxpartitions 8
10
11# System configuration options.
12defflag	opt_mvmeconf.h	MVME147: M68030
13defflag	opt_mvmeconf.h	MVME162: M68040
14defflag	opt_mvmeconf.h	MVME167: M68040
15defflag	opt_mvmeconf.h	MVME172: M68060
16defflag	opt_mvmeconf.h	MVME177: M68060
17
18device mainbus { }
19attach mainbus at root
20file arch/mvme68k/dev/mainbus.c		mainbus
21
22device clock
23
24# Grab the MD VMEbus goop
25include "dev/vme/files.vme"
26
27# Grab the common MVME glue
28include "dev/mvme/files.mvme"
29
30# MVME-147 Peripheral Channel Controller
31device pcc { [ ipl = -1 ] }
32attach pcc at mainbus
33file arch/mvme68k/dev/pcc.c			pcc needs-flag
34
35# MVME-147 VME controller chip
36device	vmepcc: mvmebus, vmebus
37attach	vmepcc at pcc
38file	arch/mvme68k/dev/vme_pcc.c		vmepcc
39
40# MVME-147 Clock
41attach clock at pcc with clock_pcc
42file arch/mvme68k/dev/clock_pcc.c		clock_pcc
43
44# ZS Serial ports
45device zsc { channel = -1 }
46file arch/mvme68k/dev/zs.c			zsc
47file dev/ic/z8530sc.c				zsc
48
49# MVME-147 Serial ports
50attach zsc at pcc with zsc_pcc
51file arch/mvme68k/dev/zs_pcc.c			zsc_pcc needs-flag
52
53# MVME-1[67]2 Serial ports
54attach zsc at pcctwo with zsc_pcctwo
55file arch/mvme68k/dev/zs_pcctwo.c		zsc_pcctwo needs-flag
56
57device zstty: tty
58attach zstty at zsc
59file dev/ic/z8530tty.c				zstty needs-flag
60
61# MVME-147 Parallel printer
62attach lpt at pcc with lpt_pcc
63file arch/mvme68k/dev/lpt_pcc.c			lpt_pcc
64
65# device defined in sys/conf/files
66attach le at pcc with le_pcc: le24
67file arch/mvme68k/dev/if_le.c			le_pcc
68
69# TimeKeeper NVRAM device
70device timekeeper: mk48txx
71attach timekeeper at mainbus
72file arch/mvme68k/dev/timekeeper.c		timekeeper
73
74# Memory disk for boot tape
75file dev/md_root.c				memory_disk_hooks
76
77include "dev/scsipi/files.scsipi"
78
79# WD33C93 SCSI ...
80define sbic
81file arch/mvme68k/dev/sbic.c			sbic
82
83# ... on the MVME-147
84device wdsc: sbic, scsi
85attach wdsc at pcc with wdsc_pcc
86file arch/mvme68k/dev/wdsc.c			wdsc_pcc
87
88file arch/mvme68k/dev/pcctwo_68k.c		pcctwo
89file arch/mvme68k/dev/memc_68k.c		memc
90
91# This isn't as odd as it looks. This file is still needed even if
92# no vmetwo device is configured into the kernel.
93file arch/mvme68k/dev/vme_two_68k.c		vmetwo | pcctwo
94
95file arch/mvme68k/mvme68k/autoconf.c
96file arch/mvme68k/mvme68k/bus_dma.c
97file arch/mvme68k/mvme68k/bus_space.c
98file arch/mvme68k/mvme68k/clock.c
99file arch/mvme68k/mvme68k/conf.c
100file arch/mvme68k/mvme68k/disksubr.c
101file arch/mvme68k/mvme68k/machdep.c
102file arch/mvme68k/mvme68k/pmap_bootstrap.c	compile-with "${NOPROF_C}"
103file arch/mvme68k/mvme68k/trap.c
104file arch/m68k/m68k/cacheops.c
105file arch/m68k/m68k/db_memrw.c			ddb | kgdb
106file arch/m68k/m68k/kgdb_machdep.c		kgdb
107file arch/m68k/m68k/m68k_intr.c
108file arch/m68k/m68k/m68k_intr_stubs.s
109file arch/m68k/m68k/m68k_trap.c
110file arch/m68k/m68k/mmu_subr.s
111file arch/m68k/m68k/pmap_motorola.c
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