From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christophe Roullier Subject: [PATCH V3 6/8] net: stmmac: add dwmac-4.20a compatible Date: Mon, 21 May 2018 10:07:24 +0200 Message-ID: <1526890046-10565-7-git-send-email-christophe.roullier@st.com> References: <1526890046-10565-1-git-send-email-christophe.roullier@st.com> Mime-Version: 1.0 Content-Type: text/plain Cc: , , , , To: , , , Return-path: Received: from mx08-00178001.pphosted.com ([91.207.212.93]:33038 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750944AbeEUIJI (ORCPT ); Mon, 21 May 2018 04:09:08 -0400 In-Reply-To: <1526890046-10565-1-git-send-email-christophe.roullier@st.com> Sender: netdev-owner@vger.kernel.org List-ID: Manage dwmac-4.20a version from synopsys Signed-off-by: Christophe Roullier --- drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c b/drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c index ebd3e5f..6d141f3 100644 --- a/drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c +++ b/drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c @@ -472,7 +472,8 @@ struct plat_stmmacenet_data * } if (of_device_is_compatible(np, "snps,dwmac-4.00") || - of_device_is_compatible(np, "snps,dwmac-4.10a")) { + of_device_is_compatible(np, "snps,dwmac-4.10a") || + of_device_is_compatible(np, "snps,dwmac-4.20a")) { plat->has_gmac4 = 1; plat->has_gmac = 0; plat->pmt = 1; -- 1.9.1