From: Nick Nunley Date: Wed, 17 Feb 2010 01:03:58 +0000 (+0000) Subject: igb: only read phy specific stats if in internal phy mode X-Git-Tag: v2.6.34-rc1~233^2~224 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=43915c7c9a99e38406103d9c72b73edeaa19d0ff;p=pandora-kernel.git 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 Signed-off-by: Jeff Kirsher Signed-off-by: David S. Miller --- Reading git-diff-tree failed