projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee294dc
)
[PATCH] skge: avoid up/down on pause param changes
author
Stephen Hemminger
<shemminger@osdl.org>
Wed, 14 Dec 2005 23:47:45 +0000
(15:47 -0800)
committer
Jeff Garzik
<jgarzik@pobox.com>
Sat, 24 Dec 2005 14:36:05 +0000
(09:36 -0500)
Change the pause settings doesn't need to cause link to go down/up.
It can be handled by the phy_reset code.
Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
drivers/net/skge.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/skge.c
b/drivers/net/skge.c
index f77658192a14f08ff49bb5a76a241efb97b8404c..14bf4cc5b07b17bd3b3a7746e011201c34b3de07 100644
(file)
--- a/
drivers/net/skge.c
+++ b/
drivers/net/skge.c
@@
-504,10
+504,8
@@
static int skge_set_pauseparam(struct net_device *dev,
else
skge->flow_control = FLOW_MODE_NONE;
- if (netif_running(dev)) {
- skge_down(dev);
- skge_up(dev);
- }
+ if (netif_running(dev))
+ skge_phy_reset(skge);
return 0;
}