]> www.infradead.org Git - users/dwmw2/linux.git/commitdiff
net: axienet: mark as a legacy_pre_march2020 driver
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Sun, 12 Dec 2021 13:01:15 +0000 (13:01 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 13 Dec 2021 14:07:09 +0000 (14:07 +0000)
axienet has a PCS, but does not make use of the phylink PCS support.
Mark it was a pre-March 2020 driver.

Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/xilinx/xilinx_axienet_main.c

index e39356364f3360712d48d78c8c57653e31a02841..23ac353b35fe75d075bd4c2452b3c58e65ac290f 100644 (file)
@@ -2051,6 +2051,7 @@ static int axienet_probe(struct platform_device *pdev)
 
        lp->phylink_config.dev = &ndev->dev;
        lp->phylink_config.type = PHYLINK_NETDEV;
+       lp->phylink_config.legacy_pre_march2020 = true;
        lp->phylink_config.mac_capabilities = MAC_SYM_PAUSE | MAC_ASYM_PAUSE |
                MAC_10FD | MAC_100FD | MAC_1000FD;