File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2898,29 +2898,6 @@ static int lan78xx_phy_init(struct lan78xx_net *dev)
28982898 goto phylink_uninit ;
28992899 }
29002900
2901- if (of_property_read_bool (phydev -> mdio .dev .of_node ,
2902- "microchip,eee-enabled" )) {
2903- struct ethtool_keee edata ;
2904- memset (& edata , 0 , sizeof (edata ));
2905-
2906- linkmode_set_bit (ETHTOOL_LINK_MODE_1000baseT_Full_BIT ,
2907- edata .advertised );
2908- linkmode_set_bit (ETHTOOL_LINK_MODE_100baseT_Full_BIT ,
2909- edata .advertised );
2910-
2911- edata .eee_enabled = true;
2912- edata .tx_lpi_enabled = true;
2913- if (of_property_read_u32 (phydev -> mdio .dev .of_node ,
2914- "microchip,tx-lpi-timer" ,
2915- & edata .tx_lpi_timer ))
2916- edata .tx_lpi_timer = 600 ; /* non-aggressive */
2917- rtnl_lock ();
2918- (void )lan78xx_set_eee (dev -> net , & edata );
2919- rtnl_unlock ();
2920-
2921- phy_support_eee (phydev );
2922- }
2923-
29242901 ret = lan78xx_configure_leds_from_dt (dev , phydev );
29252902 if (ret < 0 )
29262903 goto phylink_uninit ;
You can’t perform that action at this time.
0 commit comments