diff options
Diffstat (limited to 'drivers/net/spider_net.c')
-rw-r--r-- | drivers/net/spider_net.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/net/spider_net.c b/drivers/net/spider_net.c index 88d2c67788df..7f6b4a4052ee 100644 --- a/drivers/net/spider_net.c +++ b/drivers/net/spider_net.c | |||
@@ -1301,7 +1301,7 @@ static int spider_net_poll(struct napi_struct *napi, int budget) | |||
1301 | /* if all packets are in the stack, enable interrupts and return 0 */ | 1301 | /* if all packets are in the stack, enable interrupts and return 0 */ |
1302 | /* if not, return 1 */ | 1302 | /* if not, return 1 */ |
1303 | if (packets_done < budget) { | 1303 | if (packets_done < budget) { |
1304 | netif_rx_complete(napi); | 1304 | napi_complete(napi); |
1305 | spider_net_rx_irq_on(card); | 1305 | spider_net_rx_irq_on(card); |
1306 | card->ignore_rx_ramfull = 0; | 1306 | card->ignore_rx_ramfull = 0; |
1307 | } | 1307 | } |
@@ -1528,7 +1528,7 @@ spider_net_handle_error_irq(struct spider_net_card *card, u32 status_reg, | |||
1528 | spider_net_refill_rx_chain(card); | 1528 | spider_net_refill_rx_chain(card); |
1529 | spider_net_enable_rxdmac(card); | 1529 | spider_net_enable_rxdmac(card); |
1530 | card->num_rx_ints ++; | 1530 | card->num_rx_ints ++; |
1531 | netif_rx_schedule(&card->napi); | 1531 | napi_schedule(&card->napi); |
1532 | } | 1532 | } |
1533 | show_error = 0; | 1533 | show_error = 0; |
1534 | break; | 1534 | break; |
@@ -1548,7 +1548,7 @@ spider_net_handle_error_irq(struct spider_net_card *card, u32 status_reg, | |||
1548 | spider_net_refill_rx_chain(card); | 1548 | spider_net_refill_rx_chain(card); |
1549 | spider_net_enable_rxdmac(card); | 1549 | spider_net_enable_rxdmac(card); |
1550 | card->num_rx_ints ++; | 1550 | card->num_rx_ints ++; |
1551 | netif_rx_schedule(&card->napi); | 1551 | napi_schedule(&card->napi); |
1552 | show_error = 0; | 1552 | show_error = 0; |
1553 | break; | 1553 | break; |
1554 | 1554 | ||
@@ -1562,7 +1562,7 @@ spider_net_handle_error_irq(struct spider_net_card *card, u32 status_reg, | |||
1562 | spider_net_refill_rx_chain(card); | 1562 | spider_net_refill_rx_chain(card); |
1563 | spider_net_enable_rxdmac(card); | 1563 | spider_net_enable_rxdmac(card); |
1564 | card->num_rx_ints ++; | 1564 | card->num_rx_ints ++; |
1565 | netif_rx_schedule(&card->napi); | 1565 | napi_schedule(&card->napi); |
1566 | show_error = 0; | 1566 | show_error = 0; |
1567 | break; | 1567 | break; |
1568 | 1568 | ||
@@ -1656,11 +1656,11 @@ spider_net_interrupt(int irq, void *ptr) | |||
1656 | 1656 | ||
1657 | if (status_reg & SPIDER_NET_RXINT ) { | 1657 | if (status_reg & SPIDER_NET_RXINT ) { |
1658 | spider_net_rx_irq_off(card); | 1658 | spider_net_rx_irq_off(card); |
1659 | netif_rx_schedule(&card->napi); | 1659 | napi_schedule(&card->napi); |
1660 | card->num_rx_ints ++; | 1660 | card->num_rx_ints ++; |
1661 | } | 1661 | } |
1662 | if (status_reg & SPIDER_NET_TXINT) | 1662 | if (status_reg & SPIDER_NET_TXINT) |
1663 | netif_rx_schedule(&card->napi); | 1663 | napi_schedule(&card->napi); |
1664 | 1664 | ||
1665 | if (status_reg & SPIDER_NET_LINKINT) | 1665 | if (status_reg & SPIDER_NET_LINKINT) |
1666 | spider_net_link_reset(netdev); | 1666 | spider_net_link_reset(netdev); |