net: fsl/fman: rename IF_MODE_XGMII to IF_MODE_10G
authorMadalin Bucur <madalin.bucur@oss.nxp.com>
Wed, 22 Jan 2020 14:15:14 +0000 (16:15 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 5 Feb 2020 21:22:51 +0000 (21:22 +0000)
commit0c9a3ab865c3864f52a9513c8142b8018b3cd013
treeffe7deb3b0bfaa7c30db657744b49c5b66d61ece
parente2c797b72e014027bf0330f2b97b69ddb4156a6b
net: fsl/fman: rename IF_MODE_XGMII to IF_MODE_10G

[ Upstream commit 457bfc0a4bf531487ecc3cf82ec728a5e114fb1e ]

As the only 10G PHY interface type defined at the moment the code
was developed was XGMII, although the PHY interface mode used was
not XGMII, XGMII was used in the code to denote 10G. This patch
renames the 10G interface mode to remove the ambiguity.

Signed-off-by: Madalin Bucur <madalin.bucur@oss.nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/ethernet/freescale/fman/fman_memac.c