On 17.02.2019 03:35, Florian Fainelli wrote: > > > On 2/16/2019 8:26 AM, Heiner Kallweit wrote: >> Similar to the existing helpers for the Clause 22 registers add helper >> mii_10gbt_stat_mod_linkmode_lpa_t. >> >> Note that this helper is defined in linux/mdio.h, not like the >> Clause 22 helpers in linux/mii.h. Reason is that the Clause 45 register >> constants are defined in uapi/linux/mdio.h. And uapi/linux/mdio.h >> includes linux/mii.h before defining the C45 register constants. > > Nit: this also processes 2.5G and 5G but I can't suggest a better name, > so this is as good as any. > I also thought about this and eventually decided to go with the register name from the Clause 45 (2015) spec. Not sure whether there's a newer version, but even if I (after 802.3bz was established) doubt that they would rename a register.
>> >> v2: >> - remove helpers that don't have users in this series >> >> Signed-off-by: Heiner Kallweit <hkallwe...@gmail.com> > > Reviewed-by: Florian Fainelli <f.faine...@gmail.com> >