From: Alexander Duyck Date: Sat, 22 Nov 2008 05:30:24 +0000 (-0800) Subject: igb: do not use phy ops in ethtool test cleanup for non-copper parts X-Git-Tag: v2.6.29-rc1~581^2~541 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f5f4cf08467db10de061a1b90037a56a360d3554;p=pandora-kernel.git igb: do not use phy ops in ethtool test cleanup for non-copper parts Currently the igb driver is experiencing a panic due to a null function pointer being used during the cleanup of the ethtool looback test on fiber/serdes parts. This patch prevents that and adds a check prior to calling any phy function. Signed-off-by: Alexander Duyck Signed-off-by: Jeff Kirsher Signed-off-by: David S. Miller --- Reading git-diff-tree failed