aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/e1000/e1000_hw.c
diff options
context:
space:
mode:
authorJeff Garzik <jeff@garzik.org>2006-12-15 11:06:17 -0500
committerJeff Garzik <jeff@garzik.org>2006-12-26 15:51:30 -0500
commitbb8e3311ef9de8e72f45f910e4a977c313c7009c (patch)
treebcf4b5b900face868506bc50a5e7a23338198efb /drivers/net/e1000/e1000_hw.c
parent72f3ab7462f4e153d1e8ac78e379716ad71d6923 (diff)
e1000: workaround for the ESB2 NIC RX unit issue
In rare occasions, ESB2 systems would end up started without the RX unit being turned on. Add a check that runs post-init to work around this issue. Originally from Jesse Brandeburg <jesse.brandeburg@intel.com>, rewritten to use feature flags by me. Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/e1000/e1000_hw.c')
-rw-r--r--drivers/net/e1000/e1000_hw.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/net/e1000/e1000_hw.c b/drivers/net/e1000/e1000_hw.c
index 1ea556ef093b..ea7b371e9119 100644
--- a/drivers/net/e1000/e1000_hw.c
+++ b/drivers/net/e1000/e1000_hw.c
@@ -452,6 +452,12 @@ e1000_set_mac_type(struct e1000_hw *hw)
452 if (hw->mac_type >= e1000_82571) 452 if (hw->mac_type >= e1000_82571)
453 hw->has_manc2h = TRUE; 453 hw->has_manc2h = TRUE;
454 454
455 /* In rare occasions, ESB2 systems would end up started without
456 * the RX unit being turned on.
457 */
458 if (hw->mac_type == e1000_80003es2lan)
459 hw->rx_needs_kicking = TRUE;
460
455 return E1000_SUCCESS; 461 return E1000_SUCCESS;
456} 462}
457 463