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 14:18:26 +0000 (14:18 +0000)
commit5d47f5ed5a1a4d08cd889f5b5fcacc1c0285b5bd
tree475a0d8617106aac3ddd782b370f3872c785151f
parent743bc2ab644f8d2c85f4021e1d2d72dd39d1ace8
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