1. 10 12月, 2021 1 次提交
    • R
      net: phylink: add legacy_pre_march2020 indicator · 3e5b1fec
      Russell King (Oracle) 提交于
      Add a boolean to phylink_config to indicate whether a driver has not
      been updated for the changes in commit 7cceb599 ("net: phylink:
      avoid mac_config calls"), and thus are reliant on the old behaviour.
      
      We were currently keying the phylink behaviour on the presence of a
      PCS, but this is sub-optimal for modern drivers that may not have a
      PCS.
      
      This commit merely introduces the new flag, but does not add any use,
      since we need all legacy drivers to set this flag before it can be
      used. Once these legacy drivers have been updated, we can remove this
      flag.
      Signed-off-by: NRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
      Signed-off-by: NJakub Kicinski <kuba@kernel.org>
      3e5b1fec
  2. 22 11月, 2021 1 次提交
    • S
      net: phylink: Add helpers for c22 registers without MDIO · 291dcae3
      Sean Anderson 提交于
      Some devices expose memory-mapped c22-compliant PHYs. Because these
      devices do not have an MDIO bus, we cannot use the existing helpers.
      Refactor the existing helpers to allow supplying the values for c22
      registers directly, instead of using MDIO to access them. Only get_state
      and set_advertisement are converted, since they contain the most complex
      logic. Because set_advertisement is never actually used outside
      phylink_mii_c22_pcs_config, move the MDIO-writing part into that
      function. Because some modes do not need the advertisement register set
      at all, we use -EINVAL for this purpose.
      
      Additionally, a new function phylink_pcs_enable_an is provided to
      determine whether to enable autonegotiation.
      Signed-off-by: NSean Anderson <sean.anderson@seco.com>
      Reviewed-by: NRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      291dcae3
  3. 15 11月, 2021 1 次提交
  4. 26 10月, 2021 2 次提交
  5. 04 10月, 2021 1 次提交
  6. 07 9月, 2021 1 次提交
  7. 12 6月, 2021 1 次提交
  8. 16 3月, 2021 1 次提交
  9. 01 9月, 2020 1 次提交
  10. 18 8月, 2020 1 次提交
  11. 22 7月, 2020 4 次提交
  12. 27 6月, 2020 1 次提交
  13. 26 6月, 2020 1 次提交
  14. 25 4月, 2020 1 次提交
  15. 31 3月, 2020 3 次提交
  16. 18 3月, 2020 2 次提交
  17. 28 2月, 2020 1 次提交
  18. 17 2月, 2020 2 次提交
  19. 06 1月, 2020 1 次提交
  20. 24 11月, 2019 1 次提交
  21. 29 6月, 2019 1 次提交
  22. 15 6月, 2019 1 次提交
  23. 30 5月, 2019 2 次提交
  24. 25 2月, 2019 1 次提交
  25. 13 2月, 2019 1 次提交
  26. 10 8月, 2018 1 次提交
  27. 30 3月, 2018 2 次提交
  28. 14 12月, 2017 2 次提交
  29. 06 12月, 2017 1 次提交