summaryrefslogtreecommitdiff
path: root/drivers/net/fm
diff options
context:
space:
mode:
authorYing Zhang <b40530@freescale.com>2016-04-18 17:04:16 +0800
committerYork Sun <york.sun@nxp.com>2016-05-24 17:11:03 -0700
commit8ef548d5f13e68e1b3975d9b68920bfa8bf09891 (patch)
tree0686c90ff3bfda31dfe84c83ef4011e980f1e700 /drivers/net/fm
parentd1fc8ed485cbf44434a9bc2a02ddf2a94f2183c1 (diff)
downloadu-boot-imx-8ef548d5f13e68e1b3975d9b68920bfa8bf09891.zip
u-boot-imx-8ef548d5f13e68e1b3975d9b68920bfa8bf09891.tar.gz
u-boot-imx-8ef548d5f13e68e1b3975d9b68920bfa8bf09891.tar.bz2
powerpc:t4240: MAC9 and MAC10 should not be identified as 1G interface in some case
When using rcw protocols to support 10G on MAC9 and MAC10, these MACs should not be identified as 1G interface, otherwise, one MAC will be listed as two Ethernet ports. For example, MAC9 will be listed as FM1@TGEC1 and FM1@DTSEC9. Signed-off-by: Ying Zhang <b40530@freescale.com> Reviewed-by: York Sun <york.sun@nxp.com>
Diffstat (limited to 'drivers/net/fm')
-rw-r--r--drivers/net/fm/t4240.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/fm/t4240.c b/drivers/net/fm/t4240.c
index ae5aca4..70887fa 100644
--- a/drivers/net/fm/t4240.c
+++ b/drivers/net/fm/t4240.c
@@ -74,7 +74,7 @@ phy_interface_t fman_port_enet_if(enum fm_port port)
if ((port == FM1_DTSEC9 || port == FM1_DTSEC10) &&
((is_serdes_configured(XFI_FM1_MAC9)) ||
(is_serdes_configured(XFI_FM1_MAC10))))
- return PHY_INTERFACE_MODE_XGMII;
+ return PHY_INTERFACE_MODE_NONE;
if ((port == FM2_10GEC1 || port == FM2_10GEC2) &&
((is_serdes_configured(XAUI_FM2_MAC9)) ||