diff options
author | Joe Schultz <jschultz@xes-inc.com> | 2015-11-03 21:37:24 +0300 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2015-12-15 03:04:05 +0300 |
commit | 3627f8f1d137f6487e51ff1199a54a087a2a6446 (patch) | |
tree | cb20e29a5d2acdac0d0ea10ad92608b0c64e0f74 /drivers/net/ethernet/intel/igb/e1000_hw.h | |
parent | 06b0dd64923b5598a52de4c889a116c49493bf97 (diff) | |
download | linux-3627f8f1d137f6487e51ff1199a54a087a2a6446.tar.xz |
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.h | 1 |
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; |