]> git.baikalelectronics.ru Git - kernel.git/commit
ixgbe: Avoid needless PHY access on copper phys
authorMark Rustad <mark.d.rustad@intel.com>
Fri, 26 Jun 2015 00:49:57 +0000 (17:49 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 2 Sep 2015 00:08:18 +0000 (17:08 -0700)
commit284ee0eae86934d7cc6cc793a8dcac9ad33ef9e0
tree877c6ea37a9f286f808e430d8746411d793529a9
parentef730ef4170d8bc21907ad3fae25f110bcd28ba5
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>
drivers/net/ethernet/intel/ixgbe/ixgbe_phy.c
drivers/net/ethernet/intel/ixgbe/ixgbe_type.h