File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -731,6 +731,19 @@ static int aqr113c_fill_interface_modes(struct phy_device *phydev)
731
731
return aqr107_fill_interface_modes (phydev );
732
732
}
733
733
734
+ static int aqr115c_get_features (struct phy_device * phydev )
735
+ {
736
+ unsigned long * supported = phydev -> supported ;
737
+
738
+ /* PHY supports speeds up to 2.5G with autoneg. PMA capabilities
739
+ * are not useful.
740
+ */
741
+ linkmode_or (supported , supported , phy_gbit_features );
742
+ linkmode_set_bit (ETHTOOL_LINK_MODE_2500baseT_Full_BIT , supported );
743
+
744
+ return 0 ;
745
+ }
746
+
734
747
static int aqr113c_config_init (struct phy_device * phydev )
735
748
{
736
749
int ret ;
@@ -1046,6 +1059,7 @@ static struct phy_driver aqr_driver[] = {
1046
1059
.get_sset_count = aqr107_get_sset_count ,
1047
1060
.get_strings = aqr107_get_strings ,
1048
1061
.get_stats = aqr107_get_stats ,
1062
+ .get_features = aqr115c_get_features ,
1049
1063
.link_change_notify = aqr107_link_change_notify ,
1050
1064
.led_brightness_set = aqr_phy_led_brightness_set ,
1051
1065
.led_hw_is_supported = aqr_phy_led_hw_is_supported ,
You can’t perform that action at this time.
0 commit comments