xref: /netbsd/sys/arch/news68k/conf/files.news68k (revision bf9ec67e)
1#	$NetBSD: files.news68k,v 1.15 2001/11/28 10:21:17 lukem 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
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# interval timer
52device timer
53attach timer at hb with timer_hb
54file arch/news68k/dev/timer_hb.c		timer_hb
55
56# MK48T02 TOD clock and NVRAM
57device mkclock: mk48txx
58attach mkclock at hb with mkclock_hb
59file arch/news68k/dev/mkclock_hb.c		mkclock_hb
60
61# Lance ethernet (device defined in sys/conf/files)
62#device le: ifnet, ether, arp
63attach le at hb: le24
64file arch/news68k/dev/if_le.c			le needs-count
65
66# keyboard/mouse
67
68device kbc {}
69attach kbc at hb
70file arch/news68k/dev/kbc.c			kbc
71
72include "dev/wscons/files.wscons"
73
74device kb: wskbddev
75file arch/news68k/dev/kb.c			kb needs-flag
76file dev/news/newskeymap.c			kb
77attach kb at kbc with kb_kbc
78file arch/news68k/dev/kb_kbc.c			kb_kbc
79attach kb at hb with kb_hb
80file arch/news68k/dev/kb_hb.c			kb_hb
81
82device ms: wsmousedev
83file arch/news68k/dev/ms.c			ms needs-flag
84attach ms at kbc with ms_kbc
85file arch/news68k/dev/ms_kbc.c			ms_kbc
86attach ms at hb with ms_hb
87file arch/news68k/dev/ms_hb.c			ms_hb
88
89# serial
90device zsc { [channel = -1] }
91attach zsc at hb
92file arch/news68k/dev/zs.c			zsc needs-count
93file dev/ic/z8530sc.c				zsc
94
95device zstty: tty
96attach zstty at zsc
97file dev/ic/z8530tty.c				zstty needs-count
98
99# framebuffers
100include "dev/wsfont/files.wsfont"
101include "dev/rasops/files.rasops"
102
103#device cfb: wsemuldisplaydev, rasops8
104#attach cfb at hb
105#file arch/news68k/dev/cfb.c			cfb needs-flag
106
107# floppy; not yet
108device fdc {}
109attach fdc at hb
110device fd: disk
111attach fd at fdc
112file arch/news68k/dev/fd.c			fdc | fd needs-flag
113
114# Machine-independent SCSI driver
115include "dev/scsipi/files.scsipi"
116major { sd = 0 }
117major { fd = 1 }
118major { cd = 16 }
119major { st = 17 }
120
121# Sony CXD1180 SCSI controller
122device si: scsi, ncr5380sbc
123file arch/news68k/dev/si.c			si needs-flag
124attach si at hb
125
126# memory disk
127major {md = 2}
128file	dev/md_root.c				memory_disk_hooks
129
130# RAIDframe
131major {raid = 32}
132
133# NetBSD m68k a.out binary compatibility (COMPAT_AOUT_M68K)
134include "compat/aoutm68k/files.aoutm68k"
135
136# SVR4 Binary Compatibility (COMPAT_SVR4)
137include	"compat/svr4/files.svr4"
138
139# SunOS binary compatibility (COMPAT_SUNOS)
140include	"compat/sunos/files.sunos"
141file	arch/m68k/m68k/sunos_machdep.c		compat_sunos
142
143# NEWS-OS binary compatibility (COMPAT_NEWSOS)
144#include	"compat/newsos/files.newsos"
145#file	arch/m68k/m68k/newsos_machdep.c		compat_newsos
146
147# Linux binary compatibility (COMPAT_LINUX)
148include	"compat/linux/files.linux"
149include	"compat/linux/arch/m68k/files.linux_m68k"
150file arch/m68k/m68k/linux_trap.c		compat_linux
151
152# a.out binary compatibility (COMPAT_AOUT)
153include "compat/aout/files.aout"
154
155# OSS audio driver compatibility
156include	"compat/ossaudio/files.ossaudio"
157