summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/ixgbe/ixgbe_type.h
diff options
context:
space:
mode:
authorMark Rustad <mark.d.rustad@intel.com>2015-06-25 17:49:57 -0700
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2015-09-01 17:08:18 -0700
commitae8140aa6bf5c7aafc0d9c2f612c5b59bea1ce9f (patch)
tree877c6ea37a9f286f808e430d8746411d793529a9 /drivers/net/ethernet/intel/ixgbe/ixgbe_type.h
parent897b9349f056d1c1cf5141ded4ec26766d845f8b (diff)
downloadop-kernel-dev-ae8140aa6bf5c7aafc0d9c2f612c5b59bea1ce9f.zip
op-kernel-dev-ae8140aa6bf5c7aafc0d9c2f612c5b59bea1ce9f.tar.gz
ixgbe: Avoid needless PHY access on copper phys
Avoid a needless PHY access on copper phys to save the 10ms wait time for each PHY access. A helper function is introduced to actually do the register access and process the contents. Signed-off-by: Mark Rustad <mark.d.rustad@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/ixgbe/ixgbe_type.h')
-rw-r--r--drivers/net/ethernet/intel/ixgbe/ixgbe_type.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/intel/ixgbe/ixgbe_type.h b/drivers/net/ethernet/intel/ixgbe/ixgbe_type.h
index a3eec19..6368919 100644
--- a/drivers/net/ethernet/intel/ixgbe/ixgbe_type.h
+++ b/drivers/net/ethernet/intel/ixgbe/ixgbe_type.h
@@ -3384,6 +3384,7 @@ struct ixgbe_phy_info {
u32 phy_semaphore_mask;
bool reset_disable;
ixgbe_autoneg_advertised autoneg_advertised;
+ ixgbe_link_speed speeds_supported;
enum ixgbe_smart_speed smart_speed;
bool smart_speed_active;
bool multispeed_fiber;
OpenPOWER on IntegriCloud