]> git.baikalelectronics.ru Git - kernel.git/commit
ixgbe: Set lan_id before using I2C
authorDon Skidmore <donald.c.skidmore@intel.com>
Wed, 10 Jun 2015 00:48:54 +0000 (17:48 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 10 Jun 2015 00:48:54 +0000 (17:48 -0700)
commit40e3b44c06c793f6746202529a04a8ec696cc43a
treebd4982e6390c4e7873a6f0124eff04f7c8583c22
parent728176a014af2a7d392603a58f6bdb9645a46763
ixgbe: Set lan_id before using I2C

We need to call the set_lan_id before accessing I2C and this wasn't
being done so this patch corrects that.  Likewise we do the same for
QSFP just to be consistent.

In the X550 case this is even more important as with out it the mux
is not controlled properly.

Signed-off-by: Don Skidmore <donald.c.skidmore@intel.com>
Tested-by: Krishneil Singh <krishneil.k.singh@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_x550.c