summaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
authorNigel Roberts <nigel@nobiscuit.com>2013-03-31 06:13:24 +0200
committerJason Cooper <jason@lakedaemon.net>2013-04-10 18:50:58 +0200
commitaaaf165b247a1a8ea5cd2936d9fd1eefe5e580f9 (patch)
treed944606a4de38c2d1b7ec1d4b346f362d95a7dc5 /arch/arm
parentARM: Kirkwood: Fix typo in the definition of ix2-200 rebuild LED (diff)
downloadlinux-aaaf165b247a1a8ea5cd2936d9fd1eefe5e580f9.tar.xz
linux-aaaf165b247a1a8ea5cd2936d9fd1eefe5e580f9.zip
Fix GE0/GE1 init on ix2-200 as GE0 has no PHY
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/mach-kirkwood/board-iomega_ix2_200.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/arch/arm/mach-kirkwood/board-iomega_ix2_200.c b/arch/arm/mach-kirkwood/board-iomega_ix2_200.c
index f655b2637b0e..e5f70415905a 100644
--- a/arch/arm/mach-kirkwood/board-iomega_ix2_200.c
+++ b/arch/arm/mach-kirkwood/board-iomega_ix2_200.c
@@ -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);
}