summaryrefslogtreecommitdiff
path: root/sys/arch/sun3/conf/files.sun3
blob: 0feef1d254708822e94d4ecd5c409cfde1d6780d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
#	$OpenBSD: files.sun3,v 1.18 2001/05/30 20:37:51 miod Exp $
#	$NetBSD: files.sun3,v 1.26 1996/10/29 19:58:14 gwr Exp $

#
# sun3-specific configuration info
#

# maxpartitions must be first item in files.${ARCH}.newconf
maxpartitions 16

maxusers 2 8 64

# Standard stuff
file arch/sun3/sun3/autoconf.c
file arch/sun3/sun3/cache.c			havecache
file arch/sun3/sun3/conf.c		
file arch/sun3/sun3/control.c	
file arch/sun3/sun3/ctrlsp.S
file arch/sun3/sun3/dvma.c
file arch/sun3/sun3/db_machdep.c		ddb
file arch/sun3/sun3/db_memrw.c  		ddb | kgdb
file arch/sun3/sun3/disksubr.c	
file arch/sun3/sun3/fpu.c
file arch/sun3/sun3/isr.c
file arch/sun3/sun3/kgdb_stub.c 		kgdb
file arch/sun3/sun3/leds.c
file arch/sun3/sun3/machdep.c	
file arch/sun3/sun3/mem.c		
file arch/sun3/sun3/pmap.c		
file arch/sun3/sun3/stub.c			!ddb
file arch/sun3/sun3/sun3_startup.c	
file arch/sun3/sun3/sys_machdep.c
file arch/sun3/sun3/trap.c		
file arch/sun3/sun3/vector.c		
file arch/sun3/sun3/vm_machdep.c	

file arch/sun3/dev/idprom.c

include "arch/m68k/fpe/files.fpe"

file dev/cons.c

#
# Bus types
#
# The implementation of the bus_* functions in autoconfig.c
# requires these all to agree with <autoconf.h> struct bus_loc

device mainbus {}
attach mainbus at root
file	arch/sun3/sun3/mainbus.c	mainbus

# On-board I/O space
device obio {addr = -1, [level = -1]}
attach obio at mainbus
file arch/sun3/dev/obio.c		obio

# On-board MEMory space
device obmem {addr = -1, [level = -1]}
attach obmem at mainbus
file arch/sun3/dev/obmem.c		obmem

# VME Short space (D16)
device vmes {addr = -1, [level = -1], [vect = -1]}
attach vmes at mainbus

# VME Long space (D32)
device vmel {addr = -1, [level = -1], [vect = -1]}
attach vmel at mainbus

file arch/sun3/dev/vme.c		vmes | vmel

#
# Machine-independent SCSI drivers
#
include "../../../scsi/files.scsi"

#
# On-Board I/O (OBIO)
#
device zsc {channel = -1}
attach zsc at obio
file arch/sun3/dev/zs.c 		zsc needs-flag
file dev/ic/z8530sc.c			zsc

device eeprom
attach eeprom at obio
file arch/sun3/dev/eeprom.c		eeprom

device clock
attach clock at obio
file arch/sun3/sun3/clock.c		clock

device memerr
attach memerr at obio
file arch/sun3/dev/memerr.c		memerr

device intreg
attach intreg at obio
file arch/sun3/sun3/intreg.c		intreg

attach ie at obio with ie_obio
attach ie at vmes with ie_vmes
file arch/sun3/dev/if_ie_obio.c		ie_obio
file arch/sun3/dev/if_ie_vmes.c		ie_vmes
file arch/sun3/dev/if_ie.c		ie

# device defined in sys/conf/files
attach le at obio
file arch/sun3/dev/if_le.c		le

device si: scsi, ncr5380sbc
file	arch/sun3/dev/si.c		si
attach si at obio with si_obio
file	arch/sun3/dev/si_obio.c		si_obio
attach si at vmes with si_vmes
file	arch/sun3/dev/si_vme.c		si_vmes

#
# Sun-compatible Frame Buffers (?)
#
define sunfb
file arch/sun3/dev/fb.c			# sunfb needs-flag

#
# On-Board MEMory (OBMEM)
#
device bwtwo: sunfb
attach bwtwo at obmem
file arch/sun3/dev/bw2.c		bwtwo needs-flag

device cgtwo: sunfb
attach cgtwo at vmes
file arch/sun3/dev/cg2.c		cgtwo needs-flag

device cgfour: sunfb
attach cgfour at obmem
file arch/sun3/dev/cg4.c		cgfour needs-flag

#
# VME
#
device	xdc {drive = -1}
attach	xdc at vmel
device	xd: disk
attach	xd at xdc
file	arch/sun3/dev/xd.c		xd needs-flag

device	xyc {drive = -1}
attach	xyc at vmes
device	xy: disk
attach	xy at xyc
file	arch/sun3/dev/xy.c		xy needs-flag



#
# Console (zs) related stuff
#

device zstty: tty
attach zstty at zsc
file dev/ic/z8530tty.c			zstty needs-flag
file arch/sun3/dev/zs_kgdb.c		kgdb

define zsevent
file dev/sun/event.c			zsevent

device kbd: zsevent
attach kbd at zsc
file arch/sun3/dev/kbd.c		kbd needs-flag
file arch/sun3/dev/kbd_tables.c 	kbd
file arch/sun3/dev/kd.c 		kbd

device ms: zsevent
attach ms at zsc
file arch/sun3/dev/ms.c			ms needs-flag

# Major numbers for root/swap device configuration
major	{xy=3}	# Xylogics 450 and 451
major	{vnd=5}	# vnode pseudo-device
major	{sd=7}	# SCSI disk
major	{xd=10}	# Xylogics 7053
major	{rd=13}	# RAM disk (for mini-kernel)
major	{cd=18}	# CD-ROM drives

# Compatibility modules

# SunOS Binary Compatibility (COMPAT_SUNOS)
include "../../../compat/sunos/files.sunos"
file	arch/m68k/m68k/sunos_machdep.c	compat_sunos