]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - drivers/net/ethernet/cavium/thunder/thunder_bgx.c
net: thunderx: use proper interface type for RGMII
[linux.git] / drivers / net / ethernet / cavium / thunder / thunder_bgx.c
index c4f6ec0cd183ea280d294f0c423772d30406dba4..17a4110c2e4935d74e8f677ab0405fd73cec0593 100644 (file)
@@ -1039,7 +1039,7 @@ static int phy_interface_mode(u8 lmac_type)
        if (lmac_type == BGX_MODE_QSGMII)
                return PHY_INTERFACE_MODE_QSGMII;
        if (lmac_type == BGX_MODE_RGMII)
-               return PHY_INTERFACE_MODE_RGMII;
+               return PHY_INTERFACE_MODE_RGMII_RXID;
 
        return PHY_INTERFACE_MODE_SGMII;
 }