]> git.karo-electronics.de Git - linux-beck.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)
commitda4ea4baf77c9e45c53671e465043ffaf26fd45d
tree3577e99f966d7dfd394ea793e2af2b544999e32c
parentbb5ce9a5cb6e915a2b284a8785686716823679d1
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