]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
amd-xgbe: Only use the SFP supported transceiver signals
authorTom Lendacky <thomas.lendacky@amd.com>
Mon, 23 Apr 2018 16:43:34 +0000 (11:43 -0500)
committerKhalid Elmously <khalid.elmously@canonical.com>
Tue, 12 Jun 2018 06:28:55 +0000 (02:28 -0400)
commit667ac6aa49a783dfd6f28413e0633e6bc0abb3b6
tree337f77eb5c0d904931af7d609ef08c69631aa41f
parentc1e45f5bbaf0e63f28f74b178ae6d8dee2d15038
amd-xgbe: Only use the SFP supported transceiver signals

BugLink: http://bugs.launchpad.net/bugs/1775483
[ Upstream commit 117df655f8ed51adb6e6b163812a06ebeae9f453 ]

The SFP eeprom indicates the transceiver signals (Rx LOS, Tx Fault, etc.)
that it supports.  Update the driver to include checking the eeprom data
when deciding whether to use a transceiver signal.

Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
drivers/net/ethernet/amd/xgbe/xgbe-phy-v2.c