]> www.infradead.org Git - users/jedix/linux-maple.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)
committerSantosh Shilimkar <santosh.shilimkar@oracle.com>
Thu, 27 Aug 2015 15:00:25 +0000 (08:00 -0700)
commitfbde3ef04ceb8c8f765c982e03dc67584cb28b7b
treef10e72c89770ccdf231ec8e8e825e02f28e580d1
parentddd2cc94210960971c5658b4a0bf53e04b073ceb
ixgbe: Set lan_id before using I2C

Orabug: 21669416

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>
(cherry picked from commit 7e49d6165e4a6c5df7f32c16976b33bfd830b92c)
Signed-off-by: Brian Maly <brian.maly@oracle.com>
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_phy.c
drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c