xref: /netbsd/sys/arch/sun2/conf/files.sun2 (revision bf9ec67e)
1#	$NetBSD: files.sun2,v 1.7 2002/03/22 00:25:56 fredette 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/conf.c
19file arch/sun2/sun2/db_machdep.c		ddb
20file arch/sun2/sun2/db_memrw.c			ddb | kgdb
21file arch/sun2/sun2/leds.c
22file arch/sun2/sun2/idprom.c
23file arch/sun2/sun2/promlib.c
24file arch/sun2/sun2/sys_machdep.c
25file arch/sun2/sun2/trap.c
26file arch/sun2/sun2/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
96file dev/clock_subr.c
97
98# National Semiconductor Time-Of-Day clock
99device tod: mm58167
100attach tod at obio with tod_obio
101attach tod at vme with tod_vme
102file arch/sun2/sun2/tod.c
103
104# These are optional:
105
106# Intel Ethernet
107attach ie at obio with ie_obio
108file arch/sun2/dev/if_ie_obio.c		ie_obio
109
110attach bwtwo at obio with bwtwo_obio
111
112#
113# On-Board MEMory (OBMEM)
114#
115
116attach zs at obmem with zs_obmem
117
118attach bwtwo at obmem with bwtwo_obmem
119
120#
121# MultiBus MEMory (MBMEM)
122#
123
124attach zs at mbmem with zs_mbmem
125
126attach ie at mbmem with ie_mbmem
127file arch/sun2/dev/if_ie_mbmem.c	ie_mbmem
128
129attach sc at mbmem with sc_mbmem
130file arch/sun2/dev/sc_mbmem.c		sc_mbmem
131
132# 3Com Ethernet
133device	ec: ifnet, ether, arp
134attach	ec at mbmem
135file	arch/sun2/dev/if_ec.c		ec
136
137#
138# Console (zs) related stuff
139#
140
141device pcons
142attach pcons at mainbus
143file	arch/sun2/dev/pcons.c		pcons needs-flag
144
145device kbd
146attach kbd at zstty
147file dev/sun/kbd.c			kbd needs-flag
148file dev/sun/kbd_tables.c		kbd
149file arch/sun2/dev/kd.c			kbd
150file dev/sun/sunkbd.c			kbd needs-flag
151
152device ms
153attach ms at zstty
154file dev/sun/ms.c			ms needs-flag
155file dev/sun/sunms.c			ms needs-flag
156
157# Memory Disk for boot tape
158file dev/md_root.c			memory_disk_hooks
159
160# Compatibility modules
161
162# NetBSD m68k a.out Binary Compatibility (COMPAT_AOUT_M68K)
163include "compat/aoutm68k/files.aoutm68k"
164
165# SunOS Binary Compatibility (COMPAT_SUNOS)
166include "compat/sunos/files.sunos"
167file arch/m68k/m68k/sunos_machdep.c	compat_sunos
168
169# SVR4 Binary Compatibility (COMPAT_SVR4)
170include "compat/svr4/files.svr4"
171
172# Linux binary compatibility (COMPAT_LINUX)
173include "compat/linux/files.linux"
174include "compat/linux/arch/m68k/files.linux_m68k"
175file arch/m68k/m68k/linux_trap.c	compat_linux
176
177# OSS audio driver compatibility
178include "compat/ossaudio/files.ossaudio"
179
180# Major numbers for root/swap device configuration
181major	{xy=3}	# Xylogics 450 and 451
182major	{sd=7}	# SCSI disk
183major	{xd=10}	# Xylogics 7053
184major	{md=13}	# Memory disk (for mini-kernel)
185major	{raid=25} # RAIDframe
186