summaryrefslogtreecommitdiffstats
path: root/drivers/net/phy/phy-c45.c
diff options
context:
space:
mode:
authorHeiner Kallweit2019-02-16 17:26:05 +0100
committerDavid S. Miller2019-02-19 01:43:54 +0100
commit9004a14cb688c69194002aa2fadda4433c3b79fb (patch)
tree7f67d12b64f082df6ec81fd20c6872f7f06cb0f6 /drivers/net/phy/phy-c45.c
parentliquidio: using NULL instead of plain integer (diff)
downloadkernel-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