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