]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[POWERPC] mv643xx_eth: Prepare to support multiple silicon blocks
authorDale Farnsworth <dale@farnsworth.org>
Mon, 7 Apr 2008 22:11:27 +0000 (08:11 +1000)
committerPaul Mackerras <paulus@samba.org>
Tue, 15 Apr 2008 11:21:24 +0000 (21:21 +1000)
commita0916bd64a0e6636f0161480e04057c89e90c5da
treee69f5a97dfe6de72a4d88b69508fb3048ff1107d
parent1791f91bc794b7efc90719268146f582b9f29ead
[POWERPC] mv643xx_eth: Prepare to support multiple silicon blocks

The mv643xx_eth driver is being modified to support multiple instances
of the ethernet silicon block on the same platform.  Each block contains
a single register bank containing the registers for up to three ports
interleaved within that bank.  This patch updates the PowerPC OF to
platform_device glue code to support multiple silicon blocks, each
with up to three ethernet ports.  The main difference is that we now
allow multiple mv64x60_shared platform_devices to be registered and
we provide each port platform_device with a pointer to its associated
shared platform_device.  The pointer will not be used until the
mv643xx_eth driver changes are committed.

Signed-off-by: Dale Farnsworth <dale@farnsworth.org>
Acked-by: Mark Greer <mgreer@mvista.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/boot/dts/prpmc2800.dts
arch/powerpc/sysdev/mv64x60_dev.c