e1000: omit stats for broken counter in 82543
authorJeff Garzik <jeff@garzik.org>
Fri, 15 Dec 2006 15:41:15 +0000 (10:41 -0500)
committerJeff Garzik <jeff@garzik.org>
Tue, 26 Dec 2006 20:51:28 +0000 (15:51 -0500)
commit167fb2841633edd2812e385af4b593d870abd15a
tree0199485f6443ae08f7499fcb0537814f6d66fd04
parentbd2371ebcc71d0a276ae341d735326a8beab6627
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>
drivers/net/e1000/e1000_hw.c
drivers/net/e1000/e1000_hw.h
drivers/net/e1000/e1000_main.c