Skip to content
This repository has been archived by the owner on Aug 27, 2022. It is now read-only.

Commit

Permalink
Fix GE0/GE1 init on ix2-200 as GE0 has no PHY
Browse files Browse the repository at this point in the history
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
  • Loading branch information
ennarr authored and Jason Cooper committed Apr 10, 2013
1 parent 8f08d66 commit aaaf165
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion arch/arm/mach-kirkwood/board-iomega_ix2_200.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

0 comments on commit aaaf165

Please sign in to comment.