diff options
author | Shaohui Xie <Shaohui.Xie@freescale.com> | 2014-11-13 03:26:19 (GMT) |
---|---|---|
committer | York Sun <yorksun@freescale.com> | 2014-12-05 16:06:13 (GMT) |
commit | 89b94d851d683308e731e3ceae1a12f616d1f2f7 (patch) | |
tree | 1eb37fead47897cdb4c99276a15d608504a51201 /drivers/net | |
parent | 8c328c21b7f9b794523c966b777700c0e9b7f424 (diff) | |
download | u-boot-89b94d851d683308e731e3ceae1a12f616d1f2f7.tar.xz |
powerpc/b4860qds: add xfi support
We need following changes to make xfi work on B4:
1. set cross-point switch VSC3308 to use sfp config when running xfi;
2. add 10G interface check for xfi;
3. set phy address for xfi so the 10G ports can be registered by mdio;
Signed-off-by: Shaohui Xie <Shaohui.Xie@freescale.com>
Reviewed-by: York Sun <yorksun@freescale.com>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/fm/b4860.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/net/fm/b4860.c b/drivers/net/fm/b4860.c index 373cc4f..71285a8 100644 --- a/drivers/net/fm/b4860.c +++ b/drivers/net/fm/b4860.c @@ -52,7 +52,9 @@ phy_interface_t fman_port_enet_if(enum fm_port port) /*B4860 has two 10Gig Mac*/ if ((port == FM1_10GEC1 || port == FM1_10GEC2) && ((is_serdes_configured(XAUI_FM1_MAC9)) || - (is_serdes_configured(XAUI_FM1_MAC10)))) + (is_serdes_configured(XAUI_FM1_MAC10)) || + (is_serdes_configured(XFI_FM1_MAC9)) || + (is_serdes_configured(XFI_FM1_MAC10)))) return PHY_INTERFACE_MODE_XGMII; /* Fix me need to handle RGMII here first */ |