Fix GE0/GE1 init on ix2-200 as GE0 has no PHY
authorNigel Roberts <nigel@nobiscuit.com>
Sun, 31 Mar 2013 04:13:24 +0000 (15:13 +1100)
committerJason Cooper <jason@lakedaemon.net>
Wed, 10 Apr 2013 16:50:58 +0000 (16:50 +0000)
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
arch/arm/mach-kirkwood/board-iomega_ix2_200.c

index f655b26..e5f7041 100644 (file)
@@ -20,10 +20,15 @@ static struct mv643xx_eth_platform_data iomega_ix2_200_ge00_data = {
        .duplex         = DUPLEX_FULL,
 };
 
+static struct mv643xx_eth_platform_data iomega_ix2_200_ge01_data = {
+        .phy_addr       = MV643XX_ETH_PHY_ADDR(11),
+};
+
 void __init iomega_ix2_200_init(void)
 {
        /*
         * Basic setup. Needs to be called early.
         */
-       kirkwood_ge01_init(&iomega_ix2_200_ge00_data);
+       kirkwood_ge00_init(&iomega_ix2_200_ge00_data);
+       kirkwood_ge01_init(&iomega_ix2_200_ge01_data);
 }