From: Mark Rustad Date: Fri, 26 Jun 2015 00:49:57 +0000 (-0700) Subject: ixgbe: Avoid needless PHY access on copper phys X-Git-Tag: omap-for-v4.3/fixes-rc1~110^2~9^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ae8140aa6bf5c7aafc0d9c2f612c5b59bea1ce9f;p=pandora-kernel.git ixgbe: Avoid needless PHY access on copper phys Avoid a needless PHY access on copper phys to save the 10ms wait time for each PHY access. A helper function is introduced to actually do the register access and process the contents. Signed-off-by: Mark Rustad Signed-off-by: Jeff Kirsher --- Reading git-diff-tree failed