summaryrefslogtreecommitdiff
path: root/sys/arch/sgi/conf/files.sgi
blob: 8aa4b3993de1dc8a23907e3dd9639df9fcbb4d8e (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
192
193
194
195
196
197
198
199
200
201
202
203
#	$OpenBSD: files.sgi,v 1.41 2009/11/18 19:03:25 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/ip27_machdep.c		tgt_origin
file	arch/sgi/sgi/ip30_machdep.c		tgt_octane
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"

#
#	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

#
#	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"

#
#	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 macebus with dsrtc_macebus
attach	dsrtc at ioc with dsrtc_ioc
attach	dsrtc at iof with dsrtc_iof
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
include	"dev/pckbc/files.pckbc"
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