net: atlantic: remove baseX usage
authorNikita Danilov <ndanilov@marvell.com>
Mon, 22 Jun 2020 14:53:05 +0000 (17:53 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 23 Jun 2020 04:10:22 +0000 (21:10 -0700)
This patch removes 2.5G baseX wrong usage/reporting, since it shouldn't have
been mixed with baseT.

Signed-off-by: Nikita Danilov <ndanilov@marvell.com>
Signed-off-by: Mark Starovoytov <mstarovoitov@marvell.com>
Signed-off-by: Igor Russkikh <irusskikh@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/aquantia/atlantic/aq_ethtool.c

index 743d3b1..ffcdda7 100644 (file)
@@ -618,9 +618,6 @@ static enum hw_atl_fw2x_rate eee_mask_to_ethtool_mask(u32 speed)
        if (speed & AQ_NIC_RATE_EEE_10G)
                rate |= SUPPORTED_10000baseT_Full;
 
-       if (speed & AQ_NIC_RATE_EEE_2G5)
-               rate |= SUPPORTED_2500baseX_Full;
-
        if (speed & AQ_NIC_RATE_EEE_1G)
                rate |= SUPPORTED_1000baseT_Full;