amd-xgbe: Update connection validation for backplane mode
authorLendacky, Thomas <Thomas.Lendacky@amd.com>
Thu, 17 Nov 2016 14:43:37 +0000 (08:43 -0600)
committerDavid S. Miller <davem@davemloft.net>
Fri, 18 Nov 2016 17:28:09 +0000 (12:28 -0500)
commit5a4e4c8f0236bc4cbb88aef5a706116e60e7ccc7
treee2abff83487d9e0e1db4d4b4a405930489d02e7b
parentd3c19c0a72b7e1affce86a4eaa634af0c72fce61
amd-xgbe: Update connection validation for backplane mode

Update the connection type enumeration for backplane mode and return
an error when there is a mismatch between the mode and the connection
type.

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