summaryrefslogtreecommitdiff
path: root/drivers/net/e1000/e1000_hw.h
diff options
context:
space:
mode:
authorJeff Garzik <jeff@garzik.org>2006-12-15 18:41:15 +0300
committerJeff Garzik <jeff@garzik.org>2006-12-26 23:51:28 +0300
commit167fb2841633edd2812e385af4b593d870abd15a (patch)
tree0199485f6443ae08f7499fcb0537814f6d66fd04 /drivers/net/e1000/e1000_hw.h
parentbd2371ebcc71d0a276ae341d735326a8beab6627 (diff)
downloadlinux-167fb2841633edd2812e385af4b593d870abd15a.tar.xz
e1000: omit stats for broken counter in 82543
The 82543 chip does not count tx_carrier_errors properly in FD mode; report zeros instead of garbage. 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.h')
-rw-r--r--drivers/net/e1000/e1000_hw.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/e1000/e1000_hw.h b/drivers/net/e1000/e1000_hw.h
index 28cdfe39e39a..fef1f7b4845b 100644
--- a/drivers/net/e1000/e1000_hw.h
+++ b/drivers/net/e1000/e1000_hw.h
@@ -1460,6 +1460,7 @@ struct e1000_hw {
boolean_t mng_reg_access_disabled;
boolean_t leave_av_bit_off;
boolean_t kmrn_lock_loss_workaround_disabled;
+ boolean_t bad_tx_carr_stats_fd;
};