aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/pasemi_mac.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/pasemi_mac.c')
-rw-r--r--drivers/net/pasemi_mac.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/pasemi_mac.c b/drivers/net/pasemi_mac.c
index d0349e7d73ea..5eeb5a87b738 100644
--- a/drivers/net/pasemi_mac.c
+++ b/drivers/net/pasemi_mac.c
@@ -970,7 +970,7 @@ static irqreturn_t pasemi_mac_rx_intr(int irq, void *data)
970 if (*chan->status & PAS_STATUS_ERROR) 970 if (*chan->status & PAS_STATUS_ERROR)
971 reg |= PAS_IOB_DMA_RXCH_RESET_DINTC; 971 reg |= PAS_IOB_DMA_RXCH_RESET_DINTC;
972 972
973 netif_rx_schedule(&mac->napi); 973 napi_schedule(&mac->napi);
974 974
975 write_iob_reg(PAS_IOB_DMA_RXCH_RESET(chan->chno), reg); 975 write_iob_reg(PAS_IOB_DMA_RXCH_RESET(chan->chno), reg);
976 976
@@ -1010,7 +1010,7 @@ static irqreturn_t pasemi_mac_tx_intr(int irq, void *data)
1010 1010
1011 mod_timer(&txring->clean_timer, jiffies + (TX_CLEAN_INTERVAL)*2); 1011 mod_timer(&txring->clean_timer, jiffies + (TX_CLEAN_INTERVAL)*2);
1012 1012
1013 netif_rx_schedule(&mac->napi); 1013 napi_schedule(&mac->napi);
1014 1014
1015 if (reg) 1015 if (reg)
1016 write_iob_reg(PAS_IOB_DMA_TXCH_RESET(chan->chno), reg); 1016 write_iob_reg(PAS_IOB_DMA_TXCH_RESET(chan->chno), reg);
@@ -1639,7 +1639,7 @@ static int pasemi_mac_poll(struct napi_struct *napi, int budget)
1639 pkts = pasemi_mac_clean_rx(rx_ring(mac), budget); 1639 pkts = pasemi_mac_clean_rx(rx_ring(mac), budget);
1640 if (pkts < budget) { 1640 if (pkts < budget) {
1641 /* all done, no more packets present */ 1641 /* all done, no more packets present */
1642 netif_rx_complete(napi); 1642 napi_complete(napi);
1643 1643
1644 pasemi_mac_restart_rx_intr(mac); 1644 pasemi_mac_restart_rx_intr(mac);
1645 pasemi_mac_restart_tx_intr(mac); 1645 pasemi_mac_restart_tx_intr(mac);