aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorIdo Schimmel <[email protected]>2021-06-21 10:50:41 +0300
committerDavid S. Miller <[email protected]>2021-06-21 12:33:05 -0700
commit1e27b9e408039af6210708f76c6fe735c2c2c9c1 (patch)
tree7fca126adf0316b8f0768649d741d6c7980c707a /scripts/gdb/linux/utils.py
parentcecefb3a6eeb5d835abd051e67e27e1506289ccf (diff)
mlxsw: core: Add support for module EEPROM read by page
Add support for ethtool_ops::get_module_eeprom_by_page() which allows user space to read transceiver module EEPROM based on passed parameters. The I2C address is not validated in order to avoid module-specific code. In case of wrong address, error will be returned from device's firmware. Tested by comparing output with legacy method (ioctl) output. Signed-off-by: Ido Schimmel <[email protected]> Tested-by: Vadim Pasternak <[email protected]> Reviewed-by: Jiri Pirko <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions