diff options
author | Andrew Lunn <andrew@lunn.ch> | 2023-01-18 11:01:39 +0100 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2023-01-19 16:23:19 +0100 |
commit | fbfe97597c777cca6a91804f3f6ce046acb98860 (patch) | |
tree | 03a5d5562139938e8bdcca6daaa4edd0f884fe0b /include/linux/phy.h | |
parent | 1a136ca2e089d91df8eec0a796a324171373ffd8 (diff) | |
download | linux-fbfe97597c777cca6a91804f3f6ce046acb98860.tar.gz linux-fbfe97597c777cca6a91804f3f6ce046acb98860.tar.bz2 linux-fbfe97597c777cca6a91804f3f6ce046acb98860.zip |
net: phy: Decide on C45 capabilities based on presence of method
Some PHYs provide invalid IDs in C22 space. If C45 is supported on the
bus an attempt can be made to get the IDs from the C45 space. Decide
on this based on the presence of the C45 read method in the bus
structure. This will allow the unreliable probe_capabilities to be
removed.
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Michael Walle <michael@walle.cc>
Reviewed-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'include/linux/phy.h')
0 files changed, 0 insertions, 0 deletions