提交 026e5758 编写于 作者: C Christophe Roullier 提交者: David S. Miller

net: stmmac: add dwmac-4.20a compatible

Manage dwmac-4.20a version from synopsys
Signed-off-by: NChristophe Roullier <christophe.roullier@st.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 1f3feacb
...@@ -472,7 +472,8 @@ stmmac_probe_config_dt(struct platform_device *pdev, const char **mac) ...@@ -472,7 +472,8 @@ stmmac_probe_config_dt(struct platform_device *pdev, const char **mac)
} }
if (of_device_is_compatible(np, "snps,dwmac-4.00") || 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_gmac4 = 1;
plat->has_gmac = 0; plat->has_gmac = 0;
plat->pmt = 1; plat->pmt = 1;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册