Fix GE0/GE1 init on ix2-200 as GE0 has no PHY
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
This commit is contained in:
committed by
Jason Cooper
parent
8f08d66672
commit
aaaf165b24
@ -20,10 +20,15 @@ static struct mv643xx_eth_platform_data iomega_ix2_200_ge00_data = {
|
|||||||
.duplex = DUPLEX_FULL,
|
.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)
|
void __init iomega_ix2_200_init(void)
|
||||||
{
|
{
|
||||||
/*
|
/*
|
||||||
* Basic setup. Needs to be called early.
|
* 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);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user