OSDN Git Service

ixgbe: Provide unlocked I2C methods
authorMark Rustad <mark.d.rustad@intel.com>
Sat, 8 Aug 2015 23:18:02 +0000 (16:18 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 22 Sep 2015 22:58:30 +0000 (15:58 -0700)
commitbb5ce9a5cb6e915a2b284a8785686716823679d1
tree2280c0297754b1c4f5987f7d76ee0bcf33ac8632
parent4f9e3a3de0e2fbc49c036322cb2ee656ea8b93fc
ixgbe: Provide unlocked I2C methods

Most I2C accesses take and release semaphores for each access. Now
there is a reason to perform multiple I2C operations under the same
holding of the semaphore, so provide unlocked I2C methods for that
purpose.

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