summaryrefslogtreecommitdiff
path: root/drivers/net/fm/memac.c
diff options
context:
space:
mode:
authorShaohui Xie <Shaohui.Xie@freescale.com>2013-08-19 18:58:52 +0800
committerYork Sun <yorksun@freescale.com>2013-08-20 10:46:48 -0700
commit1c68d01eea92137482b980318e2a7f7c0ebef2d4 (patch)
treec8626489bd3dce8596d7d49f9d33a2386806eca2 /drivers/net/fm/memac.c
parentae3dcd04880ba5b21ffd62e91713c14b4fd92ec5 (diff)
downloadu-boot-imx-1c68d01eea92137482b980318e2a7f7c0ebef2d4.zip
u-boot-imx-1c68d01eea92137482b980318e2a7f7c0ebef2d4.tar.gz
u-boot-imx-1c68d01eea92137482b980318e2a7f7c0ebef2d4.tar.bz2
powerpc/t4240: add QSGMII interface support
Also some fix for QSGMII. 1. fix QSGMII configure of Serdes2. 2. fix PHY address of QSGMII MAC9 & MAC10 for each FMAN. 3. fix dtb for QSGMII interface. Signed-off-by: Shaohui Xie <Shaohui.Xie@freescale.com> Acked-by: York Sun <yorksun@freescale.com>
Diffstat (limited to 'drivers/net/fm/memac.c')
-rw-r--r--drivers/net/fm/memac.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/fm/memac.c b/drivers/net/fm/memac.c
index 144e109..592a67f 100644
--- a/drivers/net/fm/memac.c
+++ b/drivers/net/fm/memac.c
@@ -90,6 +90,7 @@ static void memac_set_interface_mode(struct fsl_enet_mac *mac,
if_mode |= (IF_MODE_GMII | IF_MODE_RM);
break;
case PHY_INTERFACE_MODE_SGMII:
+ case PHY_INTERFACE_MODE_QSGMII:
if_mode &= ~IF_MODE_MASK;
if_mode |= (IF_MODE_GMII);
break;