1. 08 1月, 2016 6 次提交
  2. 31 12月, 2015 2 次提交
  3. 15 12月, 2015 1 次提交
  4. 12 12月, 2015 1 次提交
  5. 07 12月, 2015 1 次提交
  6. 04 12月, 2015 1 次提交
  7. 26 11月, 2015 1 次提交
  8. 24 11月, 2015 1 次提交
  9. 18 11月, 2015 2 次提交
  10. 17 11月, 2015 2 次提交
  11. 04 11月, 2015 4 次提交
  12. 03 11月, 2015 1 次提交
    • S
      net: phy: fix a bug in get_phy_c45_ids · 5f6c99e0
      Shaohui Xie 提交于
      When probing devices-in-package for a c45 phy, device zero is the last
      device to probe, however, if driver reads 0 from device zero,
      c45_ids->devices_in_package is set to '0', the loop condition of probing
      will be matched again, see codes below:
      
      for (i = 1;i < num_ids && c45_ids->devices_in_package == 0;i++)
      
      driver will run in a dead loop.
      
      This patch restructures the bug and confusing loop, it provides a helper
      function get_phy_c45_devs_in_pkg which to read devices-in-package registers
      of a MMD, and rewrites the loop with using the helper function.
      Signed-off-by: NShaohui Xie <Shaohui.Xie@freescale.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      5f6c99e0
  13. 28 10月, 2015 1 次提交
  14. 27 10月, 2015 2 次提交
  15. 23 10月, 2015 2 次提交
  16. 22 10月, 2015 2 次提交
  17. 21 10月, 2015 1 次提交
  18. 19 10月, 2015 1 次提交
  19. 15 10月, 2015 1 次提交
  20. 08 10月, 2015 5 次提交
  21. 03 10月, 2015 1 次提交
    • S
      phylib: Add phy_set_max_speed helper · f3a6bd39
      Simon Horman 提交于
      Add a helper to allow ethernet drivers to limit the speed of a phy
      (that they are attached to).
      
      This mainly involves factoring out the business-end of
      of_set_phy_supported() and exporting a new symbol.
      
      This code seems to be open coded in several places, in several different
      variants.
      
      It is is envisaged that this will be used in situations where setting the
      "max-speed" property in DT is not appropriate, e.g. because the maximum
      speed is not a property of the phy hardware.
      Signed-off-by: NSimon Horman <horms+renesas@verge.net.au>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      f3a6bd39
  22. 26 9月, 2015 1 次提交