summaryrefslogtreecommitdiff
path: root/drivers/net
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@linux-foundation.org>2007-04-07 23:02:26 (GMT)
committerJeff Garzik <jeff@garzik.org>2007-04-11 15:54:42 (GMT)
commit9a87240c67565578a9533101b930ef4a975be333 (patch)
treedfa1b9bdbc6fa713e64b82d690050ccdccf3762a /drivers/net
parente5b9ddd9a0f95e133db7b43d05978f24cd6f1369 (diff)
downloadlinux-fsl-qoriq-9a87240c67565578a9533101b930ef4a975be333.tar.xz
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>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/sky2.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/sky2.c b/drivers/net/sky2.c
index ab0ab92..45c4525 100644
--- a/drivers/net/sky2.c
+++ b/drivers/net/sky2.c
@@ -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);