summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@linux-foundation.org>2007-04-08 01:02:26 +0200
committerJeff Garzik <jeff@garzik.org>2007-04-11 17:54:42 +0200
commit9a87240c67565578a9533101b930ef4a975be333 (patch)
treedfa1b9bdbc6fa713e64b82d690050ccdccf3762a /drivers
parentskge: turn carrier off when down (diff)
downloadlinux-9a87240c67565578a9533101b930ef4a975be333.tar.xz
linux-9a87240c67565578a9533101b930ef4a975be333.zip
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')
-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 ab0ab92583fe..45c4525a46e4 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);