aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorMadalin Bucur <madalin.bucur@nxp.com>2016-06-24 05:25:05 -0400
committerMadalin Bucur <madalin.bucur@nxp.com>2016-10-04 02:26:08 -0400
commit44045e45abbda3e6db7ca0ef3e460e6ed03419c9 (patch)
treeba051ec34ceabc07aac969f17f80104289dc0de6 /drivers/net
parent73c364e110015690f13336544a51aab685bd5f23 (diff)
fsl/fman: MEMAC may use QSGMII PHY interface mode
Signed-off-by: Madalin Bucur <madalin.bucur@nxp.com>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/ethernet/freescale/fman/fman_memac.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/ethernet/freescale/fman/fman_memac.c b/drivers/net/ethernet/freescale/fman/fman_memac.c
index 45e98fd8b79e..96dfe7eb4e5f 100644
--- a/drivers/net/ethernet/freescale/fman/fman_memac.c
+++ b/drivers/net/ethernet/freescale/fman/fman_memac.c
@@ -1151,7 +1151,8 @@ struct fman_mac *memac_config(struct fman_mac_params *params)
1151 /* Save FMan revision */ 1151 /* Save FMan revision */
1152 fman_get_revision(memac->fm, &memac->fm_rev_info); 1152 fman_get_revision(memac->fm, &memac->fm_rev_info);
1153 1153
1154 if (memac->phy_if == PHY_INTERFACE_MODE_SGMII) { 1154 if (memac->phy_if == PHY_INTERFACE_MODE_SGMII ||
1155 memac->phy_if == PHY_INTERFACE_MODE_QSGMII) {
1155 if (!params->internal_phy_node) { 1156 if (!params->internal_phy_node) {
1156 pr_err("PCS PHY node is not available\n"); 1157 pr_err("PCS PHY node is not available\n");
1157 memac_free(memac); 1158 memac_free(memac);