mediatek: update the ethernet compat string
[openwrt/staging/lynxis.git] / target / linux / mediatek / patches-4.4 / 0049-net-next-mediatek-add-support-for-MT7623-ethernet.patch
index 5bfc00f0682324fb2046d5e174e03f8793a15db8..9d445921aa465c6298505f2e25cfc04a62084f0a 100644 (file)
@@ -1,7 +1,7 @@
-From 873a5623ef43181f07b58328131e98fee5bc3d64 Mon Sep 17 00:00:00 2001
+From 8cc84aa65121135d7b120ce71b4f10f81230c818 Mon Sep 17 00:00:00 2001
 From: John Crispin <blogic@openwrt.org>
 Date: Wed, 2 Mar 2016 04:27:10 +0100
-Subject: [PATCH 49/53] net-next: mediatek: add support for MT7623 ethernet
+Subject: [PATCH 049/102] net-next: mediatek: add support for MT7623 ethernet
 
 Add ethernet support for MediaTek SoCs from the MT7623 family. These have
 dual GMAC. Depending on the exact version, there might be a built-in
@@ -16,7 +16,7 @@ the RX ring and data buffer. This is really needed to make the HW datapath
 work. Although the driver does not support this yet, we still need to
 assign the memory and tell the core about it for RX to work.
 
-Signed-off-by: Felix Fietkau <nbd@openwrt.org>
+Signed-off-by: Felix Fietkau <nbd@nbd.name>
 Signed-off-by: Michael Lee <igvtee@gmail.com>
 Signed-off-by: John Crispin <blogic@openwrt.org>
 ---
@@ -26,9 +26,6 @@ Signed-off-by: John Crispin <blogic@openwrt.org>
  create mode 100644 drivers/net/ethernet/mediatek/mtk_eth_soc.c
  create mode 100644 drivers/net/ethernet/mediatek/mtk_eth_soc.h
 
-diff --git a/drivers/net/ethernet/mediatek/mtk_eth_soc.c b/drivers/net/ethernet/mediatek/mtk_eth_soc.c
-new file mode 100644
-index 0000000..ba3afa5
 --- /dev/null
 +++ b/drivers/net/ethernet/mediatek/mtk_eth_soc.c
 @@ -0,0 +1,1807 @@
@@ -42,7 +39,7 @@ index 0000000..ba3afa5
 + *   GNU General Public License for more details.
 + *
 + *   Copyright (C) 2009-2016 John Crispin <blogic@openwrt.org>
-+ *   Copyright (C) 2009-2016 Felix Fietkau <nbd@openwrt.org>
++ *   Copyright (C) 2009-2016 Felix Fietkau <nbd@nbd.name>
 + *   Copyright (C) 2013-2016 Michael Lee <igvtee@gmail.com>
 + */
 +
@@ -1820,7 +1817,7 @@ index 0000000..ba3afa5
 +}
 +
 +const struct of_device_id of_mtk_match[] = {
-+      { .compatible = "mediatek,mt7623-eth" },
++      { .compatible = "mediatek,mt2701-eth" },
 +      {},
 +};
 +
@@ -1839,9 +1836,6 @@ index 0000000..ba3afa5
 +MODULE_LICENSE("GPL");
 +MODULE_AUTHOR("John Crispin <blogic@openwrt.org>");
 +MODULE_DESCRIPTION("Ethernet driver for MediaTek SoC");
-diff --git a/drivers/net/ethernet/mediatek/mtk_eth_soc.h b/drivers/net/ethernet/mediatek/mtk_eth_soc.h
-new file mode 100644
-index 0000000..48a5292
 --- /dev/null
 +++ b/drivers/net/ethernet/mediatek/mtk_eth_soc.h
 @@ -0,0 +1,421 @@
@@ -1855,7 +1849,7 @@ index 0000000..48a5292
 + *   GNU General Public License for more details.
 + *
 + *   Copyright (C) 2009-2016 John Crispin <blogic@openwrt.org>
-+ *   Copyright (C) 2009-2016 Felix Fietkau <nbd@openwrt.org>
++ *   Copyright (C) 2009-2016 Felix Fietkau <nbd@nbd.name>
 + *   Copyright (C) 2013-2016 Michael Lee <igvtee@gmail.com>
 + */
 +
@@ -2266,6 +2260,3 @@ index 0000000..48a5292
 +u32 mtk_r32(struct mtk_eth *eth, unsigned reg);
 +
 +#endif /* MTK_ETH_H */
--- 
-1.7.10.4
-