diff options
author | Iyappan Subramanian <isubramanian@apm.com> | 2017-05-18 15:13:43 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-05-19 19:41:43 -0400 |
commit | 32d0f7830d9be5b1652a718e050d808b4908155f (patch) | |
tree | 7220dc4a817e1cf9fdf4f1ad77dfb725d2617c8d /drivers/net/ethernet/apm | |
parent | 5d65a16a689a2973a014f2f5aa04d0e2f7b66403 (diff) | |
download | lwn-32d0f7830d9be5b1652a718e050d808b4908155f.tar.gz lwn-32d0f7830d9be5b1652a718e050d808b4908155f.zip |
phy: Add helper function to check phy interface mode
Added helper function that checks phy_mode is RGMII (all variants)
'bool phy_interface_mode_is_rgmii(phy_interface_t mode)'
Changed the following function, to use the above.
'bool phy_interface_is_rgmii(struct phy_device *phydev)'
Signed-off-by: Iyappan Subramanian <isubramanian@apm.com>
Suggested-by: Florian Fainelli <f.fainelli@gmail.com>
Suggested-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/apm')
0 files changed, 0 insertions, 0 deletions