summaryrefslogtreecommitdiffstats
path: root/drivers/net/sky2.c
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@osdl.org>2005-12-09 11:35:10 -0800
committerJeff Garzik <jgarzik@pobox.com>2005-12-12 15:27:22 -0500
commit585b56012f08a6edc598d17b28a6c434134bfaff (patch)
tree4273e79cb7c933f30da7f3e3dc72ac523b39384a /drivers/net/sky2.c
parentd70cd51ac0585a9273abea4c333e8f0dd8385d27 (diff)
downloadop-kernel-dev-585b56012f08a6edc598d17b28a6c434134bfaff.zip
op-kernel-dev-585b56012f08a6edc598d17b28a6c434134bfaff.tar.gz
[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 39916e7..cdcbf72 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,
spin_lock_init(&sky2->tx_lock);
/* Auto speed and flow control */
sky2->autoneg = AUTONEG_ENABLE;
- sky2->tx_pause = 0;
+ sky2->tx_pause = 1;
sky2->rx_pause = 1;
sky2->duplex = -1;
sky2->speed = -1;
OpenPOWER on IntegriCloud