summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorRaju Rangoju <Raju.Rangoju@amd.com>2022-10-20 12:12:14 +0530
committerJakub Kicinski <kuba@kernel.org>2022-10-21 22:40:22 -0700
commit09c5f6bf11ac98874339e55f4f5f79a9dbc9b375 (patch)
tree3cf8c2dbebd48c064e58cd480d5cd9e380d164b7 /tools
parentfc75c032aee63e60170d80f44c8567ea45fc59da (diff)
amd-xgbe: fix the SFP compliance codes check for DAC cables
The current XGBE code assumes that offset 6 of EEPROM SFP DAC (passive) cables is NULL. However, some cables (the 5 meter and 7 meter Molex passive cables) have non-zero data at offset 6. Fix the logic by moving the passive cable check above the active checks, so as not to be improperly identified as an active cable. This will fix the issue for any passive cable that advertises 1000Base-CX in offset 6. Fixes: abf0a1c2b26a ("amd-xgbe: Add support for SFP+ modules") Signed-off-by: Raju Rangoju <Raju.Rangoju@amd.com> Acked-by: Tom Lendacky <thomas.lendacky@amd.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions