[ARM] Kirkwood: properly handle the WAN port on newer RD88F6281 boards
authorRonen Shitrit <rshitrit@marvell.com>
Sun, 19 Oct 2008 21:19:07 +0000 (23:19 +0200)
committerNicolas Pitre <nico@cam.org>
Thu, 11 Dec 2008 21:39:08 +0000 (16:39 -0500)
commit37787e449b39202afae13b6c47505ae9e977cae3
treef8e101bf22a709f34a3a92f1d7fa9e56cfd4b46b
parentd15fb9efe91b7198f2234783ab1d496ab1ee7b58
[ARM] Kirkwood: properly handle the WAN port on newer RD88F6281 boards

On newer versions of the RD88F6281 board, the WAN port is connected to
its own ethernet port on the CPU, via a separate PHY, whereas on older
versions of the board, it is connected to one of the PHYs in the
ethernet switch.  In the RD8F6281 setup code, detect which version of
the board we are running on, and instantiate the ethernet ports and
switch driver accordingly.

Signed-off-by: Ronen Shitrit <rshitrit@marvell.com>
Signed-off-by: Lennert Buytenhek <buytenh@marvell.com>
Signed-off-by: Nicolas Pitre <nico@marvell.com>
arch/arm/mach-kirkwood/rd88f6281-setup.c