]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ixgbe: Set lan_id before first I2C eeprom access
authorMark Rustad <mark.d.rustad@intel.com>
Sat, 8 Aug 2015 23:18:07 +0000 (16:18 -0700)
committerSantosh Shilimkar <santosh.shilimkar@oracle.com>
Mon, 12 Oct 2015 16:05:01 +0000 (09:05 -0700)
commitc879f3d86d8962aee186bb46e67c3bf087838780
treef68cb850fde8321b81ad9ddbac1008ba9e467d8d
parent4a79a71702e52bbf0ff79cc148c9a5ce371111c3
ixgbe: Set lan_id before first I2C eeprom access

Orabug: 21918732

The lan_id is being set after a previous I2C eeprom access which
makes no sense because it needs to be set before any access. Move
the setting to before the access.

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