|
@@ -1157,6 +1157,7 @@ static irqreturn_t macb_interrupt(int irq, void *dev_id)
|
|
|
if (status & MACB_BIT(RXUBR)) {
|
|
|
ctrl = macb_readl(bp, NCR);
|
|
|
macb_writel(bp, NCR, ctrl & ~MACB_BIT(RE));
|
|
|
+ wmb();
|
|
|
macb_writel(bp, NCR, ctrl | MACB_BIT(RE));
|
|
|
|
|
|
if (bp->caps & MACB_CAPS_ISR_CLEAR_ON_WRITE)
|
|
@@ -2769,6 +2770,7 @@ static irqreturn_t at91ether_interrupt(int irq, void *dev_id)
|
|
|
if (intstatus & MACB_BIT(RXUBR)) {
|
|
|
ctl = macb_readl(lp, NCR);
|
|
|
macb_writel(lp, NCR, ctl & ~MACB_BIT(RE));
|
|
|
+ wmb();
|
|
|
macb_writel(lp, NCR, ctl | MACB_BIT(RE));
|
|
|
}
|
|
|
|