aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@osdl.org>2005-12-14 18:47:45 -0500
committerJeff Garzik <jgarzik@pobox.com>2005-12-24 09:36:05 -0500
commite8df8554605f014765732605667145c0824a12b7 (patch)
tree1cc2a9230a90483ff86d67592764c9482c490dce /drivers
parentee294dcda1d5dea5b909164cdc459a8483ee2983 (diff)
[PATCH] skge: avoid up/down on pause param changes
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/skge.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/net/skge.c b/drivers/net/skge.c
index f77658192a14..14bf4cc5b07b 100644
--- a/drivers/net/skge.c
+++ b/drivers/net/skge.c
@@ -504,10 +504,8 @@ static int skge_set_pauseparam(struct net_device *dev,
504 else 504 else
505 skge->flow_control = FLOW_MODE_NONE; 505 skge->flow_control = FLOW_MODE_NONE;
506 506
507 if (netif_running(dev)) { 507 if (netif_running(dev))
508 skge_down(dev); 508 skge_phy_reset(skge);
509 skge_up(dev);
510 }
511 return 0; 509 return 0;
512} 510}
513 511