]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'dsa-ocelot-phylink-updates'
authorDavid S. Miller <davem@davemloft.net>
Sat, 26 Feb 2022 12:44:29 +0000 (12:44 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 26 Feb 2022 12:44:29 +0000 (12:44 +0000)
commit9b65654a39db69bac6e8981aa1c78593ef4f61dc
tree5c304eec28dac3c3736b4390ce4959d75d49abe0
parent5f551e6de782767242bb918386f3f57e81f17ade
parent41ab950986f28ca29fc0a44d30f3750d789d0e76
Merge branch 'dsa-ocelot-phylink-updates'

Russell King says:

====================
net: dsa: ocelot: phylink updates

This series updates the Ocelot DSA driver for some of the recent
phylink changes. Specifically, we fill in the supported_interfaces
fields, convert to mac_select_pcs and mark the driver as non-legacy.
We do not convert to phylink_generic_validate() as Ocelot has
special support for its rate adapting PCS which makes the generic
validate method unsuitable for this driver.

The three changes mentioned above are implemented in their own
separate patches with one additional cleanup:

1) Populate the supported_interfaces bitmap
2) Remove the now unnecessary interface checks in the validate methods
3) Convert from phylink_set_pcs() to .mac_select_pcs.
4) Mark the driver as non-legacy

Thanks.

RFC -> non-RFC: add reviewed-by/tested-by's, update patch 1 to set the
supported_interfaces bitmap in felix.c rather than the sub-drivers as
requested by Vladimir.
====================

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