]> 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)
commitacea644c7153b91e2a2a9d883956bfd18a1aa0a4
treedd2873463ce6a30e76bfac45dd2bc6c9ef74b253
parent069688e323bef7f024eca7159d5b257e7b26c436
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