summaryrefslogtreecommitdiff
path: root/drivers/net/e1000/e1000_param.c
diff options
context:
space:
mode:
authorJeff Kirsher <jeffrey.t.kirsher@intel.com>2006-01-13 03:50:51 +0300
committerJeff Garzik <jgarzik@pobox.com>2006-01-17 15:44:50 +0300
commitf11b7f8535fab0f9196a7387e93dca5deaa5fff2 (patch)
treeff4f599bb8d8a7abd6d97d78756a9376f1bf8947 /drivers/net/e1000/e1000_param.c
parent4d351858e41145fa236730b7749e3aed18edef43 (diff)
downloadlinux-f11b7f8535fab0f9196a7387e93dca5deaa5fff2.tar.xz
[PATCH] e1000: Fix flow control water marks
Fixed flow control water marks based on PBA size. Store flow control state in original_fc in addition to fc. Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com> Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com> Signed-off-by: John Ronciak <john.ronciak@intel.com> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
Diffstat (limited to 'drivers/net/e1000/e1000_param.c')
-rw-r--r--drivers/net/e1000/e1000_param.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/e1000/e1000_param.c b/drivers/net/e1000/e1000_param.c
index b0be7d69af34..133a76b71b9c 100644
--- a/drivers/net/e1000/e1000_param.c
+++ b/drivers/net/e1000/e1000_param.c
@@ -388,7 +388,7 @@ e1000_check_options(struct e1000_adapter *adapter)
e1000_validate_option(&fc, &opt, adapter);
adapter->hw.fc = adapter->hw.original_fc = fc;
} else {
- adapter->hw.fc = opt.def;
+ adapter->hw.fc = adapter->hw.original_fc = opt.def;
}
}
{ /* Transmit Interrupt Delay */