From: Madalin Bucur Date: Fri, 24 Jun 2016 09:25:05 +0000 (+0300) Subject: fsl/fman: MEMAC may use QSGMII PHY interface mode X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=44045e45abbda3e6db7ca0ef3e460e6ed03419c9;p=openwrt%2Fstaging%2Fblogic.git fsl/fman: MEMAC may use QSGMII PHY interface mode Signed-off-by: Madalin Bucur --- 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) /* Save FMan revision */ fman_get_revision(memac->fm, &memac->fm_rev_info); - if (memac->phy_if == PHY_INTERFACE_MODE_SGMII) { + if (memac->phy_if == PHY_INTERFACE_MODE_SGMII || + memac->phy_if == PHY_INTERFACE_MODE_QSGMII) { if (!params->internal_phy_node) { pr_err("PCS PHY node is not available\n"); memac_free(memac);