Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit aaaf165b authored by Nigel Roberts's avatar Nigel Roberts Committed by Jason Cooper
Browse files

Fix GE0/GE1 init on ix2-200 as GE0 has no PHY

parent 8f08d666
Loading
Loading
Loading
Loading
+6 −1
Original line number Original line Diff line number Diff line
@@ -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);
}
}