diff options
-rw-r--r-- | drivers/net/tsi108_eth.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/net/tsi108_eth.c b/drivers/net/tsi108_eth.c index 2e87876d6626..5a730ba8b1a2 100644 --- a/drivers/net/tsi108_eth.c +++ b/drivers/net/tsi108_eth.c | |||
@@ -297,18 +297,11 @@ static void tsi108_check_phy(struct net_device *dev) | |||
297 | u32 speed; | 297 | u32 speed; |
298 | unsigned long flags; | 298 | unsigned long flags; |
299 | 299 | ||
300 | /* Do a dummy read, as for some reason the first read | ||
301 | * after a link becomes up returns link down, even if | ||
302 | * it's been a while since the link came up. | ||
303 | */ | ||
304 | |||
305 | spin_lock_irqsave(&phy_lock, flags); | 300 | spin_lock_irqsave(&phy_lock, flags); |
306 | 301 | ||
307 | if (!data->phy_ok) | 302 | if (!data->phy_ok) |
308 | goto out; | 303 | goto out; |
309 | 304 | ||
310 | tsi108_read_mii(data, MII_BMSR); | ||
311 | |||
312 | duplex = mii_check_media(&data->mii_if, netif_msg_link(data), data->init_media); | 305 | duplex = mii_check_media(&data->mii_if, netif_msg_link(data), data->init_media); |
313 | data->init_media = 0; | 306 | data->init_media = 0; |
314 | 307 | ||