diff options
Diffstat (limited to 'drivers/net/ethernet/lantiq_etop.c')
-rw-r--r-- | drivers/net/ethernet/lantiq_etop.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/net/ethernet/lantiq_etop.c b/drivers/net/ethernet/lantiq_etop.c index bfdb06860397..6a6c1f76d8e0 100644 --- a/drivers/net/ethernet/lantiq_etop.c +++ b/drivers/net/ethernet/lantiq_etop.c | |||
@@ -282,8 +282,7 @@ ltq_etop_hw_init(struct net_device *dev) | |||
282 | 282 | ||
283 | if (IS_TX(i)) { | 283 | if (IS_TX(i)) { |
284 | ltq_dma_alloc_tx(&ch->dma); | 284 | ltq_dma_alloc_tx(&ch->dma); |
285 | request_irq(irq, ltq_etop_dma_irq, IRQF_DISABLED, | 285 | request_irq(irq, ltq_etop_dma_irq, 0, "etop_tx", priv); |
286 | "etop_tx", priv); | ||
287 | } else if (IS_RX(i)) { | 286 | } else if (IS_RX(i)) { |
288 | ltq_dma_alloc_rx(&ch->dma); | 287 | ltq_dma_alloc_rx(&ch->dma); |
289 | for (ch->dma.desc = 0; ch->dma.desc < LTQ_DESC_NUM; | 288 | for (ch->dma.desc = 0; ch->dma.desc < LTQ_DESC_NUM; |
@@ -291,8 +290,7 @@ ltq_etop_hw_init(struct net_device *dev) | |||
291 | if (ltq_etop_alloc_skb(ch)) | 290 | if (ltq_etop_alloc_skb(ch)) |
292 | return -ENOMEM; | 291 | return -ENOMEM; |
293 | ch->dma.desc = 0; | 292 | ch->dma.desc = 0; |
294 | request_irq(irq, ltq_etop_dma_irq, IRQF_DISABLED, | 293 | request_irq(irq, ltq_etop_dma_irq, 0, "etop_rx", priv); |
295 | "etop_rx", priv); | ||
296 | } | 294 | } |
297 | ch->dma.irq = irq; | 295 | ch->dma.irq = irq; |
298 | } | 296 | } |