xref: /netbsd-src/sys/arch/sun2/conf/files.sun2 (revision db6316d1518382eecd2fdbe55a1205e0620a1b35)
1#	$NetBSD: files.sun2,v 1.14 2004/12/07 04:33:24 chs Exp $
2
3#
4# sun2-specific configuration info
5#
6
7# maxpartitions must be first item in files.${ARCH}
8maxpartitions 8
9
10maxusers 2 8 64
11
12# Standard stuff
13file arch/sun2/sun2/locore2.c
14file arch/sun2/sun2/machdep.c
15file arch/sun2/sun2/pmap.c
16file arch/sun2/sun2/control.c
17file arch/sun2/sun2/mem.c
18file arch/sun2/sun2/db_machdep.c		ddb
19file arch/sun2/sun2/db_memrw.c			ddb | kgdb
20file arch/sun2/sun2/leds.c
21file arch/sun2/sun2/idprom.c
22file arch/sun2/sun2/promlib.c
23file arch/sun2/sun2/sys_machdep.c
24file arch/sun2/sun2/trap.c
25file arch/m68k/m68k/procfs_machdep.c		procfs
26file arch/m68k/m68k/vm_machdep.c
27
28include "arch/m68k/fpe/files.fpe"
29
30# Console support:
31file arch/sun2/dev/consinit.c
32file dev/cons.c
33
34#
35# Bus types
36#
37
38# mainbus and VME support brought in by arch/sun68k
39
40# On-board I/O space (required).
41device obio {addr = -1, [ipl = -1], [vect = -1]}
42attach obio at mainbus
43file arch/sun2/sun2/obio.c
44
45# On-board MEMory space (required).
46device obmem {addr = -1, [ipl = -1], [vect = -1]}
47attach obmem at mainbus
48file arch/sun2/sun2/obmem.c		obmem
49
50# MultiBus MEMory space (optional).
51device mbmem {addr = -1, [ipl = -1], [vect = -1]}
52attach mbmem at mainbus
53file arch/sun2/sun2/mbmem.c		mbmem
54
55# MultiBus I/O space (optional).
56device mbio {addr = -1, [ipl = -1], [vect = -1]}
57attach mbio at mainbus
58file arch/sun2/sun2/mbio.c		mbio
59
60#
61# Machine-independent SCSI drivers
62#
63include "dev/scsipi/files.scsipi"
64
65#
66# Devices, files, and attributes needed below
67#
68
69include "dev/sun/files.sun"
70
71device zs {channel = -1}
72file arch/sun2/dev/zs.c			zs needs-count
73file dev/ic/z8530sc.c			zs
74file arch/sun2/dev/zs_kgdb.c		kgdb
75
76define zstty {}
77device zstty: tty
78attach zstty at zs
79file dev/ic/z8530tty.c			zstty needs-flag
80
81file arch/sun2/dev/zs_any.c		zs_obio | zs_obmem | zs_mbmem
82file arch/sun2/dev/bwtwo_any.c		bwtwo_obio | bwtwo_obmem
83
84#
85# On-Board I/O (OBIO), in attach order.
86# The following are all required.
87#
88
89# Zilog Serial (ZS)
90attach zs at obio with zs_obio
91
92# AMD timer
93device clock
94attach clock at obio
95file arch/sun2/sun2/clock.c
96
97# National Semiconductor Time-Of-Day clock
98device tod: mm58167
99attach tod at obio with tod_obio
100attach tod at vme with tod_vme
101file arch/sun2/sun2/tod.c
102
103# These are optional:
104
105# Intel Ethernet
106attach ie at obio with ie_obio
107file arch/sun2/dev/if_ie_obio.c		ie_obio
108
109attach bwtwo at obio with bwtwo_obio
110
111#
112# On-Board MEMory (OBMEM)
113#
114
115attach zs at obmem with zs_obmem
116
117attach bwtwo at obmem with bwtwo_obmem
118
119#
120# MultiBus MEMory (MBMEM)
121#
122
123attach zs at mbmem with zs_mbmem
124
125attach ie at mbmem with ie_mbmem
126file arch/sun2/dev/if_ie_mbmem.c	ie_mbmem
127
128attach sc at mbmem with sc_mbmem
129file arch/sun2/dev/sc_mbmem.c		sc_mbmem
130
131# 3Com Ethernet
132device	ec: ifnet, ether, arp
133attach	ec at mbmem
134file	arch/sun2/dev/if_ec.c		ec
135
136#
137# Console (zs) related stuff
138#
139
140device pcons
141attach pcons at mainbus
142file	arch/sun2/dev/pcons.c		pcons needs-flag
143
144file arch/sun2/dev/kd.c			kbd
145
146attach kbd at zstty with kbd_tty
147file dev/sun/kbdsun.c			kbd_tty
148file dev/sun/sunkbd.c			kbd_tty
149
150attach ms at zstty with ms_tty
151file dev/sun/sunms.c			ms_tty
152
153# Memory Disk for boot tape
154file dev/md_root.c			memory_disk_hooks
155
156#
157# wscons
158#
159
160include "dev/wscons/files.wscons"
161include "dev/wsfont/files.wsfont"
162
163# Compatibility modules
164
165# NetBSD m68k a.out Binary Compatibility (COMPAT_AOUT_M68K)
166include "compat/aoutm68k/files.aoutm68k"
167
168# SunOS Binary Compatibility (COMPAT_SUNOS)
169include "compat/sunos/files.sunos"
170file arch/m68k/m68k/sunos_machdep.c	compat_sunos
171
172# SVR4 Binary Compatibility (COMPAT_SVR4)
173include "compat/svr4/files.svr4"
174
175# Linux binary compatibility (COMPAT_LINUX)
176include "compat/linux/files.linux"
177include "compat/linux/arch/m68k/files.linux_m68k"
178file arch/m68k/m68k/linux_trap.c	compat_linux
179
180# OSS audio driver compatibility
181include "compat/ossaudio/files.ossaudio"
182
183include "arch/sun2/conf/majors.sun2"
184