1. 22 Jun, 2020 39 commits
  2. 21 Jun, 2020 1 commit
    • David S. Miller's avatar
      Merge branch 'Marvell-mvpp2-improvements' · 29a720c1
      David S. Miller authored
      Russell King says:
      
      ====================
      Marvell mvpp2 improvements
      
      This series primarily cleans up mvpp2, but also fixes a left-over from
      91a208f2 ("net: phylink: propagate resolved link config via
      mac_link_up()").
      
      Patch 1 introduces some port helpers:
        mvpp2_port_supports_xlg() - does the port support the XLG MAC
        mvpp2_port_supports_rgmii() - does the port support RGMII modes
      
      Patch 2 introduces mvpp2_phylink_to_port(), rather than having repeated
        open coding of container_of().
      
      Patch 3 introduces mvpp2_modify(), which reads-modifies-writes a
        register - I've converted the phylink specific code to use this
        helper.
      
      Patch 4 moves the hardware control of the pause modes from
        mvpp2_xlg_config() (which is called via the phylink_config method)
        to mvpp2_mac_link_up() - a change that was missed in the above
        referenced commit.
      
      v2: remove "inline" in patch 2.
      ====================
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      29a720c1