1. 31 7月, 2013 1 次提交
    • E
      ixgbe: fix semaphore lock for I2C read/writes on 82598 · 3dcc2f41
      Emil Tantilov 提交于
      ixgbe_read/write_i2c_phy_82598() does not hold the SWFW_SYNC
      semaphore for the entire function. Instead the lock is held only
      during the phy.ops.read/write_reg operations. As result when the
      function is being called simultaneously the I2C read/writes can
      be corrupted.
      
      The following patch introduces the SWFW_SYNC semaphore for the
      entire ixgbe_read/write_i2c_phy_82598() function. To accomplish
      this I had to create 2 separate functions:
      
      ixgbe_read_phy_reg_mdi()
      ixgbe_write_phy_reg_mdi()
      
      Those functions are identical to ixgbe_read/write_phy_reg_generic()
      sans the locking, and can be used in ixgbe_read/write_i2c_phy_82598()
      with the SWFW_SYNC semaphore being held.
      Signed-off-by: NEmil Tantilov <emil.s.tantilov@intel.com>
      Tested-by: NPhil Schmitt <phillip.j.schmitt@intel.com>
      Signed-off-by: NJeff Kirsher <jeffrey.t.kirsher@intel.com>
      3dcc2f41
  2. 25 4月, 2013 1 次提交
  3. 16 2月, 2013 2 次提交
  4. 05 2月, 2013 2 次提交
  5. 01 2月, 2013 1 次提交
  6. 20 6月, 2012 1 次提交
  7. 14 4月, 2012 1 次提交
  8. 03 2月, 2012 1 次提交
  9. 02 2月, 2012 1 次提交
  10. 03 1月, 2012 1 次提交
  11. 20 12月, 2011 1 次提交
  12. 05 10月, 2011 2 次提交
  13. 11 8月, 2011 1 次提交
  14. 04 8月, 2011 1 次提交
  15. 05 5月, 2011 1 次提交
  16. 27 4月, 2011 1 次提交
  17. 14 4月, 2011 2 次提交
  18. 31 3月, 2011 1 次提交
  19. 12 3月, 2011 1 次提交
  20. 08 3月, 2011 1 次提交
  21. 03 3月, 2011 5 次提交
  22. 11 12月, 2010 1 次提交
  23. 17 11月, 2010 2 次提交
  24. 01 7月, 2010 1 次提交
  25. 17 6月, 2010 1 次提交
  26. 21 5月, 2010 1 次提交
  27. 19 5月, 2010 1 次提交
  28. 25 3月, 2010 1 次提交
  29. 14 1月, 2010 1 次提交
  30. 04 7月, 2009 1 次提交
  31. 07 6月, 2009 1 次提交