]> git.baikalelectronics.ru Git - 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)
committerDavid S. Miller <davem@davemloft.net>
Tue, 24 Apr 2018 01:24:22 +0000 (21:24 -0400)
commitdb4021bd61aec3c982302fb59291a51e5a43eda5
treedd2873463ce6a30e76bfac45dd2bc6c9ef74b253
parent8c3968b150d447b3ded555af23bc75e3892cbf07
amd-xgbe: Only use the SFP supported transceiver signals

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