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);
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;
- /*
- */
- 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 */