aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/e1000e/82571.c
diff options
context:
space:
mode:
authorBruce Allan <bruce.w.allan@intel.com>2008-11-21 19:57:36 -0500
committerDavid S. Miller <davem@davemloft.net>2008-11-21 19:57:36 -0500
commit5c48ef3e2028677a890d46d9a38b19174274f2e9 (patch)
tree1ef4a75e9054eafa127609bd31f7999dc1fe085f /drivers/net/e1000e/82571.c
parent8f12fe8653eb699a6bc4f88f1a80312466ea2b0e (diff)
e1000e: sync change flow control variables with ixgbe
Sync flow control variables and usage model with that found in the ixgbe driver. Signed-off-by: Bruce Allan <bruce.w.allan@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/e1000e/82571.c')
-rw-r--r--drivers/net/e1000e/82571.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/e1000e/82571.c b/drivers/net/e1000e/82571.c
index 11e72b64e87d..60c15cbbc401 100644
--- a/drivers/net/e1000e/82571.c
+++ b/drivers/net/e1000e/82571.c
@@ -1118,8 +1118,8 @@ static s32 e1000_setup_link_82571(struct e1000_hw *hw)
1118 * set it to full. 1118 * set it to full.
1119 */ 1119 */
1120 if ((hw->mac.type == e1000_82573 || hw->mac.type == e1000_82574) && 1120 if ((hw->mac.type == e1000_82573 || hw->mac.type == e1000_82574) &&
1121 hw->fc.type == e1000_fc_default) 1121 hw->fc.requested_mode == e1000_fc_default)
1122 hw->fc.type = e1000_fc_full; 1122 hw->fc.requested_mode = e1000_fc_full;
1123 1123
1124 return e1000e_setup_link(hw); 1124 return e1000e_setup_link(hw);
1125} 1125}