]> git.baikalelectronics.ru Git - kernel.git/commit
amd-xgbe-phy: Properly support the FEC auto-negotiation
authorLendacky, Thomas <Thomas.Lendacky@amd.com>
Fri, 16 Jan 2015 18:47:05 +0000 (12:47 -0600)
committerDavid S. Miller <davem@davemloft.net>
Sat, 17 Jan 2015 03:24:20 +0000 (22:24 -0500)
commit2c3427156417251fbaa17bbf64a328acadb05a14
tree1b008b379861f15830c8558107b09315f0743173
parente46ca6d347b81c2cc8e4d06604479f7ebb501584
amd-xgbe-phy: Properly support the FEC auto-negotiation

Advertise and apply the Forward Error Correction capabilities of the
device based on the FEC ability of the device. Also, remove the use
of some hard coded values related to KR and FEC in preference of some
#defines.

Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/amd-xgbe-phy.c