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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 29 Apr 2018 09:33:13 +0000 (11:33 +0200)
commit109feb04c85152dcff5c9922760dacd1b89b7ddd
treefe0796be8b4864aa6ab9d13aadb445da814e58bf
parent9a66123182a64083b5f8606dcdd7963e48b90d62
amd-xgbe: Only use the SFP supported transceiver signals

[ 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>
drivers/net/ethernet/amd/xgbe/xgbe-phy-v2.c