diff options
Diffstat (limited to 'drivers/net/ixp2000/ixpdev.c')
-rw-r--r-- | drivers/net/ixp2000/ixpdev.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ixp2000/ixpdev.c b/drivers/net/ixp2000/ixpdev.c index bd96dbc8e021..014745720560 100644 --- a/drivers/net/ixp2000/ixpdev.c +++ b/drivers/net/ixp2000/ixpdev.c | |||
@@ -141,7 +141,7 @@ static int ixpdev_poll(struct napi_struct *napi, int budget) | |||
141 | break; | 141 | break; |
142 | } while (ixp2000_reg_read(IXP2000_IRQ_THD_RAW_STATUS_A_0) & 0x00ff); | 142 | } while (ixp2000_reg_read(IXP2000_IRQ_THD_RAW_STATUS_A_0) & 0x00ff); |
143 | 143 | ||
144 | netif_rx_complete(dev, napi); | 144 | netif_rx_complete(napi); |
145 | ixp2000_reg_write(IXP2000_IRQ_THD_ENABLE_SET_A_0, 0x00ff); | 145 | ixp2000_reg_write(IXP2000_IRQ_THD_ENABLE_SET_A_0, 0x00ff); |
146 | 146 | ||
147 | return rx; | 147 | return rx; |
@@ -204,7 +204,7 @@ static irqreturn_t ixpdev_interrupt(int irq, void *dev_id) | |||
204 | 204 | ||
205 | ixp2000_reg_wrb(IXP2000_IRQ_THD_ENABLE_CLEAR_A_0, 0x00ff); | 205 | ixp2000_reg_wrb(IXP2000_IRQ_THD_ENABLE_CLEAR_A_0, 0x00ff); |
206 | if (likely(napi_schedule_prep(&ip->napi))) { | 206 | if (likely(napi_schedule_prep(&ip->napi))) { |
207 | __netif_rx_schedule(dev, &ip->napi); | 207 | __netif_rx_schedule(&ip->napi); |
208 | } else { | 208 | } else { |
209 | printk(KERN_CRIT "ixp2000: irq while polling!!\n"); | 209 | printk(KERN_CRIT "ixp2000: irq while polling!!\n"); |
210 | } | 210 | } |