[PATCH] irq-flags: drivers/net: Use the new IRQF_ constants
Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: Ingo Molnar <mingo@elte.hu> Cc: "David S. Miller" <davem@davemloft.net> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Cc: Jeff Garzik <jeff@garzik.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
committed by
Linus Torvalds
parent
dace145374
commit
1fb9df5d30
@@ -576,7 +576,7 @@ static int xl_open(struct net_device *dev)
|
||||
|
||||
u16 switchsettings, switchsettings_eeprom ;
|
||||
|
||||
if(request_irq(dev->irq, &xl_interrupt, SA_SHIRQ , "3c359", dev)) {
|
||||
if(request_irq(dev->irq, &xl_interrupt, IRQF_SHARED , "3c359", dev)) {
|
||||
return -EAGAIN;
|
||||
}
|
||||
|
||||
|
@@ -123,7 +123,7 @@ static int __devinit abyss_attach(struct pci_dev *pdev, const struct pci_device_
|
||||
goto err_out_trdev;
|
||||
}
|
||||
|
||||
ret = request_irq(pdev->irq, tms380tr_interrupt, SA_SHIRQ,
|
||||
ret = request_irq(pdev->irq, tms380tr_interrupt, IRQF_SHARED,
|
||||
dev->name, dev);
|
||||
if (ret)
|
||||
goto err_out_region;
|
||||
|
@@ -601,7 +601,7 @@ static int streamer_open(struct net_device *dev)
|
||||
rc=streamer_reset(dev);
|
||||
}
|
||||
|
||||
if (request_irq(dev->irq, &streamer_interrupt, SA_SHIRQ, "lanstreamer", dev)) {
|
||||
if (request_irq(dev->irq, &streamer_interrupt, IRQF_SHARED, "lanstreamer", dev)) {
|
||||
return -EAGAIN;
|
||||
}
|
||||
#if STREAMER_DEBUG
|
||||
|
@@ -311,7 +311,7 @@ static int __devinit madgemc_probe(struct device *device)
|
||||
*/
|
||||
outb(0, dev->base_addr + MC_CONTROL_REG0); /* sanity */
|
||||
madgemc_setsifsel(dev, 1);
|
||||
if (request_irq(dev->irq, madgemc_interrupt, SA_SHIRQ,
|
||||
if (request_irq(dev->irq, madgemc_interrupt, IRQF_SHARED,
|
||||
"madgemc", dev)) {
|
||||
ret = -EBUSY;
|
||||
goto getout3;
|
||||
|
@@ -445,7 +445,7 @@ static int olympic_open(struct net_device *dev)
|
||||
|
||||
olympic_init(dev);
|
||||
|
||||
if(request_irq(dev->irq, &olympic_interrupt, SA_SHIRQ , "olympic", dev)) {
|
||||
if(request_irq(dev->irq, &olympic_interrupt, IRQF_SHARED , "olympic", dev)) {
|
||||
return -EAGAIN;
|
||||
}
|
||||
|
||||
|
@@ -531,7 +531,7 @@ static int __init smctr_chk_mca(struct net_device *dev)
|
||||
dev->irq = 15;
|
||||
break;
|
||||
}
|
||||
if (request_irq(dev->irq, smctr_interrupt, SA_SHIRQ, smctr_name, dev)) {
|
||||
if (request_irq(dev->irq, smctr_interrupt, IRQF_SHARED, smctr_name, dev)) {
|
||||
release_region(dev->base_addr, SMCTR_IO_EXTENT);
|
||||
return -ENODEV;
|
||||
}
|
||||
@@ -1061,7 +1061,7 @@ static int __init smctr_chk_isa(struct net_device *dev)
|
||||
goto out2;
|
||||
}
|
||||
|
||||
if (request_irq(dev->irq, smctr_interrupt, SA_SHIRQ, smctr_name, dev))
|
||||
if (request_irq(dev->irq, smctr_interrupt, IRQF_SHARED, smctr_name, dev))
|
||||
goto out2;
|
||||
|
||||
/* Get 58x Rom Base */
|
||||
|
@@ -122,7 +122,7 @@ static int __devinit tms_pci_attach(struct pci_dev *pdev, const struct pci_devic
|
||||
goto err_out_trdev;
|
||||
}
|
||||
|
||||
ret = request_irq(pdev->irq, tms380tr_interrupt, SA_SHIRQ,
|
||||
ret = request_irq(pdev->irq, tms380tr_interrupt, IRQF_SHARED,
|
||||
dev->name, dev);
|
||||
if (ret)
|
||||
goto err_out_region;
|
||||
|
Reference in New Issue
Block a user