xref: /netbsd-src/sys/arch/news68k/conf/files.news68k (revision f974354e6bc0a23bc72a08aa7e59ad72dfc05708)
1#	$NetBSD: files.news68k,v 1.40 2024/01/18 04:07:37 thorpej 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	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
35file	arch/m68k/m68k/procfs_machdep.c		procfs
36file	arch/m68k/m68k/sys_machdep.c
37file	arch/m68k/m68k/vectors.c
38file	arch/m68k/m68k/vm_machdep.c
39file	dev/cons.c
40
41# Emulation modules
42# 6888x emulator (FPU_EMULATE)
43include	"arch/m68k/fpe/files.fpe"
44
45# HYPER-BUS
46device hb { addr = 0, [ipl = -1], [vect = -1] }
47attach hb at mainbus
48file arch/news68k/dev/hb.c			hb
49
50# I/O Processor
51#device iop { [addr = -1], [ipl = -1] }
52#attach iop at mainbus
53#file arch/news68k/dev/iop.c			iop
54
55# interval timer
56device timer
57attach timer at hb with timer_hb
58file arch/news68k/dev/timer_hb.c		timer_hb
59
60# MK48T02 TOD clock and NVRAM
61device mkclock: mk48txx
62attach mkclock at hb with mkclock_hb
63file arch/news68k/dev/mkclock_hb.c		mkclock_hb
64
65# Lance ethernet (device defined in sys/conf/files)
66#device le: ifnet, ether, arp
67attach le at hb: le24
68file arch/news68k/dev/if_le.c			le needs-count
69
70# keyboard/mouse
71
72device kbc {}
73attach kbc at hb
74file arch/news68k/dev/kbc.c			kbc
75
76device kb: wskbddev
77file arch/news68k/dev/kb.c			kb needs-flag
78file dev/news/newskeymap.c			kb
79attach kb at kbc with kb_kbc
80file arch/news68k/dev/kb_kbc.c			kb_kbc
81attach kb at hb with kb_hb
82file arch/news68k/dev/kb_hb.c			kb_hb
83
84device ms: wsmousedev
85file arch/news68k/dev/ms.c			ms needs-flag
86attach ms at kbc with ms_kbc
87file arch/news68k/dev/ms_kbc.c			ms_kbc
88attach ms at hb with ms_hb
89file arch/news68k/dev/ms_hb.c			ms_hb
90
91# serial
92device zsc { [channel = -1] }
93attach zsc at hb
94file arch/news68k/dev/zs.c			zsc needs-count
95file dev/ic/z8530sc.c				zsc
96
97device zstty: tty
98attach zstty at zsc
99file dev/ic/z8530tty.c				zstty needs-count
100
101#device cfb: wsemuldisplaydev, rasops8
102#attach cfb at hb
103#file arch/news68k/dev/cfb.c			cfb needs-flag
104
105# floppy; not yet
106device fdc {}
107attach fdc at hb
108device fd: disk
109attach fd at fdc
110file arch/news68k/dev/fd.c			fdc | fd needs-flag
111
112# PROM console support
113device romcons
114attach romcons at mainbus
115file arch/news68k/news68k/romcons.c		romcons needs-flag
116
117# Machine-independent SCSI driver
118include "dev/scsipi/files.scsipi"
119
120# Sony CXD1180 SCSI controller
121device si: scsi, ncr5380sbc
122file arch/news68k/dev/si.c			si needs-flag
123attach si at hb
124
125# memory disk
126file	dev/md_root.c				memory_disk_hooks
127
128# NetBSD m68k a.out binary compatibility (COMPAT_AOUT_M68K)
129include "compat/aoutm68k/files.aoutm68k"
130
131# SunOS binary compatibility (COMPAT_SUNOS)
132include	"compat/sunos/files.sunos"
133file	arch/m68k/m68k/sunos_machdep.c		compat_sunos
134
135# NEWS-OS binary compatibility (COMPAT_NEWSOS)
136#include	"compat/newsos/files.newsos"
137#file	arch/m68k/m68k/newsos_machdep.c		compat_newsos
138
139# Linux binary compatibility (COMPAT_LINUX)
140include	"compat/linux/files.linux"
141include	"compat/linux/arch/m68k/files.linux_m68k"
142file arch/m68k/m68k/linux_trap.c		compat_linux
143
144# OSS audio driver compatibility
145include	"compat/ossaudio/files.ossaudio"
146
147include "arch/news68k/conf/majors.news68k"
148