Skip to content

Add a tool to dump all SFP registers on the CTP7

Laurent Petre requested to merge feature/sfp-dump into main


Title says it all.

Related Issue

Tool needed to investigate

How Has This Been Tested?

All registers can be dumped on the GE1/1 integration area CTP7:

> Device: cxp0-rx (/dev/i2c-2 - 0x54)
  x.000 - 0x00 .
  x.001 - 0x00 .
  x.002 - 0x02 .
  x.003 - 0x00 .
  x.004 - 0x00 .
  x.005 - 0x00 .
  x.006 - 0x40 @
  x.007 - 0x0e .
  x.008 - 0xff .
  x.009 - 0x00 .
  x.010 - 0x00 .

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)


  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

Merge request reports