kernel: update kernel 4.4 to version 4.4.9
[openwrt/staging/rmilecki.git] / target / linux / mediatek / patches-4.4 / 0087-net-next-mediatek-add-IRQ-locking.patch
index 7278d8328558c96d6197d83223910c5dd93f9bec..4930726809df6cbc477d0ea92dfd79bd899c278d 100644 (file)
@@ -16,11 +16,9 @@ Signed-off-by: John Crispin <blogic@openwrt.org>
  drivers/net/ethernet/mediatek/mtk_eth_soc.h |    1 +
  2 files changed, 8 insertions(+)
 
-diff --git a/drivers/net/ethernet/mediatek/mtk_eth_soc.c b/drivers/net/ethernet/mediatek/mtk_eth_soc.c
-index 24a4179..f86d551 100644
 --- a/drivers/net/ethernet/mediatek/mtk_eth_soc.c
 +++ b/drivers/net/ethernet/mediatek/mtk_eth_soc.c
-@@ -316,22 +316,28 @@ static void mtk_mdio_cleanup(struct mtk_eth *eth)
+@@ -316,22 +316,28 @@ static void mtk_mdio_cleanup(struct mtk_
  
  static inline void mtk_irq_disable(struct mtk_eth *eth, u32 mask)
  {
@@ -49,7 +47,7 @@ index 24a4179..f86d551 100644
  }
  
  static int mtk_set_mac_address(struct net_device *dev, void *p)
-@@ -1752,6 +1758,7 @@ static int mtk_probe(struct platform_device *pdev)
+@@ -1752,6 +1758,7 @@ static int mtk_probe(struct platform_dev
                return -EADDRNOTAVAIL;
  
        spin_lock_init(&eth->page_lock);
@@ -57,8 +55,6 @@ index 24a4179..f86d551 100644
  
        eth->ethsys = syscon_regmap_lookup_by_phandle(pdev->dev.of_node,
                                                      "mediatek,ethsys");
-diff --git a/drivers/net/ethernet/mediatek/mtk_eth_soc.h b/drivers/net/ethernet/mediatek/mtk_eth_soc.h
-index 57f7e8a..8220275 100644
 --- a/drivers/net/ethernet/mediatek/mtk_eth_soc.h
 +++ b/drivers/net/ethernet/mediatek/mtk_eth_soc.h
 @@ -372,6 +372,7 @@ struct mtk_eth {
@@ -69,6 +65,3 @@ index 57f7e8a..8220275 100644
        struct net_device               dummy_dev;
        struct net_device               *netdev[MTK_MAX_DEVS];
        struct mtk_mac                  *mac[MTK_MAX_DEVS];
--- 
-1.7.10.4
-