|
@@ -1361,7 +1361,7 @@ static int greth_mdio_init(struct greth_private *greth)
|
|
timeout = jiffies + 6*HZ;
|
|
timeout = jiffies + 6*HZ;
|
|
while (!phy_aneg_done(greth->phy) && time_before(jiffies, timeout)) {
|
|
while (!phy_aneg_done(greth->phy) && time_before(jiffies, timeout)) {
|
|
}
|
|
}
|
|
- genphy_read_status(greth->phy);
|
|
|
|
|
|
+ phy_read_status(greth->phy);
|
|
greth_link_change(greth->netdev);
|
|
greth_link_change(greth->netdev);
|
|
}
|
|
}
|
|
|
|
|