Author: blogic Date: 2015-11-21 22:24:03 +0100 (Sat, 21 Nov 2015) New Revision: 47552
Modified: trunk/target/linux/oxnas/patches-4.1/700-oxnas-dwmac.patch Log: oxnas: add missing platform bindings for stmmac glue r47218 was missing needed changes which were accidentally ommitted from the patch. This should fix #20878 Signed-off-by: Daniel Golle <[email protected]> Modified: trunk/target/linux/oxnas/patches-4.1/700-oxnas-dwmac.patch =================================================================== --- trunk/target/linux/oxnas/patches-4.1/700-oxnas-dwmac.patch 2015-11-21 17:40:46 UTC (rev 47551) +++ trunk/target/linux/oxnas/patches-4.1/700-oxnas-dwmac.patch 2015-11-21 21:24:03 UTC (rev 47552) @@ -23,3 +23,22 @@ obj-$(CONFIG_STMMAC_PCI) += stmmac-pci.o stmmac-pci-objs:= stmmac_pci.o +--- a/drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c ++++ b/drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c +@@ -34,6 +34,7 @@ + + static const struct of_device_id stmmac_dt_ids[] = { + /* SoC specific glue layers should come before generic bindings */ ++ { .compatible = "plxtech,nas782x-gmac", .data = &oxnas_gmac_data}, + { .compatible = "rockchip,rk3288-gmac", .data = &rk3288_gmac_data}, + { .compatible = "amlogic,meson6-dwmac", .data = &meson6_dwmac_data}, + { .compatible = "allwinner,sun7i-a20-gmac", .data = &sun7i_gmac_data}, +--- a/drivers/net/ethernet/stmicro/stmmac/stmmac_platform.h ++++ b/drivers/net/ethernet/stmicro/stmmac/stmmac_platform.h +@@ -25,5 +25,6 @@ extern const struct stmmac_of_data stih4 + extern const struct stmmac_of_data stid127_dwmac_data; + extern const struct stmmac_of_data socfpga_gmac_data; + extern const struct stmmac_of_data rk3288_gmac_data; ++extern const struct stmmac_of_data oxnas_gmac_data; + + #endif /* __STMMAC_PLATFORM_H__ */ _______________________________________________ openwrt-commits mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits
