diff options
author | Vladimir Oltean <vladimir.oltean@nxp.com> | 2023-12-13 18:27:12 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2023-12-15 05:55:38 +0300 |
commit | 10ad63da5c036b2fd61600b43217cfa9b4d66f52 (patch) | |
tree | 7b5786fcc83a53d84185f21795ec90e85362ba00 /net/dcb/Kconfig | |
parent | d215ab4d6ae8bea8f66a50399745791b7de5b7d8 (diff) | |
download | linux-10ad63da5c036b2fd61600b43217cfa9b4d66f52.tar.xz |
net: mdio-mux: be compatible with parent buses which only support C45
After the mii_bus API conversion to a split read() / read_c45(), there
might be MDIO parent buses which only populate the read_c45() and
write_c45() function pointers but not the C22 variants.
We haven't seen these in the wild paired with MDIO multiplexers, but
Andrew points out we should treat the corner case.
Link: https://lore.kernel.org/netdev/4ccd7dc9-b611-48aa-865f-68d3a1327ce8@lunn.ch/
Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://lore.kernel.org/r/20231213152712.320842-3-vladimir.oltean@nxp.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net/dcb/Kconfig')
0 files changed, 0 insertions, 0 deletions