Messages in this thread | | | Subject | Re: [PATCH] phy/ethtool: Add missing SPEED_<foo> strings | From | Joe Perches <> | Date | Sun, 02 Apr 2017 19:44:06 -0700 |
| |
On Sun, 2017-04-02 at 15:29 -0700, Florian Fainelli wrote: > Le 04/02/17 à 14:30, Joe Perches a écrit : > > Add all the currently available SPEED_<foo> strings. > > > > Signed-off-by: Joe Perches <joe@perches.com> > > Considering that PHYLIB does not support anything > 10Gbs at the moment, > I am not sure how useful that is except if we wanted to re-use > phy_speed_to_str() in other places of the kernel?
phy_print_status() can be used several places already independent of phylib.
Might as well make it more generic and so more usable.
| |