kernel: bump 4.19 to 4.19.84
[openwrt/openwrt.git] / target / linux / brcm2708 / patches-4.19 / 950-0754-Revert-net-bcmgenet-Workaround-for-Pi-4B-network-iss.patch
index 65f96bd65eba8704dd70f6efcd72976b7978fa67..d7512dacd8c19daf87a6b3933d9da330f151b2a7 100644 (file)
@@ -22,7 +22,7 @@ This reverts commit 9c0770ea7682a84a22c33410ef6870af258abacc.
  static inline void bcmgenet_writel(u32 value, void __iomem *offset)
  {
        /* MIPS chips strapped for BE will automagically configure the
-@@ -2614,7 +2610,6 @@ static void bcmgenet_irq_task(struct wor
+@@ -2616,7 +2612,6 @@ static void bcmgenet_irq_task(struct wor
        unsigned int status;
        struct bcmgenet_priv *priv = container_of(
                        work, struct bcmgenet_priv, bcmgenet_irq_work);
@@ -30,11 +30,14 @@ This reverts commit 9c0770ea7682a84a22c33410ef6870af258abacc.
  
        netif_dbg(priv, intr, priv->dev, "%s\n", __func__);
  
-@@ -2627,23 +2622,6 @@ static void bcmgenet_irq_task(struct wor
-       if (status & UMAC_IRQ_LINK_EVENT) {
-               priv->dev->phydev->link = !!(status & UMAC_IRQ_LINK_UP);
+@@ -2630,26 +2625,9 @@ static void bcmgenet_irq_task(struct wor
+               phy_init_hw(priv->dev->phydev);
+       /* Link UP/DOWN event */
+-      if (status & UMAC_IRQ_LINK_EVENT) {
++      if (status & UMAC_IRQ_LINK_EVENT)
                phy_mac_interrupt(priv->dev->phydev);
--
 -              if (priv->dev->phydev->link && first_link) {
 -                      first_link = 0;
 -                      /*
@@ -47,10 +50,11 @@ This reverts commit 9c0770ea7682a84a22c33410ef6870af258abacc.
 -                       */
 -                      if (force_reneg) {
 -                              dev_info(&priv->pdev->dev,
--                                       "Forcing renegotiation\n");
+-                                      "Forcing renegotiation\n");
 -                              genphy_restart_aneg(priv->dev->phydev);
 -                      }
 -              }
-       }
+-      }
  }
  
+ /* bcmgenet_isr1: handle Rx and Tx priority queues */