Skip to content

Commit

Permalink
fsl/fman: MEMAC may use QSGMII PHY interface mode
Browse files Browse the repository at this point in the history
Signed-off-by: Madalin Bucur <madalin.bucur@nxp.com>
  • Loading branch information
Madalin Bucur committed Oct 4, 2016
1 parent 73c364e commit 44045e4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/net/ethernet/freescale/fman/fman_memac.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 44045e4

Please sign in to comment.