diff options
| author | Tom Lendacky <thomas.lendacky@amd.com> | 2022-12-08 10:22:24 -0600 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2022-12-12 10:05:36 +0000 |
| commit | 4998006c73afe44e2f639d55bd331c6c26eb039f (patch) | |
| tree | 8c2742f1164586ab3e3898212d59c3b9139b9041 /scripts/objdiff | |
| parent | af_unix: call proto_unregister() in the error path in af_unix_init() (diff) | |
| download | linux-4998006c73afe44e2f639d55bd331c6c26eb039f.tar.gz linux-4998006c73afe44e2f639d55bd331c6c26eb039f.zip | |
net: amd-xgbe: Fix logic around active and passive cables
SFP+ active and passive cables are copper cables with fixed SFP+ end
connectors. Due to a misinterpretation of this, SFP+ active cables could
end up not being recognized, causing the driver to fail to establish a
connection.
Introduce a new enum in SFP+ cable types, XGBE_SFP_CABLE_FIBER, that is
the default cable type, and handle active and passive cables when they are
specifically detected.
Fixes: abf0a1c2b26a ("amd-xgbe: Add support for SFP+ modules")
Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions
