diff options
author | Andrew Lunn <[email protected]> | 2023-01-09 16:30:44 +0100 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2023-01-10 15:53:36 -0800 |
commit | b063b1924fd9bf0bc157cf644764dc2151d04ccc (patch) | |
tree | 13353456f0dcf24a6d2af0d6dab3be4f5a21b899 /tools/perf/scripts/python | |
parent | 555d64c6d8e551a149ce29024b9318d3523f2842 (diff) |
net: mdio: C22 is now optional, EOPNOTSUPP if not provided
When performing a C22 operation, check that the bus driver actually
provides the methods, and return -EOPNOTSUPP if not. C45 only busses
do exist, and in future their C22 methods will be NULL.
Signed-off-by: Andrew Lunn <[email protected]>
Signed-off-by: Michael Walle <[email protected]>
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions