diff options
-rw-r--r-- | drivers/net/sky2.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/sky2.c b/drivers/net/sky2.c index a1884b472cd0..7dc5b4821ae4 100644 --- a/drivers/net/sky2.c +++ b/drivers/net/sky2.c | |||
@@ -1739,6 +1739,7 @@ static int sky2_poll(struct net_device *dev0, int *budget) | |||
1739 | unsigned int work_done = 0; | 1739 | unsigned int work_done = 0; |
1740 | u16 hwidx; | 1740 | u16 hwidx; |
1741 | 1741 | ||
1742 | sky2_write32(hw, STAT_CTRL, SC_STAT_CLR_IRQ); | ||
1742 | hwidx = sky2_read16(hw, STAT_PUT_IDX); | 1743 | hwidx = sky2_read16(hw, STAT_PUT_IDX); |
1743 | BUG_ON(hwidx >= STATUS_RING_SIZE); | 1744 | BUG_ON(hwidx >= STATUS_RING_SIZE); |
1744 | rmb(); | 1745 | rmb(); |