]> git.baikalelectronics.ru Git - kernel.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)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 22 Sep 2015 22:58:31 +0000 (15:58 -0700)
commita11cababad24cdbce1e450a110bf372b2b919907
tree3577e99f966d7dfd394ea793e2af2b544999e32c
parent7b3bf8089aaa4af2408c9b8d20d8b456729b3150
ixgbe: Set lan_id before first I2C eeprom access

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>
drivers/net/ethernet/intel/ixgbe/ixgbe_phy.c