Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759408AbcCDP7A (ORCPT ); Fri, 4 Mar 2016 10:59:00 -0500 Received: from mail-wm0-f68.google.com ([74.125.82.68]:34370 "EHLO mail-wm0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759117AbcCDP6U (ORCPT ); Fri, 4 Mar 2016 10:58:20 -0500 From: Alexandre TORGUE To: Maxime Coquelin , Giuseppe Cavallaro , netdev@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, robh@kernel.org, manabian@gmail.com Subject: [PATCH v4 3/4] net: ethernet: stmmac: add support of Synopsys 3.50a MAC IP Date: Fri, 4 Mar 2016 16:58:05 +0100 Message-Id: <1457107086-14764-4-git-send-email-alexandre.torgue@gmail.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1457107086-14764-1-git-send-email-alexandre.torgue@gmail.com> References: <1457107086-14764-1-git-send-email-alexandre.torgue@gmail.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 812 Lines: 18 Adds support of Synopsys 3.50a MAC IP in stmmac driver. Signed-off-by: Alexandre TORGUE diff --git a/drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c b/drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c index 6a52fa1..6cca626 100644 --- a/drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c +++ b/drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c @@ -178,6 +178,7 @@ stmmac_probe_config_dt(struct platform_device *pdev, const char **mac) * once needed on other platforms. */ if (of_device_is_compatible(np, "st,spear600-gmac") || + of_device_is_compatible(np, "snps,dwmac-3.50a") || of_device_is_compatible(np, "snps,dwmac-3.70a") || of_device_is_compatible(np, "snps,dwmac")) { /* Note that the max-frame-size parameter as defined in the -- 1.9.1