diff options
author | Russell King <[email protected]> | 2017-06-05 12:22:55 +0100 |
---|---|---|
committer | David S. Miller <[email protected]> | 2017-06-06 21:14:13 -0400 |
commit | 41408ad519f7a2a1c5229e61f2a97f4df1b61adc (patch) | |
tree | 18ada5b43daa45ddaefd02d22bcc6ba0aba705f3 /lib/mpi/mpi-internal.h | |
parent | 5acde34a5a420ffe7441bb7d3909dc2618025c3c (diff) |
net: phy: avoid genphy_aneg_done() for PHYs without clause 22 support
Avoid calling genphy_aneg_done() for PHYs that do not implement the
Clause 22 register set.
Clause 45 PHYs may implement the Clause 22 register set along with the
Clause 22 extension MMD. Hence, we can't simply block access to the
Clause 22 functions based on the PHY being a Clause 45 PHY.
Signed-off-by: Russell King <[email protected]>
Reviewed-by: Andrew Lunn <[email protected]>
Reviewed-by: Florian Fainelli <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-internal.h')
0 files changed, 0 insertions, 0 deletions