diff options
author | Shaohui Xie <Shaohui.Xie@freescale.com> | 2013-08-19 18:58:52 +0800 |
---|---|---|
committer | York Sun <yorksun@freescale.com> | 2013-08-20 10:46:48 -0700 |
commit | 1c68d01eea92137482b980318e2a7f7c0ebef2d4 (patch) | |
tree | c8626489bd3dce8596d7d49f9d33a2386806eca2 /drivers/net/fm/eth.c | |
parent | ae3dcd04880ba5b21ffd62e91713c14b4fd92ec5 (diff) | |
download | u-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/eth.c')
-rw-r--r-- | drivers/net/fm/eth.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/net/fm/eth.c b/drivers/net/fm/eth.c index 422c2c6..cb099cd 100644 --- a/drivers/net/fm/eth.c +++ b/drivers/net/fm/eth.c @@ -341,7 +341,9 @@ static int fm_eth_startup(struct fm_eth *fm_eth) mac->init_mac(mac); /* For some reason we need to set SPEED_100 */ - if ((fm_eth->enet_if == PHY_INTERFACE_MODE_SGMII) && mac->set_if_mode) + if (((fm_eth->enet_if == PHY_INTERFACE_MODE_SGMII) || + (fm_eth->enet_if == PHY_INTERFACE_MODE_QSGMII)) && + mac->set_if_mode) mac->set_if_mode(mac, fm_eth->enet_if, SPEED_100); /* init bmi rx port, IM mode and disable */ |