aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/igb/e1000_hw.h
diff options
context:
space:
mode:
authorJoe Schultz <jschultz@xes-inc.com>2015-11-03 12:37:24 -0600
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2015-12-14 16:04:05 -0800
commit3627f8f1d137f6487e51ff1199a54a087a2a6446 (patch)
treecb20e29a5d2acdac0d0ea10ad92608b0c64e0f74 /drivers/net/ethernet/intel/igb/e1000_hw.h
parentigb: Don't add PHY address to PCDL address (diff)
downloadlinux-dev-3627f8f1d137f6487e51ff1199a54a087a2a6446.tar.xz
linux-dev-3627f8f1d137f6487e51ff1199a54a087a2a6446.zip
igb: Improve cable length function for I210, etc.
Previously, the PHY-specific code to get the cable length for the I210 internal and related PHYs was reporting the cable length of a single pair and reporting it as the min, max, and total cable length. Update it so that all four pairs are checked so the true min, max, and average cable lengths are reported. Signed-off-by: Joe Schultz <jschultz@xes-inc.com> Signed-off-by: Aaron Sierra <asierra@xes-inc.com> Tested-by: Aaron Brown <aaron.f.brown@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/igb/e1000_hw.h')
-rw-r--r--drivers/net/ethernet/intel/igb/e1000_hw.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/intel/igb/e1000_hw.h b/drivers/net/ethernet/intel/igb/e1000_hw.h
index 2003b3756ba2..4034207eb5cc 100644
--- a/drivers/net/ethernet/intel/igb/e1000_hw.h
+++ b/drivers/net/ethernet/intel/igb/e1000_hw.h
@@ -441,6 +441,7 @@ struct e1000_phy_info {
u16 cable_length;
u16 max_cable_length;
u16 min_cable_length;
+ u16 pair_length[4];
u8 mdix;