1. 27 Feb, 2019 1 commit
  2. 05 Oct, 2018 1 commit
  3. 02 Oct, 2018 1 commit
  4. 20 Sep, 2018 1 commit
  5. 09 Aug, 2018 1 commit
    • Russell King's avatar
      phylink: add helper for configuring 2500BaseX modes · 624c0f02
      Russell King authored
      Add a helper for MAC drivers to use in their validate callback to deal
      with 2500BaseX vs 1000BaseX modes, where the hardware supports both
      but it is not possible to automatically select between them.
      
      This helper defaults to 1000BaseX, as that is the 802.3 standard, and
      will allow users to select 2500BaseX either by forcing the speed if
      AN is disabled, or by changing the advertising mask if AN is enabled.
      Disabling AN is not recommended as it is only the speed that we're
      interested in controlling, not the duplex or pause mode parameters.
      Signed-off-by: 's avatarRussell King <rmk+kernel@armlinux.org.uk>
      Signed-off-by: 's avatarAndrew Lunn <andrew@lunn.ch>
      Signed-off-by: 's avatarDavid S. Miller <davem@davemloft.net>
      624c0f02
  6. 21 May, 2018 1 commit
  7. 11 May, 2018 3 commits
  8. 30 Mar, 2018 2 commits
  9. 04 Mar, 2018 1 commit
  10. 01 Mar, 2018 1 commit
    • Richard Cochran's avatar
      net: phylink: Remove redundant netdev.phydev assignment · e31a6f90
      Richard Cochran authored
      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: 's avatarRichard Cochran <richardcochran@gmail.com>
      Signed-off-by: 's avatarDavid S. Miller <davem@davemloft.net>
      e31a6f90
  11. 28 Feb, 2018 1 commit
  12. 08 Jan, 2018 1 commit
  13. 03 Jan, 2018 1 commit
  14. 02 Jan, 2018 1 commit
  15. 26 Dec, 2017 2 commits
  16. 21 Dec, 2017 1 commit
  17. 18 Dec, 2017 1 commit
  18. 15 Dec, 2017 1 commit
  19. 13 Dec, 2017 5 commits
  20. 05 Dec, 2017 9 commits
  21. 01 Dec, 2017 1 commit
  22. 04 Nov, 2017 1 commit
  23. 01 Nov, 2017 1 commit
  24. 11 Aug, 2017 1 commit