1. 28 4月, 2021 1 次提交
    • T
      net: dsa: mv88e6xxx: Fix 6095/6097/6185 ports in non-SERDES CMODE · 6066234a
      Tobias Waldekranz 提交于
      The .serdes_get_lane op used the magic value 0xff to indicate a valid
      SERDES lane and 0 signaled that a non-SERDES mode was set on the port.
      
      Unfortunately, "0" is also a valid lane ID, so even when these ports
      where configured to e.g. RGMII the driver would set them up as SERDES
      ports.
      
      - Replace 0xff with 0 to indicate a valid lane ID. The number is on
        the one hand just as arbitrary, but it is at least the first valid one
        and therefore less of a surprise.
      
      - Follow the other .serdes_get_lane implementations and return -ENODEV
        in the case where no SERDES is assigned to the port.
      
      Fixes: f5be107c ("net: dsa: mv88e6xxx: Support serdes ports on MV88E6097/6095/6185")
      Signed-off-by: NTobias Waldekranz <tobias@waldekranz.com>
      Reviewed-by: NAndrew Lunn <andrew@lunn.ch>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      6066234a
  2. 18 3月, 2021 2 次提交
  3. 26 11月, 2020 3 次提交
  4. 02 5月, 2020 2 次提交
  5. 16 3月, 2020 3 次提交
  6. 17 2月, 2020 2 次提交
  7. 28 12月, 2019 1 次提交
  8. 02 9月, 2019 10 次提交
  9. 30 8月, 2019 1 次提交
  10. 28 8月, 2019 4 次提交
  11. 24 6月, 2019 1 次提交
  12. 31 5月, 2019 1 次提交
  13. 05 3月, 2019 1 次提交
  14. 28 1月, 2019 1 次提交
  15. 12 11月, 2018 1 次提交
  16. 03 9月, 2018 1 次提交
  17. 15 8月, 2018 1 次提交
  18. 10 8月, 2018 4 次提交