]> 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)
commitf90850a85eed97f083f169712e6bb74f86db9a05
tree877c6ea37a9f286f808e430d8746411d793529a9
parent66054dbe0f5932e116e79a127e5f57c69c8e5d2a
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