From: David S. Miller Date: Thu, 28 Oct 2021 11:55:44 +0000 (+0100) Subject: Merge branch 'mvpp2-phylink' X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=1feef2dece56de5825513e55b92a1826358a55b0;p=linux.git Merge branch 'mvpp2-phylink' Russell King says: ==================== Convert mvpp2 to phylink supported_interfaces This patch series converts mvpp2 to use phylinks supported_interfaces bitmap to simplify the validate() implementation. The patches: 1) Add the supported interface modes the supported_interfaces bitmap. 2) Removes the checks for the interface type being supported from the validate callback 3) Removes the now unnecessary checks and call to phylink_helper_basex_speed() to support switching between 1000base-X and 2500base-X for SFPs 4) Cleans up the resulting validate() code. (3) becomes possible because when asking the MAC for its complete support, we walk all supported interfaces which will include 1000base-X and 2500base-X only if the comphy is present. ==================== Signed-off-by: David S. Miller --- 1feef2dece56de5825513e55b92a1826358a55b0