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
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
|
# $OpenBSD: files.sgi,v 1.49 2012/04/18 17:28:24 miod Exp $
#
# maxpartitions must be first item in files.${ARCH}
#
maxpartitions 16
maxusers 2 8 64
# Required files
file dev/cninit.c
file arch/sgi/sgi/autoconf.c
file arch/sgi/sgi/bus_dma.c
file arch/sgi/sgi/conf.c
file arch/sgi/sgi/disksubr.c disk
file arch/sgi/sgi/lock_machdep.c multiprocessor
file arch/sgi/sgi/ip22_machdep.c tgt_indigo | tgt_indigo2 |
tgt_indy
file arch/sgi/sgi/ip27_machdep.c tgt_origin
file arch/sgi/sgi/ip30_machdep.c tgt_octane
file arch/sgi/sgi/ip30_nmi.S tgt_octane & ddb
file arch/sgi/sgi/ip32_machdep.c tgt_o2
file arch/sgi/sgi/l1.c tgt_origin
file arch/sgi/sgi/machdep.c
file arch/sgi/sgi/mainbus.c
file arch/sgi/sgi/mutex.c
file arch/sgi/sgi/sginode.c tgt_origin
file arch/sgi/sgi/wscons_machdep.c wsdisplay
# RAM disk for boot
major {rd = 8}
#
# Media Indepedent Interface (mii)
#
include "dev/mii/files.mii"
#
# Machine-independent ATAPI drivers
#
include "dev/atapiscsi/files.atapiscsi"
include "dev/ata/files.ata"
include "dev/pckbc/files.pckbc"
#
# System BUS types
#
define mainbus {[nasid = -1]}
device mainbus
attach mainbus at root
# Our CPU configurator
device cpu
attach cpu at mainbus
# Clock device
device clock
attach clock at mainbus
# Impact/ImpactSR common code
device impact: wsemuldisplaydev, rasops32
file arch/sgi/dev/impact.c impact needs-flag
#
# IP20/22/24 specific devices
#
define giobus {}
device imc: giobus, eisabus
attach imc at mainbus
file arch/sgi/localbus/imc.c imc
device int
attach int at mainbus
file arch/sgi/localbus/int.c int
include "arch/sgi/gio/files.gio"
include "arch/sgi/hpc/files.hpc"
#
# O2 MACE localbus autoconfiguration devices
#
define macebus {[base = -1]}
device macebus
attach macebus at mainbus
file arch/sgi/localbus/macebus.c macebus
#
# Origin200/Origin2000 node configuration enumerator, and
# Octane XBOW mux bridge
#
include "arch/sgi/xbow/files.xbow"
include "dev/onewire/files.onewire"
#
# PCI Bus bridges
#
device macepcibr {} : pcibus
attach macepcibr at macebus
file arch/sgi/pci/macepcibridge.c macepcibr
# Use machine independent SCSI driver routines
include "scsi/files.scsi"
major {sd = 0}
major {cd = 3}
include "dev/i2o/files.i2o"
#
# EISA Bus support
#
include "dev/eisa/files.eisa"
file arch/sgi/sgi/eisa_machdep.c eisa
#
# PCI Bus support
#
include "dev/pci/files.pci"
file arch/sgi/pci/pci_machdep.c pci
# Sun HME Ethernet controllers
device hme: ether, ifnet, mii, ifmedia
file dev/ic/hme.c hme
attach hme at pci with hme_pci
file dev/pci/if_hme_pci.c hme_pci
# IOC3
define ioc {[base = -1]}
device ioc: onewirebus
attach ioc at pci
file arch/sgi/pci/ioc.c ioc
# IOC4
define iof {[base = -1]}
device iof
attach iof at pci
file arch/sgi/pci/iof.c iof
# IOC3/4 serial ports
attach com at ioc with com_ioc
file arch/sgi/dev/com_ioc.c com_ioc
attach com at iof with com_iof
file arch/sgi/dev/com_iof.c com_iof
# IOC3 onboard Ethernet
device iec: ether, ifnet, ifmedia, mii
attach iec at ioc
file arch/sgi/dev/if_iec.c iec
# IOC3/4 PS/2 controller
device iockbc: pckbcslot
attach iockbc at ioc with iockbc_ioc
attach iockbc at iof with iockbc_iof
file arch/sgi/dev/iockbc.c iockbc |
iockbc_ioc | iockbc_iof
needs-flag
# DS1687 Time-Of-Day calendar device
device dsrtc
attach dsrtc at ioc with dsrtc_ioc
attach dsrtc at iof with dsrtc_iof
attach dsrtc at macebus with dsrtc_macebus
file arch/sgi/dev/dsrtc.c dsrtc
# GBE framebuffer
device gbe: wsemuldisplaydev, rasops8, rasops16, rasops32
attach gbe at mainbus
file arch/sgi/dev/gbe.c gbe needs-flag
# 16[45]50-based "com" ports on localbus
attach com at macebus with com_macebus
file arch/sgi/localbus/com_lbus.c com_macebus
# MACE MAC-110 ethernet
device mec: ether, ifnet, ifmedia, mii
attach mec at macebus
file arch/sgi/dev/if_mec.c mec
# Moosehead A/V Board audio
device mavb: audio
attach mavb at macebus
file arch/sgi/dev/mavb.c mavb
# MACE PS/2 Controller
device mkbc: pckbcslot
attach mkbc at macebus
file arch/sgi/dev/mkbc.c mkbc needs-flag
# Power button
device power
attach power at macebus with power_macebus
attach power at mainbus with power_mainbus
file arch/sgi/dev/power.c power |
power_macebus | power_mainbus
needs-flag
# Raster operations
include "dev/rasops/files.rasops"
include "dev/wsfont/files.wsfont"
#
# wscons console
#
include "dev/wscons/files.wscons"
#
# CardBus and PCMCIA bus support
#
include "dev/cardbus/files.cardbus"
include "dev/pcmcia/files.pcmcia"
#
# Machine-independent USB drivers
#
include "dev/usb/files.usb"
#
# Number-In-a-Can containers
#
# Ethernet address
device owmac
attach owmac at onewire
file arch/sgi/dev/owmac.c owmac
# Serial numbers
device owserial
attach owserial at onewire
file arch/sgi/dev/owserial.c owserial
file arch/sgi/dev/owmem_subr.c owmac | owserial
# IP35 SPD memory information
attach spdmem at mainbus with spdmem_mainbus
file arch/sgi/dev/spdmem_mainbus.c spdmem_mainbus
|