Skip to contentSkip to conversation

igc: Remove the polarity field from a PHY information structure

PATCH New Sasha Neftin 2 participants 4 messages Jun 23, 2019 – Jul 16, 2019

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/2 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.

---
 drivers/net/ethernet/intel/igc/igc_hw.h | 6 ------
 1 file changed, 6 deletions(-)
drivers/net/ethernet/intel/igc/igc_hw.h +0 -6
index 1039a224ac80..f689f0a02b5d 100644
@@ -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;
Signature · 1 line
2.11.0
#1 lore raw

PATCH 2/2 igc: Remove the unused field from a device specification structure

This patch comes to clean up the device specification structure.

---
 drivers/net/ethernet/intel/igc/igc_hw.h | 5 -----
 1 file changed, 5 deletions(-)
drivers/net/ethernet/intel/igc/igc_hw.h +0 -5
index f689f0a02b5d..9a338fbf671c 100644
@@ -184,12 +184,7 @@ struct igc_fc_info {
 };
 
 struct igc_dev_spec_base {
-	bool global_device_reset;
-	bool eee_disable;
 	bool clear_semaphore_once;
-	bool module_plugged;
-	u8 media_port;
-	bool mas_capable;
 };
 
 struct igc_hw {
Signature · 1 line
2.11.0
#2 lore raw

PATCH 2/2 igc: Remove the unused field from a device specification structure

Quoted 6 lines · Sasha Neftin

This patch comes to clean up the device specification structure.

---
 drivers/net/ethernet/intel/igc/igc_hw.h | 5 -----
 1 file changed, 5 deletions(-)