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