diff options
author | Andy Moreton <andy.moreton@amd.com> | 2023-04-28 12:33:33 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-05-01 07:34:04 +0100 |
commit | 281900a923d4c50df109b52a22ae3cdac150159b (patch) | |
tree | 886a50d89f5bc4c0b12730fbf9f6be66b012cb78 /drivers/net/ethernet/freescale/fec_mpc52xx.h | |
parent | f858e2fd23ac40286f921cd461e3400e17a7fcf3 (diff) |
sfc: Fix module EEPROM reporting for QSFP modules
The sfc driver does not report QSFP module EEPROM contents correctly
as only the first page is fetched from hardware.
Commit 0e1a2a3e6e7d ("ethtool: Add SFF-8436 and SFF-8636 max EEPROM
length definitions") added ETH_MODULE_SFF_8436_MAX_LEN for the overall
size of the EEPROM info, so use that to report the full EEPROM contents.
Fixes: 9b17010da57a ("sfc: Add ethtool -m support for QSFP modules")
Signed-off-by: Andy Moreton <andy.moreton@amd.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/freescale/fec_mpc52xx.h')
0 files changed, 0 insertions, 0 deletions