diff options
author | Heiner Kallweit | 2019-02-16 17:26:05 +0100 |
---|---|---|
committer | David S. Miller | 2019-02-19 01:43:54 +0100 |
commit | 9004a14cb688c69194002aa2fadda4433c3b79fb (patch) | |
tree | 7f67d12b64f082df6ec81fd20c6872f7f06cb0f6 /drivers/net/phy/phy-c45.c | |
parent | liquidio: using NULL instead of plain integer (diff) | |
download | kernel-qcow2-linux-9004a14cb688c69194002aa2fadda4433c3b79fb.tar.gz kernel-qcow2-linux-9004a14cb688c69194002aa2fadda4433c3b79fb.tar.xz kernel-qcow2-linux-9004a14cb688c69194002aa2fadda4433c3b79fb.zip |
net: phy: add helper mii_10gbt_stat_mod_linkmode_lpa_t
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.
v2:
- remove helpers that don't have users in this series
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/phy/phy-c45.c')
0 files changed, 0 insertions, 0 deletions