]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
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 f655b2637b0e2b4822efc185c499095c44bc6b9e..e5f70415905a998e919b5b4aabe8d3121fa8a81e 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);
 }