1. 30 5月, 2019 1 次提交
  2. 22 5月, 2019 1 次提交
  3. 02 3月, 2019 1 次提交
  4. 13 2月, 2019 3 次提交
  5. 25 1月, 2019 2 次提交
  6. 23 1月, 2019 1 次提交
  7. 12 11月, 2018 1 次提交
  8. 05 10月, 2018 1 次提交
  9. 02 10月, 2018 1 次提交
  10. 20 9月, 2018 1 次提交
  11. 10 8月, 2018 1 次提交
  12. 22 5月, 2018 1 次提交
  13. 12 5月, 2018 3 次提交
  14. 30 3月, 2018 2 次提交
  15. 05 3月, 2018 1 次提交
  16. 02 3月, 2018 1 次提交
    • R
      net: phylink: Remove redundant netdev.phydev assignment · e31a6f90
      Richard Cochran 提交于
      As a part of working on MII time stamping infrastructure, I was trying
      to figure out how netdev->phydev gets assigned, and I stumbled across
      this.  Ever since the new phylink code came in, the field is assigned
      twice.
      
      The function, phylink_connect_phy(), calls
      
      	phy_attach_direct()
      	phylink_bringup_phy()
      
      and phy_attach_direct() sets
      
      	dev->phydev = phydev;
      
      but phylink_bringup_phy() then sets the same field again:
      
      	pl->netdev->phydev = phy;
      
      Similarly, the function, phylink_of_phy_connect(), calls
      
      	of_phy_attach()
      		phy_attach_direct()
      	phylink_bringup_phy()
      
      The removal code is also duplicated:
      
      phylink_disconnect_phy()
      	pl->netdev->phydev = NULL;
      	phy_disconnect()
      		phy_detach()
      			phydev->attached_dev->phydev = NULL;
      
      This patch removes the redundant assignments, restricting manipulation
      of the netdev.phydev field to phy_attach_direct() and phy_detach().
      Signed-off-by: NRichard Cochran <richardcochran@gmail.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      e31a6f90
  17. 01 3月, 2018 1 次提交
  18. 09 1月, 2018 1 次提交
  19. 03 1月, 2018 2 次提交
  20. 26 12月, 2017 2 次提交
  21. 22 12月, 2017 1 次提交
  22. 19 12月, 2017 1 次提交
  23. 16 12月, 2017 1 次提交
  24. 14 12月, 2017 5 次提交
  25. 06 12月, 2017 4 次提交