Re: [PATCH] phy: Fix phy_string_for_interface() function

2022-05-19 Thread Pali Rohár
On Thursday 19 May 2022 13:03:43 Vladimir Oltean wrote: > On Thu, May 19, 2022 at 02:49:12PM +0200, Pali Rohár wrote: > > Commit c677fb1e3196 ("phy: Move PHY_INTERFACE_MODE_NA to the beginning of > > the enum definition") broke function phy_string_for_interface(). And > > therefore completely broke

Re: [PATCH] phy: Fix phy_string_for_interface() function

2022-05-19 Thread Vladimir Oltean
On Thu, May 19, 2022 at 02:49:12PM +0200, Pali Rohár wrote: > Commit c677fb1e3196 ("phy: Move PHY_INTERFACE_MODE_NA to the beginning of > the enum definition") broke function phy_string_for_interface(). And > therefore completely broke support for 2500base-x mode in Armada 3720 > comphy driver. >

[PATCH] phy: Fix phy_string_for_interface() function

2022-05-19 Thread Pali Rohár
Commit c677fb1e3196 ("phy: Move PHY_INTERFACE_MODE_NA to the beginning of the enum definition") broke function phy_string_for_interface(). And therefore completely broke support for 2500base-x mode in Armada 3720 comphy driver. Since that commit function phy_string_for_interface() returns constant