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