diff options
-rw-r--r-- | drivers/net/pcnet32.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/pcnet32.c b/drivers/net/pcnet32.c index e5e8c59243b6..1c35e1d637a0 100644 --- a/drivers/net/pcnet32.c +++ b/drivers/net/pcnet32.c | |||
@@ -1405,7 +1405,7 @@ static int pcnet32_poll(struct napi_struct *napi, int budget) | |||
1405 | 1405 | ||
1406 | /* Set interrupt enable. */ | 1406 | /* Set interrupt enable. */ |
1407 | lp->a.write_csr(ioaddr, CSR0, CSR0_INTEN); | 1407 | lp->a.write_csr(ioaddr, CSR0, CSR0_INTEN); |
1408 | mmiowb(); | 1408 | |
1409 | spin_unlock_irqrestore(&lp->lock, flags); | 1409 | spin_unlock_irqrestore(&lp->lock, flags); |
1410 | } | 1410 | } |
1411 | return work_done; | 1411 | return work_done; |
@@ -2597,7 +2597,7 @@ pcnet32_interrupt(int irq, void *dev_id) | |||
2597 | val = lp->a.read_csr(ioaddr, CSR3); | 2597 | val = lp->a.read_csr(ioaddr, CSR3); |
2598 | val |= 0x5f00; | 2598 | val |= 0x5f00; |
2599 | lp->a.write_csr(ioaddr, CSR3, val); | 2599 | lp->a.write_csr(ioaddr, CSR3, val); |
2600 | mmiowb(); | 2600 | |
2601 | __napi_schedule(&lp->napi); | 2601 | __napi_schedule(&lp->napi); |
2602 | break; | 2602 | break; |
2603 | } | 2603 | } |