1#	$NetBSD: files.news68k,v 1.41 2025/11/13 11:27:18 tsutsui Exp $
2
3#	NEWS68K-specific configuration info
4
5# maxpartitions must be first item in files.${ARCH}.
6maxpartitions 8
7
8maxusers 2 8 64
9
10# System configuration options.
11defflag	opt_newsconf.h	news1200: M68030
12defflag	opt_newsconf.h	news1700: M68030
13
14device mainbus { [systype = -1] }
15attach mainbus at root
16
17file	arch/news68k/news68k/autoconf.c
18file	arch/news68k/news68k/bus_space.c
19#file	arch/news68k/news68k/cons_machdep.c
20file	arch/news68k/news68k/clock.c
21file	arch/news68k/news68k/disksubr.c		disk
22file	arch/news68k/news68k/machdep.c
23file	arch/news68k/news68k/mainbus.c
24file	arch/news68k/news68k/pmap_bootstrap.c	!__have_new_pmap_68k compile-with "${NOPROF_C}"
25file	arch/news68k/news68k/romcalls.S
26file	arch/news68k/news68k/trap.c
27file	arch/m68k/m68k/cacheops.c
28file	arch/m68k/m68k/db_memrw.c		ddb | kgdb
29file	arch/m68k/m68k/kgdb_machdep.c		kgdb
30file	arch/m68k/m68k/m68k_intr.c
31file	arch/m68k/m68k/m68k_intr_stubs.s
32file	arch/m68k/m68k/m68k_trap.c
33file	arch/m68k/m68k/mmu_subr.s
34file	arch/m68k/m68k/pmap_motorola.c		!__have_new_pmap_68k
35file	arch/m68k/m68k/pmap_68k.c		__have_new_pmap_68k
36file	arch/m68k/m68k/procfs_machdep.c		procfs
37file	arch/m68k/m68k/sys_machdep.c
38file	arch/m68k/m68k/vectors.c
39file	arch/m68k/m68k/vm_machdep.c
40file	dev/cons.c
41
42# Emulation modules
43# 6888x emulator (FPU_EMULATE)
44include	"arch/m68k/fpe/files.fpe"
45
46# HYPER-BUS
47device hb { addr = 0, [ipl = -1], [vect = -1] }
48attach hb at mainbus
49file arch/news68k/dev/hb.c			hb
50
51# I/O Processor
52#device iop { [addr = -1], [ipl = -1] }
53#attach iop at mainbus
54#file arch/news68k/dev/iop.c			iop
55
56# interval timer
57device timer
58attach timer at hb with timer_hb
59file arch/news68k/dev/timer_hb.c		timer_hb
60
61# MK48T02 TOD clock and NVRAM
62device mkclock: mk48txx
63attach mkclock at hb with mkclock_hb
64file arch/news68k/dev/mkclock_hb.c		mkclock_hb
65
66# Lance ethernet (device defined in sys/conf/files)
67#device le: ifnet, ether, arp
68attach le at hb: le24
69file arch/news68k/dev/if_le.c			le needs-count
70
71# keyboard/mouse
72
73device kbc {}
74attach kbc at hb
75file arch/news68k/dev/kbc.c			kbc
76
77device kb: wskbddev
78file arch/news68k/dev/kb.c			kb needs-flag
79file dev/news/newskeymap.c			kb
80attach kb at kbc with kb_kbc
81file arch/news68k/dev/kb_kbc.c			kb_kbc
82attach kb at hb with kb_hb
83file arch/news68k/dev/kb_hb.c			kb_hb
84
85device ms: wsmousedev
86file arch/news68k/dev/ms.c			ms needs-flag
87attach ms at kbc with ms_kbc
88file arch/news68k/dev/ms_kbc.c			ms_kbc
89attach ms at hb with ms_hb
90file arch/news68k/dev/ms_hb.c			ms_hb
91
92# serial
93device zsc { [channel = -1] }
94attach zsc at hb
95file arch/news68k/dev/zs.c			zsc needs-count
96file dev/ic/z8530sc.c				zsc
97
98device zstty: tty
99attach zstty at zsc
100file dev/ic/z8530tty.c				zstty needs-count
101
102#device cfb: wsemuldisplaydev, rasops8
103#attach cfb at hb
104#file arch/news68k/dev/cfb.c			cfb needs-flag
105
106# floppy; not yet
107device fdc {}
108attach fdc at hb
109device fd: disk
110attach fd at fdc
111file arch/news68k/dev/fd.c			fdc | fd needs-flag
112
113# PROM console support
114device romcons
115attach romcons at mainbus
116file arch/news68k/news68k/romcons.c		romcons needs-flag
117
118# Machine-independent SCSI driver
119include "dev/scsipi/files.scsipi"
120
121# Sony CXD1180 SCSI controller
122device si: scsi, ncr5380sbc
123file arch/news68k/dev/si.c			si needs-flag
124attach si at hb
125
126# memory disk
127file	dev/md_root.c				memory_disk_hooks
128
129# NetBSD m68k a.out binary compatibility (COMPAT_AOUT_M68K)
130include "compat/aoutm68k/files.aoutm68k"
131
132# SunOS binary compatibility (COMPAT_SUNOS)
133include	"compat/sunos/files.sunos"
134file	arch/m68k/m68k/sunos_machdep.c		compat_sunos
135
136# NEWS-OS binary compatibility (COMPAT_NEWSOS)
137#include	"compat/newsos/files.newsos"
138#file	arch/m68k/m68k/newsos_machdep.c		compat_newsos
139
140# Linux binary compatibility (COMPAT_LINUX)
141include	"compat/linux/files.linux"
142include	"compat/linux/arch/m68k/files.linux_m68k"
143file arch/m68k/m68k/linux_trap.c		compat_linux
144
145# OSS audio driver compatibility
146include	"compat/ossaudio/files.ossaudio"
147
148include "arch/news68k/conf/majors.news68k"
149