projects
/
unionfs-2.6.39.y.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
35688b9
)
sky2: turn carrier off when down
author
Stephen Hemminger
<shemminger@linux-foundation.org>
Fri, 13 Apr 2007 18:32:35 +0000
(20:32 +0200)
committer
Adrian Bunk
<bunk@stusta.de>
Fri, 13 Apr 2007 20:58:23 +0000
(22:58 +0200)
Driver needs to turn off carrier when down.
Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
drivers/net/sky2.c
patch
|
blob
|
history
diff --git
a/drivers/net/sky2.c
b/drivers/net/sky2.c
index 7c3a90354a70754d10fcb20e0b5af41956cc5a72..220ea49a4340a8363a123adefdb86e5af2edaa04 100644
(file)
--- a/
drivers/net/sky2.c
+++ b/
drivers/net/sky2.c
@@
-1427,6
+1427,7
@@
static int sky2_down(struct net_device *dev)
/* Stop more packets from being queued */
netif_stop_queue(dev);
+ netif_carrier_off(dev);
/*
* Both ports share the NAPI poll on port 0, so if necessary undo the