mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-30 07:34:12 +08:00
bcm63xx_enet: remove deprecated IRQF_DISABLED
This patch proposes to remove the IRQF_DISABLED flag from drivers/net/ethernet/broadcom/bcm63xx_enet.c It's a NOOP since 2.6.35 and it will be removed one day. Signed-off-by: Michael Opdenacker <michael.opdenacker@free-electrons.com> Reviewed-by: Jingoo Han <jg1.han@samsung.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
2414fe16dd
commit
df9f1b9f33
@ -926,13 +926,13 @@ static int bcm_enet_open(struct net_device *dev)
|
||||
if (ret)
|
||||
goto out_phy_disconnect;
|
||||
|
||||
ret = request_irq(priv->irq_rx, bcm_enet_isr_dma, IRQF_DISABLED,
|
||||
ret = request_irq(priv->irq_rx, bcm_enet_isr_dma, 0,
|
||||
dev->name, dev);
|
||||
if (ret)
|
||||
goto out_freeirq;
|
||||
|
||||
ret = request_irq(priv->irq_tx, bcm_enet_isr_dma,
|
||||
IRQF_DISABLED, dev->name, dev);
|
||||
0, dev->name, dev);
|
||||
if (ret)
|
||||
goto out_freeirq_rx;
|
||||
|
||||
@ -2156,13 +2156,13 @@ static int bcm_enetsw_open(struct net_device *dev)
|
||||
enet_dmac_writel(priv, 0, ENETDMAC_IRMASK, priv->tx_chan);
|
||||
|
||||
ret = request_irq(priv->irq_rx, bcm_enet_isr_dma,
|
||||
IRQF_DISABLED, dev->name, dev);
|
||||
0, dev->name, dev);
|
||||
if (ret)
|
||||
goto out_freeirq;
|
||||
|
||||
if (priv->irq_tx != -1) {
|
||||
ret = request_irq(priv->irq_tx, bcm_enet_isr_dma,
|
||||
IRQF_DISABLED, dev->name, dev);
|
||||
0, dev->name, dev);
|
||||
if (ret)
|
||||
goto out_freeirq_rx;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user