File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -373,6 +373,10 @@ static inline void mii_t1_adv_m_mod_linkmode_t(unsigned long *advertising, u32 l
373
373
{
374
374
linkmode_mod_bit (ETHTOOL_LINK_MODE_10baseT1L_Full_BIT ,
375
375
advertising , lpa & MDIO_AN_T1_ADV_M_B10L );
376
+ linkmode_mod_bit (ETHTOOL_LINK_MODE_100baseT1_Full_BIT ,
377
+ advertising , lpa & MDIO_AN_T1_ADV_M_100BT1 );
378
+ linkmode_mod_bit (ETHTOOL_LINK_MODE_1000baseT1_Full_BIT ,
379
+ advertising , lpa & MDIO_AN_T1_ADV_M_1000BT1 );
376
380
}
377
381
378
382
/**
@@ -409,6 +413,10 @@ static inline u32 linkmode_adv_to_mii_t1_adv_m_t(unsigned long *advertising)
409
413
410
414
if (linkmode_test_bit (ETHTOOL_LINK_MODE_10baseT1L_Full_BIT , advertising ))
411
415
result |= MDIO_AN_T1_ADV_M_B10L ;
416
+ if (linkmode_test_bit (ETHTOOL_LINK_MODE_100baseT1_Full_BIT , advertising ))
417
+ result |= MDIO_AN_T1_ADV_M_100BT1 ;
418
+ if (linkmode_test_bit (ETHTOOL_LINK_MODE_1000baseT1_Full_BIT , advertising ))
419
+ result |= MDIO_AN_T1_ADV_M_1000BT1 ;
412
420
413
421
return result ;
414
422
}
You can’t perform that action at this time.
0 commit comments