summaryrefslogtreecommitdiff
path: root/drivers/net
diff options
context:
space:
mode:
authorSasha Neftin <sasha.neftin@intel.com>2019-06-23 13:42:31 +0300
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2019-07-24 23:55:09 +0300
commit2b69286dbd999516b67147bd48360808d0abdfc1 (patch)
tree19afe9c7535ab11ac5b5d96c87587f47ade46aa1 /drivers/net
parent92493a2f8a8d5a5bc1188fc71ef02df859ebd932 (diff)
downloadlinux-2b69286dbd999516b67147bd48360808d0abdfc1.tar.xz
igc: Remove the polarity field from a PHY information structure
Polarity and cable length fields is not applicable for the i225 device. This patch comes to clean up PHY information structure. Signed-off-by: Sasha Neftin <sasha.neftin@intel.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')
-rw-r--r--drivers/net/ethernet/intel/igc/igc_hw.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/net/ethernet/intel/igc/igc_hw.h b/drivers/net/ethernet/intel/igc/igc_hw.h
index 1039a224ac80..f689f0a02b5d 100644
--- a/drivers/net/ethernet/intel/igc/igc_hw.h
+++ b/drivers/net/ethernet/intel/igc/igc_hw.h
@@ -151,16 +151,10 @@ struct igc_phy_info {
u16 autoneg_advertised;
u16 autoneg_mask;
- u16 cable_length;
- u16 max_cable_length;
- u16 min_cable_length;
- u16 pair_length[4];
u8 mdix;
- bool disable_polarity_correction;
bool is_mdix;
- bool polarity_correction;
bool reset_disable;
bool speed_downgraded;
bool autoneg_wait_to_complete;