]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'Convert-mvpp2-to-split-PCS-support'
authorDavid S. Miller <davem@davemloft.net>
Thu, 3 Sep 2020 21:52:33 +0000 (14:52 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 3 Sep 2020 21:52:33 +0000 (14:52 -0700)
commitcc50bb3d3a0c0b8110a9629f7763067d57583709
tree44d63e02a699efb98012707e0b0e2634b2e29f41
parent08aaa0819d5cce78a10c2fcea17057d07698691f
parentc596d2cd1344d40fc3d9493e2dbc5c2796f30786
Merge branch 'Convert-mvpp2-to-split-PCS-support'

Russell King says:

====================
Convert mvpp2 to split PCS support

This series converts the mvpp2 driver to use the split PCS support
that has been merged into phylink last time around. I've been running
this for some time here and, apart from the recent bug fix sent to
net-next, have not seen any issues on DT based systems. I have not
tested ACPI setups, although I've tried to preserve the workaround.

Patch 1 formalises the ACPI workaround.
Patch 2 moves some of mac_config() to the mac_prepare() and
  mac_finish() callbacks so we can keep the ordering when we split
  the PCS bits out.
Patch 3 ensures that the port is forced down while changing the
  interface mode - when in in-band mode, doing this in mac_prepare()
  and mac_finish().
Patch 4 moves the reset handling to mac_prepare() and mac_finish()
Patch 5 does a straight conversion to use PCS operations.
Patch 6 splits the PCS operations into a GMAC PCS operations and
  XLG PCS operations, selecting the appropriate set during
  mac_prepare().  This eliminates a bunch of conditionals from the
  code.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>