aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Brandeburg <jesse.brandeburg@intel.com>2006-12-15 04:38:32 -0500
committerJeff Garzik <jeff@garzik.org>2006-12-26 15:51:30 -0500
commitd89b6c6750e7d7527603b573ec60ba787f5c04a6 (patch)
treecdfefc75250724a56664fcc6840dec922340d6f4
parentc3813ae6615107cc93c79200f477ffd2a870c8ab (diff)
[PATCH] e1000: narrow down the scope of the tipg timer tweak
the driver has (ancient) code for messing with TIPG from the 82542 days. Unfortunately this code was running on our current adapters and setting TIPG for fiber to be +1 over the copper value. This caused 1.45Mpps to be sent instead of 1.487Mpps. Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com> Signed-off-by: Auke Kok <auke-jan.h.kok@intel.com> Signed-off-by: Arjan van de Ven <arjan@linux.intel.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
-rw-r--r--drivers/net/e1000/e1000_main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/e1000/e1000_main.c b/drivers/net/e1000/e1000_main.c
index 0d7c458168d3..e04f1ba847fd 100644
--- a/drivers/net/e1000/e1000_main.c
+++ b/drivers/net/e1000/e1000_main.c
@@ -1582,9 +1582,9 @@ e1000_configure_tx(struct e1000_adapter *adapter)
1582 } 1582 }
1583 1583
1584 /* Set the default values for the Tx Inter Packet Gap timer */ 1584 /* Set the default values for the Tx Inter Packet Gap timer */
1585 1585 if (adapter->hw.mac_type <= e1000_82547_rev_2 &&
1586 if (hw->media_type == e1000_media_type_fiber || 1586 (hw->media_type == e1000_media_type_fiber ||
1587 hw->media_type == e1000_media_type_internal_serdes) 1587 hw->media_type == e1000_media_type_internal_serdes))
1588 tipg = DEFAULT_82543_TIPG_IPGT_FIBER; 1588 tipg = DEFAULT_82543_TIPG_IPGT_FIBER;
1589 else 1589 else
1590 tipg = DEFAULT_82543_TIPG_IPGT_COPPER; 1590 tipg = DEFAULT_82543_TIPG_IPGT_COPPER;