diff options
author | Jeff Garzik <jeff@garzik.org> | 2006-12-15 17:16:33 +0100 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2006-12-26 21:51:30 +0100 |
commit | 15e376b4eed2575b323d575403569ec1b5f63fda (patch) | |
tree | 899b08b94f5f3805b417bc827c0cd9d85e5a167c /drivers/net/e1000/e1000_hw.c | |
parent | [PATCH] e1000: Make the copybreak value a module parameter (diff) | |
download | linux-15e376b4eed2575b323d575403569ec1b5f63fda.tar.xz linux-15e376b4eed2575b323d575403569ec1b5f63fda.zip |
e1000: 3 new driver stats for managability testing
Add 3 extra packet redirect counters for tracking purposes to make sure
we can test that all packets arrive properly.
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.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/e1000/e1000_hw.c b/drivers/net/e1000/e1000_hw.c index 5a6a61ecb27d..9be44699300b 100644 --- a/drivers/net/e1000/e1000_hw.c +++ b/drivers/net/e1000/e1000_hw.c @@ -458,6 +458,9 @@ e1000_set_mac_type(struct e1000_hw *hw) if (hw->mac_type == e1000_80003es2lan) hw->rx_needs_kicking = TRUE; + if (hw->mac_type > e1000_82544) + hw->has_smbus = TRUE; + return E1000_SUCCESS; } |