ixgbe: Restore ESDP settings after MAC reset
authorDon Skidmore <donald.c.skidmore@intel.com>
Tue, 9 Jun 2015 23:18:56 +0000 (16:18 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 10 Jun 2015 00:21:17 +0000 (17:21 -0700)
commitab5fe0c574edae2831202ce375f8ee2fc6acd002
tree53444aa8ed02aa59e951e3504518197bcc0bafa9
parent961fac889c0f2e1930092b6de00043cdd1cb2942
ixgbe: Restore ESDP settings after MAC reset

The I2C mux control relies on the SDP setting in the ESDP register
so it is necessary to restore the value after a MAC reset.  Combine
all this functionality in to a support function.

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_x550.c