aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-bit.c
diff options
context:
space:
mode:
authorVadim Pasternak <[email protected]>2020-07-17 22:01:43 +0300
committerDavid S. Miller <[email protected]>2020-07-17 19:07:26 -0700
commit9b8737788af6c76ef93e3161ee2cdc4ddcc034ca (patch)
tree65001b18e340c8bb23761a876fe6dec2463aaa55 /lib/mpi/mpi-bit.c
parenteea9f73e1ff9b99fbb937d41bb07c5bb2ae9ea2f (diff)
mlxsw: core: Fix wrong SFP EEPROM reading for upper pages 1-3
Fix wrong reading of upper pages for SFP EEPROM. According to "Memory Organization" figure in SFF-8472 spec: When reading upper pages 1, 2 and 3 the offset should be set relative to zero and I2C high address 0x51 [1010001X (A2h)] is to be used. Fixes: a45bfb5a5070 ("mlxsw: core: Extend QSFP EEPROM size for ethtool") Signed-off-by: Vadim Pasternak <[email protected]> Reviewed-by: Jiri Pirko <[email protected]> Signed-off-by: Ido Schimmel <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions