]> git.baikalelectronics.ru Git - kernel.git/commit
ixgbe: Fix 1G and 10G link stability for X550EM_x SFP+
authorMark Rustad <mark.d.rustad@intel.com>
Sat, 8 Aug 2015 23:18:33 +0000 (16:18 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 24 Sep 2015 05:32:06 +0000 (22:32 -0700)
commitd23324eb0693020ef00b5a4dafd95935c03b924f
tree6e478621e6680a5e2a05718a964a13e489e19bef
parenteb331b048cb26b0137259b1f67fe7fb75ee1ab38
ixgbe: Fix 1G and 10G link stability for X550EM_x SFP+

Configures the CS4227 correctly for both 1G and 10G operation,
by moving the code to ixgbe_setup_mac_link_sfp_x550em(). It
needs to be in this function because we need both the module
type and the speed, and this is the only function in the init
flow that knows the speed. In contrast,
ixgbe_setup_sfp_modules_X550em() does not know the speed, so we
can't do anything useful here. This is a fundamental difference
from the previous flow, and is due to the way the CS4227 is
implemented.

Signed-off-by: Mark Rustad <mark.d.rustad@intel.com>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_phy.h
drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c