We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 8279b54 + 3f4a09a commit c424fc5Copy full SHA for c424fc5
1 file changed
drivers/net/phy/qcom/qca808x.c
@@ -643,6 +643,15 @@ static void qca808x_get_phy_stats(struct phy_device *phydev,
643
qcom_phy_get_stats(stats, priv->hw_stats);
644
}
645
646
+static int qca808x_get_rate_matching(struct phy_device *phydev,
647
+ phy_interface_t iface)
648
+{
649
+ if (iface == PHY_INTERFACE_MODE_2500BASEX)
650
+ return RATE_MATCH_PAUSE;
651
+
652
+ return RATE_MATCH_NONE;
653
+}
654
655
static struct phy_driver qca808x_driver[] = {
656
{
657
/* Qualcomm QCA8081 */
@@ -674,6 +683,7 @@ static struct phy_driver qca808x_driver[] = {
674
683
.led_polarity_set = qca808x_led_polarity_set,
675
684
.update_stats = qca808x_update_stats,
676
685
.get_phy_stats = qca808x_get_phy_stats,
686
+ .get_rate_matching = qca808x_get_rate_matching,
677
687
}, };
678
688
679
689
module_phy_driver(qca808x_driver);
0 commit comments