diff options
author | Nick Nunley <nicholasx.d.nunley@intel.com> | 2010-02-17 01:03:58 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-02-17 13:21:36 -0800 |
commit | 43915c7c9a99e38406103d9c72b73edeaa19d0ff (patch) | |
tree | 8bd6a84a28892e973b0e71c8baa4e68df90ed7ef /kernel/rcutorture.c | |
parent | e6bdb6fefc590ad2fb5f79e1d1d3660afbc7c8ff (diff) |
igb: only read phy specific stats if in internal phy mode
There are a couple statistics registers that are not meant to
be read when in SGMII/serdes mode. This patch adds a check to
verify mode before reading and updating these statistics.
Signed-off-by: Nicholas Nunley <nicholasx.d.nunley@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'kernel/rcutorture.c')
0 files changed, 0 insertions, 0 deletions