Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 340431
b: refs/heads/master
c: 95ebcea
h: refs/heads/master
i:
  340429: 56589d4
  340427: a330c59
  340423: b5adb55
  340415: a5e7aac
v: v3
  • Loading branch information
Joachim Eastwood authored and David S. Miller committed Oct 23, 2012
1 parent 475f7d5 commit 192d728
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 51ebd3181572af8d5076808dab2682d800f6da5d
refs/heads/master: 95ebcea69c888fc644e2a64586c74e2299ca47ca
8 changes: 4 additions & 4 deletions trunk/drivers/net/ethernet/cadence/macb.c
Original file line number Diff line number Diff line change
Expand Up @@ -553,7 +553,7 @@ static irqreturn_t macb_interrupt(int irq, void *dev_id)
while (status) {
/* close possible race with dev_close */
if (unlikely(!netif_running(dev))) {
macb_writel(bp, IDR, ~0UL);
macb_writel(bp, IDR, -1);
break;
}

Expand Down Expand Up @@ -789,11 +789,11 @@ static void macb_reset_hw(struct macb *bp)
macb_writel(bp, NCR, MACB_BIT(CLRSTAT));

/* Clear all status flags */
macb_writel(bp, TSR, ~0UL);
macb_writel(bp, RSR, ~0UL);
macb_writel(bp, TSR, -1);
macb_writel(bp, RSR, -1);

/* Disable all interrupts */
macb_writel(bp, IDR, ~0UL);
macb_writel(bp, IDR, -1);
macb_readl(bp, ISR);
}

Expand Down

0 comments on commit 192d728

Please sign in to comment.