Commit 7b5e078c authored by Mike Ditto's avatar Mike Ditto Committed by David S. Miller

forcedeth: Fix different hardware statistics versions.

The macros for the values of the bit field describing the four
different versions of statistics supported by different hardware
variants were being misused.  Where the code was trying to test if the
hardware implements V3, it was actually testing whether it implements
any of V1, V2, or V3, causing the driver to report statistics that
don't really exist in the hardware, with bogus values.
Signed-off-by: default avatarMike Ditto <mditto@google.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 1f4b1612
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment