files.news68k revision 1.18
1#	$NetBSD: files.news68k,v 1.18 2002/10/26 13:50:37 jdolecek Exp $
2
3#	NEWS68K-specific configuration info
4
5defflag	opt_fpuemulate.h	FPU_EMULATE
6
7# maxpartitions must be first item in files.${ARCH}.
8maxpartitions 8
9
10maxusers 2 8 64
11
12device mainbus { [systype = -1] }
13attach mainbus at root
14
15file	arch/news68k/news68k/autoconf.c
16file	arch/news68k/news68k/bus_space.c
17#file	arch/news68k/news68k/cons_machdep.c
18file	arch/news68k/news68k/clock.c
19file	arch/news68k/news68k/db_memrw.c		ddb | kgdb
20file	arch/news68k/news68k/disksubr.c		disk
21file	arch/news68k/news68k/isr.c
22file	arch/news68k/news68k/machdep.c
23file	arch/news68k/news68k/mainbus.c
24file	arch/news68k/news68k/mem.c
25file	arch/news68k/news68k/pmap.c
26file	arch/news68k/news68k/pmap_bootstrap.c	compile-with "${NOPROF_C}"
27file	arch/news68k/news68k/procfs_machdep.c	procfs
28file	arch/news68k/news68k/sys_machdep.c
29file	arch/news68k/news68k/trap.c
30file	arch/m68k/m68k/vm_machdep.c
31file	dev/clock_subr.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 Proccesser
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
69include "dev/wscons/files.wscons"
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# framebuffers
97include "dev/wsfont/files.wsfont"
98include "dev/rasops/files.rasops"
99
100#device cfb: wsemuldisplaydev, rasops8
101#attach cfb at hb
102#file arch/news68k/dev/cfb.c			cfb needs-flag
103
104# floppy; not yet
105device fdc {}
106attach fdc at hb
107device fd: disk
108attach fd at fdc
109file arch/news68k/dev/fd.c			fdc | fd 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# SVR4 Binary Compatibility (COMPAT_SVR4)
126include	"compat/svr4/files.svr4"
127
128# SunOS binary compatibility (COMPAT_SUNOS)
129include	"compat/sunos/files.sunos"
130file	arch/m68k/m68k/sunos_machdep.c		compat_sunos
131
132# NEWS-OS binary compatibility (COMPAT_NEWSOS)
133#include	"compat/newsos/files.newsos"
134#file	arch/m68k/m68k/newsos_machdep.c		compat_newsos
135
136# Linux binary compatibility (COMPAT_LINUX)
137include	"compat/linux/files.linux"
138include	"compat/linux/arch/m68k/files.linux_m68k"
139file arch/m68k/m68k/linux_trap.c		compat_linux
140
141# a.out binary compatibility (COMPAT_AOUT)
142include "compat/aout/files.aout"
143
144# OSS audio driver compatibility
145include	"compat/ossaudio/files.ossaudio"
146
147include "arch/news68k/conf/majors.news68k"
148