forked from Minki/linux
sky2: turn carrier off when down
Driver needs to turn off carrier when down. Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org> Signed-off-by: Jeff Garzik <jeff@garzik.org>
This commit is contained in:
parent
e5b9ddd9a0
commit
9a87240c67
@ -1561,6 +1561,7 @@ static int sky2_down(struct net_device *dev)
|
||||
|
||||
/* Stop more packets from being queued */
|
||||
netif_stop_queue(dev);
|
||||
netif_carrier_off(dev);
|
||||
|
||||
/* Disable port IRQ */
|
||||
imask = sky2_read32(hw, B0_IMSK);
|
||||
|
Loading…
Reference in New Issue
Block a user