diff options
author | Nigel Roberts <nigel@nobiscuit.com> | 2013-03-31 15:13:24 +1100 |
---|---|---|
committer | Jason Cooper <jason@lakedaemon.net> | 2013-04-10 16:50:58 +0000 |
commit | aaaf165b247a1a8ea5cd2936d9fd1eefe5e580f9 (patch) | |
tree | d944606a4de38c2d1b7ec1d4b346f362d95a7dc5 | |
parent | 8f08d6667287241f6818d35e02b223fb5df97cf1 (diff) | |
download | lwn-aaaf165b247a1a8ea5cd2936d9fd1eefe5e580f9.tar.gz lwn-aaaf165b247a1a8ea5cd2936d9fd1eefe5e580f9.zip |
Fix GE0/GE1 init on ix2-200 as GE0 has no PHY
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
-rw-r--r-- | arch/arm/mach-kirkwood/board-iomega_ix2_200.c | 7 |
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); } |