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