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