diff options
Diffstat (limited to 'drivers/net/s2io.c')
-rw-r--r-- | drivers/net/s2io.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/s2io.c b/drivers/net/s2io.c index f5c57c059bca..2a96a10fd0cf 100644 --- a/drivers/net/s2io.c +++ b/drivers/net/s2io.c | |||
@@ -2852,7 +2852,7 @@ static int s2io_poll_msix(struct napi_struct *napi, int budget) | |||
2852 | s2io_chk_rx_buffers(nic, ring); | 2852 | s2io_chk_rx_buffers(nic, ring); |
2853 | 2853 | ||
2854 | if (pkts_processed < budget_org) { | 2854 | if (pkts_processed < budget_org) { |
2855 | netif_rx_complete(napi); | 2855 | napi_complete(napi); |
2856 | /*Re Enable MSI-Rx Vector*/ | 2856 | /*Re Enable MSI-Rx Vector*/ |
2857 | addr = (u8 __iomem *)&bar0->xmsi_mask_reg; | 2857 | addr = (u8 __iomem *)&bar0->xmsi_mask_reg; |
2858 | addr += 7 - ring->ring_no; | 2858 | addr += 7 - ring->ring_no; |
@@ -2889,7 +2889,7 @@ static int s2io_poll_inta(struct napi_struct *napi, int budget) | |||
2889 | break; | 2889 | break; |
2890 | } | 2890 | } |
2891 | if (pkts_processed < budget_org) { | 2891 | if (pkts_processed < budget_org) { |
2892 | netif_rx_complete(napi); | 2892 | napi_complete(napi); |
2893 | /* Re enable the Rx interrupts for the ring */ | 2893 | /* Re enable the Rx interrupts for the ring */ |
2894 | writeq(0, &bar0->rx_traffic_mask); | 2894 | writeq(0, &bar0->rx_traffic_mask); |
2895 | readl(&bar0->rx_traffic_mask); | 2895 | readl(&bar0->rx_traffic_mask); |
@@ -4342,7 +4342,7 @@ static irqreturn_t s2io_msix_ring_handle(int irq, void *dev_id) | |||
4342 | val8 = (ring->ring_no == 0) ? 0x7f : 0xff; | 4342 | val8 = (ring->ring_no == 0) ? 0x7f : 0xff; |
4343 | writeb(val8, addr); | 4343 | writeb(val8, addr); |
4344 | val8 = readb(addr); | 4344 | val8 = readb(addr); |
4345 | netif_rx_schedule(&ring->napi); | 4345 | napi_schedule(&ring->napi); |
4346 | } else { | 4346 | } else { |
4347 | rx_intr_handler(ring, 0); | 4347 | rx_intr_handler(ring, 0); |
4348 | s2io_chk_rx_buffers(sp, ring); | 4348 | s2io_chk_rx_buffers(sp, ring); |
@@ -4789,7 +4789,7 @@ static irqreturn_t s2io_isr(int irq, void *dev_id) | |||
4789 | 4789 | ||
4790 | if (config->napi) { | 4790 | if (config->napi) { |
4791 | if (reason & GEN_INTR_RXTRAFFIC) { | 4791 | if (reason & GEN_INTR_RXTRAFFIC) { |
4792 | netif_rx_schedule(&sp->napi); | 4792 | napi_schedule(&sp->napi); |
4793 | writeq(S2IO_MINUS_ONE, &bar0->rx_traffic_mask); | 4793 | writeq(S2IO_MINUS_ONE, &bar0->rx_traffic_mask); |
4794 | writeq(S2IO_MINUS_ONE, &bar0->rx_traffic_int); | 4794 | writeq(S2IO_MINUS_ONE, &bar0->rx_traffic_int); |
4795 | readl(&bar0->rx_traffic_int); | 4795 | readl(&bar0->rx_traffic_int); |