summaryrefslogtreecommitdiff
path: root/sys/arch/macppc/conf/files.macppc
blob: d6c91c67f3eceb72d08935d950c369c7857285f7 (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
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
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
#	$OpenBSD: files.macppc,v 1.42 2005/12/20 01:36:10 brad Exp $

#
# macppc-specific configuration info
#
maxpartitions 16

maxusers 2 8 64

file	arch/macppc/macppc/autoconf.c
file	arch/macppc/macppc/clock.c
file	arch/macppc/macppc/conf.c
file	arch/macppc/macppc/disksubr.c			disk
file	arch/macppc/macppc/machdep.c
file	arch/macppc/macppc/wscons_machdep.c
file	arch/macppc/macppc/mem.c
file	arch/macppc/macppc/dma.c
file	arch/macppc/macppc/ofw_machdep.c
file	arch/macppc/macppc/openfirm.c
file	dev/cninit.c
file	arch/macppc/macppc/ofwreal.S
file	arch/macppc/macppc/db_interface.c		ddb

#
# Media Independent Interface (mii)
#
include "../../../dev/mii/files.mii"

#
# MAC generic
#
file	arch/macppc/dev/dbdma.c

#
# Openfirmware support
#

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

device	cpu
attach	cpu at mainbus
file	arch/macppc/macppc/cpu.c

include "../../../dev/ofw/files.ofw"
file	arch/macppc/macppc/opendev.c
major	{ofdisk = 4}


device	memc {}
attach	memc at mainbus
file	arch/macppc/dev/uni_n.c				memc

major	{rd = 17}
major	{wd = 0}
major	{sd = 2}
major	{cd = 3}

include "../../../scsi/files.scsi"

#
# I2O
#
include "../../../dev/i2o/files.i2o"

include "dev/pci/files.pci"
file	arch/macppc/pci/pciide_machdep.c		pciide

device	mpcpcibr {} : pcibus
attach	mpcpcibr at mainbus
file	arch/macppc/pci/mpcpcibus.c			mpcpcibr
file	arch/macppc/pci/pci_addr_fixup.c		mpcpcibr

device  ht {} : pcibus
attach	ht at mainbus
file	arch/macppc/pci/ht.c				ht

device	smu {} : i2cbus
attach	smu at mainbus
file	arch/macppc/dev/smu.c				smu
file	dev/clock_subr.c				smu

#
# "workstation console" routines
#

include "dev/wscons/files.wscons"

#
# mac peripheral pieces.
#

#file	arch/macppc/pci/bandit.c			pci

#PCI-Host bridge chipsets
device	pchb
attach	pchb at pci
file	arch/macppc/pci/pchb.c				pchb


#
# Machine-independent ATAPI drivers
#

include "../../../dev/atapiscsi/files.atapiscsi"
include "../../../dev/ata/files.ata"

# MAC periph

device	macobio {}
attach	macobio at pci
file	arch/macppc/pci/macobio.c			macobio


# kauai ATA glue
device	kauaiata {}
attach	kauaiata at pci 
file	arch/macppc/pci/kauaiata.c			kauaiata needs-flag

#device	esp: scsi, ncr53c9x
#attach	esp at macobio
#file	arch/macppc/dev/esp.c				esp

device	mesh: scsi
attach	mesh at macobio
file	arch/macppc/dev/mesh.c				mesh

#device	mc: ifnet, ether
#attach	mc at macobio
#file	arch/macppc/dev/if_mc.c				mc
#file	arch/macppc/dev/am79c950.c			mc

device	bm: ether, ifnet, ifmedia, mii, mii_bitbang
attach	bm at macobio
file	arch/macppc/dev/if_bm.c				bm

device	macintr {}
attach	macintr at macobio
file	arch/macppc/dev/macintr.c			macintr

device	openpic {}
attach	openpic at macobio, memc
file	arch/macppc/dev/openpic.c			openpic

device	zsc {[channel = -1]}
attach	zsc at macobio
file	arch/macppc/dev/zs.c				zsc needs-flag
file	arch/macppc/dev/z8530sc.c			zsc

device	zstty: tty
attach	zstty at zsc
file	arch/macppc/dev/z8530tty.c			zstty needs-flag

device	adb {}
attach	adb at macobio
file	arch/macppc/dev/adb.c				adb needs-flag
file	arch/macppc/dev/adb_direct.c			adb
file	arch/macppc/dev/pm_direct.c			adb

device	apm
attach	apm at adb
file	arch/macppc/dev/apm.c				apm needs-count

device	aed
attach	aed at adb
file	arch/macppc/dev/aed.c				aed needs-flag

device	akbd: wskbddev
attach	akbd at adb
file	arch/macppc/dev/akbd.c				akbd needs-flag

device	ams: wsmousedev
attach	ams at adb
file	arch/macppc/dev/ams.c				ams

device	abtn
attach	abtn at adb
file	arch/macppc/dev/abtn.c				abtn

device	awacs: audio, auconv, mulaw
attach	awacs at macobio
file	arch/macppc/dev/awacs.c				awacs

# Mediabay
device	mediabay {}
attach	mediabay at macobio
file	arch/macppc/dev/mediabay.c			mediabay

# Keywest I2C
device	ki2c {}
attach	ki2c at macobio
attach	ki2c at memc	with ki2c_memc
file	arch/macppc/dev/ki2c.c				ki2c

# PMU I2C
device	pi2c {}
attach	pi2c at adb
file	arch/macppc/dev/pi2c.c				pi2c

# I2S
define	i2s
file	arch/macppc/dev/i2s.c				i2s

# snapper audio
device	snapper: audio, auconv, mulaw, i2s
attach	snapper at macobio
file	arch/macppc/dev/snapper.c			snapper

# tumbler audio
device	tumbler: audio, auconv, mulaw, i2s
attach	tumbler at macobio
file	arch/macppc/dev/tumbler.c			tumbler

# onyx audio
device	onyx: audio, auconv, mulaw, i2s
attach	onyx at macobio
file	arch/macppc/dev/onyx.c				onyx

# aoa audio
device	aoa: audio, auconv, mulaw, i2s
attach	aoa at macobio
file	arch/macppc/dev/aoa.c				aoa

# daca audio
device	daca: audio, auconv, mulaw, i2s
attach	daca at macobio
file	arch/macppc/dev/daca.c				daca

#device	nvram
#attach	nvram at macobio
#file	arch/macppc/dev/nvram.c				nvram needs-flag

device	macgpio {}
attach	macgpio at macobio with macgpio
attach	macgpio at macgpio with macgpio_gpio
file	arch/macppc/dev/macgpio.c			macgpio

attach	wdc at mediabay, macobio, kauaiata with wdc_obio
file	arch/macppc/dev/wdc_obio.c			wdc_obio

attach	wi at macobio with wi_obio
file	arch/macppc/dev/if_wi_obio.c			wi_obio

# Raster operations
include "dev/rasops/files.rasops"
include "dev/wsfont/files.wsfont"

# VGA framebuffer
device	vgafb: wsemuldisplaydev, rasops8, rasops16, rasops32
file	arch/macppc/pci/vgafb.c				vgafb & vgafb_pci

# Generic VGA Framebuffer version
attach	vgafb at pci with vgafb_pci
file	arch/macppc/pci/vgafb_pci.c			vgafb_pci needs-flag

#
# CARDBUS
#
include	"dev/cardbus/files.cardbus"
file	arch/macppc/macppc/rbus_machdep.c		cardbus

#
# Machine-independent PCMCIA drivers
#
include "dev/pcmcia/files.pcmcia"

#
# Machine-independent USB drivers
#
include "dev/usb/files.usb"

#
# Machine-independent I2C drivers
#
include "dev/i2c/files.i2c"

device	maciic {} : i2c
attach	maciic at ki2c, pi2c, smu
file	arch/macppc/dev/maci2c.c			maciic

#
# Machine-independent GPIO drivers
#
include "dev/gpio/files.gpio"

# Sun HME Ethernet controllers
device	hme: ether, ifnet, mii, ifmedia
file	dev/ic/hme.c

attach	hme at pci with hme_pci
file	dev/pci/if_hme_pci.c				hme_pci

device	tpms: hid, wsmousedev
attach	tpms at uhidbus
file	arch/macppc/dev/tpms.c				tpms