aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/sky2.c
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@osdl.org>2005-12-09 14:35:10 -0500
committerJeff Garzik <jgarzik@pobox.com>2005-12-12 15:27:22 -0500
commit585b56012f08a6edc598d17b28a6c434134bfaff (patch)
tree4273e79cb7c933f30da7f3e3dc72ac523b39384a /drivers/net/sky2.c
parentd70cd51ac0585a9273abea4c333e8f0dd8385d27 (diff)
[PATCH] sky2: turn on tx flow control
Turn symmetric flow control on by default. This was an oversight in the initial versions. Signed-off-by: Stephen HEmminger <shemminger@osdl.org> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
Diffstat (limited to 'drivers/net/sky2.c')
-rw-r--r--drivers/net/sky2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/sky2.c b/drivers/net/sky2.c
index 39916e7cf6f9..cdcbf727f884 100644
--- a/drivers/net/sky2.c
+++ b/drivers/net/sky2.c
@@ -2921,7 +2921,7 @@ static __devinit struct net_device *sky2_init_netdev(struct sky2_hw *hw,
2921 spin_lock_init(&sky2->tx_lock); 2921 spin_lock_init(&sky2->tx_lock);
2922 /* Auto speed and flow control */ 2922 /* Auto speed and flow control */
2923 sky2->autoneg = AUTONEG_ENABLE; 2923 sky2->autoneg = AUTONEG_ENABLE;
2924 sky2->tx_pause = 0; 2924 sky2->tx_pause = 1;
2925 sky2->rx_pause = 1; 2925 sky2->rx_pause = 1;
2926 sky2->duplex = -1; 2926 sky2->duplex = -1;
2927 sky2->speed = -1; 2927 sky2->speed = -1;