1. 13 2月, 2010 1 次提交
    • S
      sfc: Fix SFE4002 initialisation · 5e2a911c
      Steve Hodgson 提交于
      From: Steve Hodgson <shodgson@solarflare.com>
      
      Commit 357d46a1 "sfc: QT202x: Remove
      unreliable MMD check at initialisation" broke initialisation of the
      SFE4002.  efx_mdio_reset_mmd() returns a positive value rather than 0
      on success.  The above commit causes this value to be propagated up
      by qt202x_reset_phy(), which is treated as a failure by its callers.
      Change qt202x_reset_phy() to return 0 if successful.
      
      The PCI layer treats >0 as "fail, but please call remove() anyway",
      which means that unloading the driver would cause a crash.  Add a
      WARN_ON() on the failure path of efx_pci_probe() to provide early
      warning if there are any other cases where we do this.
      Signed-off-by: NBen Hutchings <bhutchings@solarflare.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      5e2a911c
  2. 19 1月, 2010 1 次提交
  3. 24 12月, 2009 5 次提交
  4. 30 11月, 2009 5 次提交
  5. 29 11月, 2009 2 次提交
  6. 27 11月, 2009 1 次提交
  7. 25 11月, 2009 4 次提交
  8. 24 10月, 2009 1 次提交
  9. 27 8月, 2009 1 次提交
  10. 18 5月, 2009 1 次提交
  11. 30 4月, 2009 1 次提交
  12. 02 3月, 2009 3 次提交
  13. 13 12月, 2008 6 次提交
  14. 06 11月, 2008 1 次提交
  15. 25 9月, 2008 1 次提交
  16. 03 9月, 2008 2 次提交
  17. 22 5月, 2008 2 次提交
  18. 13 5月, 2008 1 次提交
  19. 29 4月, 2008 1 次提交