diff options
author | Suresh Gupta <suresh.gupta@freescale.com> | 2013-03-25 07:40:13 +0000 |
---|---|---|
committer | Andy Fleming <afleming@freescale.com> | 2013-05-24 16:54:12 -0500 |
commit | 16d88f415ab799287672ae6cd08bf3ce975de2b5 (patch) | |
tree | 3d85efdf337bc48461c6610bf362f990e79b44da /drivers/net | |
parent | 49e946cb6ae0448492147ffcb9dcd7d0af1eab4d (diff) | |
download | u-boot-imx-16d88f415ab799287672ae6cd08bf3ce975de2b5.zip u-boot-imx-16d88f415ab799287672ae6cd08bf3ce975de2b5.tar.gz u-boot-imx-16d88f415ab799287672ae6cd08bf3ce975de2b5.tar.bz2 |
Enable XAUI interface for B4860QDS
- Added SERDES2 PRTCLs = 0x98, 0x9E
- Default Phy Addresses for Teranetics PHY on XAUI card
The PHY addresses of Teranetics PHY on XAUI riser card are assigned
based on the slot it is in. Switches SW4[2:4] and SW6[2:4] on
AMC2PEX-2S On B4860QDS, AMC2PEX card decide the PHY addresses on slot1
and slot2
- Configure MDIO for 10Gig Mac
Signed-off-by: Suresh Gupta <suresh.gupta@freescale.com>
Signed-off-by: Andy Fleming <afleming@freescale.com>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/fm/b4860.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/net/fm/b4860.c b/drivers/net/fm/b4860.c index 8cde7af..3b5defe 100644 --- a/drivers/net/fm/b4860.c +++ b/drivers/net/fm/b4860.c @@ -55,8 +55,10 @@ phy_interface_t fman_port_enet_if(enum fm_port port) if (is_device_disabled(port)) return PHY_INTERFACE_MODE_NONE; - if ((port == FM1_10GEC1 || port == FM1_10GEC2) - && (is_serdes_configured(XAUI_FM1))) + /*B4860 has two 10Gig Mac*/ + if ((port == FM1_10GEC1 || port == FM1_10GEC2) && + ((is_serdes_configured(XAUI_FM1_MAC9)) || + (is_serdes_configured(XAUI_FM1_MAC10)))) return PHY_INTERFACE_MODE_XGMII; /* Fix me need to handle RGMII here first */ |