files.news68k revision 1.13
1#	$NetBSD: files.news68k,v 1.13 2001/06/18 02:00:50 christos Exp $
2
3#	NEWS68K-specific configuration info
4
5defopt	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
17file	arch/news68k/news68k/conf.c
18#file	arch/news68k/news68k/cons_machdep.c
19file	arch/news68k/news68k/clock.c
20file	arch/news68k/news68k/db_memrw.c		ddb | kgdb
21file	arch/news68k/news68k/disksubr.c		disk
22file	arch/news68k/news68k/isr.c
23file	arch/news68k/news68k/machdep.c
24file	arch/news68k/news68k/mainbus.c
25file	arch/news68k/news68k/mem.c
26file	arch/news68k/news68k/pmap.c
27file	arch/news68k/news68k/pmap_bootstrap.c	compile-with "${NOPROF_C}"
28file	arch/news68k/news68k/procfs_machdep.c	procfs
29file	arch/news68k/news68k/sys_machdep.c
30file	arch/news68k/news68k/trap.c
31file	arch/news68k/news68k/vm_machdep.c
32file	dev/clock_subr.c
33file	dev/cons.c
34
35major { vnd = 6 }
36
37# Emulation modules
38# 6888x emulator (FPU_EMULATE)
39include	"arch/m68k/fpe/files.fpe"
40
41# HYPER-BUS
42device hb { addr = 0, [ipl = -1], [vect = -1] }
43attach hb at mainbus
44file arch/news68k/dev/hb.c			hb
45
46# I/O Proccesser
47#device iop { [addr = -1], [ipl = -1] }
48#attach iop at mainbus
49#file arch/news68k/dev/iop.c			iop
50
51# MK48T02 RTC and NVRAM
52device clock: mk48txx
53attach clock at hb with clock_hb
54file arch/news68k/dev/clock_hb.c		clock_hb
55
56# Lance ethernet (device defined in sys/conf/files)
57#device le: ifnet, ether, arp
58attach le at hb: le24
59file arch/news68k/dev/if_le.c			le needs-count
60
61# keyboard/mouse
62
63device kbc {}
64attach kbc at hb
65file arch/news68k/dev/kbc.c			kbc
66
67include "dev/wscons/files.wscons"
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# framebuffers
95include "dev/wsfont/files.wsfont"
96include "dev/rasops/files.rasops"
97
98#device cfb: wsemuldisplaydev, rasops8
99#attach cfb at hb
100#file arch/news68k/dev/cfb.c			cfb needs-flag
101
102# floppy; not yet
103device fdc {}
104attach fdc at hb
105device fd: disk
106attach fd at fdc
107file arch/news68k/dev/fd.c			fdc | fd needs-flag
108
109# Machine-independent SCSI driver
110include "dev/scsipi/files.scsipi"
111major { sd = 0 }
112major { fd = 1 }
113major { cd = 16 }
114major { st = 17 }
115
116# Sony CXD1180 SCSI controller
117device si: scsi, ncr5380sbc
118file arch/news68k/dev/si.c			si needs-flag
119attach si at hb
120
121# memory disk
122major {md = 2}
123file	dev/md_root.c				memory_disk_hooks
124
125# RAIDframe
126major {raid = 32}
127
128# NetBSD m68k a.out binary compatibility (COMPAT_AOUT_M68K)
129include "compat/aoutm68k/files.aoutm68k"
130
131# SVR4 Binary Compatibility (COMPAT_SVR4)
132include	"compat/svr4/files.svr4"
133
134# SunOS binary compatibility (COMPAT_SUNOS)
135include	"compat/sunos/files.sunos"
136file	arch/m68k/m68k/sunos_machdep.c		compat_sunos
137
138# NEWS-OS binary compatibility (COMPAT_NEWSOS)
139#include	"compat/newsos/files.newsos"
140#file	arch/m68k/m68k/newsos_machdep.c		compat_newsos
141
142# Linux binary compatibility (COMPAT_LINUX)
143include	"compat/linux/files.linux"
144include	"compat/linux/arch/m68k/files.linux_m68k"
145file arch/m68k/m68k/linux_trap.c		compat_linux
146
147# a.out binary compatibility (COMPAT_AOUT)
148include "compat/aout/files.aout"
149
150# OSS audio driver compatibility
151include	"compat/ossaudio/files.ossaudio"
152