Commit 9a87240c authored by Stephen Hemminger's avatar Stephen Hemminger Committed by Jeff Garzik

sky2: turn carrier off when down

Driver needs to turn off carrier when down.
Signed-off-by: default avatarStephen Hemminger <shemminger@linux-foundation.org>
Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
parent e5b9ddd9
...@@ -1561,6 +1561,7 @@ static int sky2_down(struct net_device *dev) ...@@ -1561,6 +1561,7 @@ static int sky2_down(struct net_device *dev)
/* Stop more packets from being queued */ /* Stop more packets from being queued */
netif_stop_queue(dev); netif_stop_queue(dev);
netif_carrier_off(dev);
/* Disable port IRQ */ /* Disable port IRQ */
imask = sky2_read32(hw, B0_IMSK); imask = sky2_read32(hw, B0_IMSK);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment