projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e5b9ddd
)
sky2: turn carrier off when down
author
Stephen Hemminger
<shemminger@linux-foundation.org>
Sat, 7 Apr 2007 23:02:26 +0000
(16:02 -0700)
committer
Jeff Garzik
<jeff@garzik.org>
Wed, 11 Apr 2007 15:54:42 +0000
(11:54 -0400)
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>
drivers/net/sky2.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/sky2.c
b/drivers/net/sky2.c
index ab0ab92583fe427a0568cbb87c5571b918909998..45c4525a46e40704220158d56cf027adb27a026d 100644
(file)
--- 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);