commit | f5f4cf08467db10de061a1b90037a56a360d3554 | [log] [tgz] |
---|---|---|
author | Alexander Duyck <alexander.h.duyck@intel.com> | Fri Nov 21 21:30:24 2008 -0800 |
committer | David S. Miller <davem@davemloft.net> | Fri Nov 21 21:30:24 2008 -0800 |
tree | f590f5a39dca1a57012f5eb62302ca56b7d3e27a | |
parent | 21fc578dcaa66dd30bad3c2f2cd7578e2865e8f2 [diff] |
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 <alexander.h.duyck@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>