diff options
-rw-r--r-- | drivers/scsi/NCR5380.c | 2 | ||||
-rw-r--r-- | drivers/scsi/aacraid/rx.c | 2 | ||||
-rw-r--r-- | drivers/scsi/aacraid/sa.c | 3 | ||||
-rw-r--r-- | drivers/scsi/aacraid/src.c | 4 | ||||
-rw-r--r-- | drivers/scsi/aha152x.c | 4 | ||||
-rw-r--r-- | drivers/scsi/aic7xxx/aicasm/aicasm_insformat.h | 1 | ||||
-rw-r--r-- | drivers/scsi/arm/acornscsi.c | 2 | ||||
-rw-r--r-- | drivers/scsi/arm/cumana_1.c | 2 | ||||
-rw-r--r-- | drivers/scsi/arm/cumana_2.c | 2 | ||||
-rw-r--r-- | drivers/scsi/arm/powertec.c | 2 | ||||
-rw-r--r-- | drivers/scsi/dtc.c | 2 | ||||
-rw-r--r-- | drivers/scsi/eata.c | 2 | ||||
-rw-r--r-- | drivers/scsi/eata_pio.c | 4 | ||||
-rw-r--r-- | drivers/scsi/esas2r/esas2r_init.c | 2 | ||||
-rw-r--r-- | drivers/scsi/g_NCR5380.c | 2 | ||||
-rw-r--r-- | drivers/scsi/gdth.c | 6 | ||||
-rw-r--r-- | drivers/scsi/ibmvscsi/ibmvstgt.c | 2 | ||||
-rw-r--r-- | drivers/scsi/in2000.c | 2 | ||||
-rw-r--r-- | drivers/scsi/initio.c | 2 | ||||
-rw-r--r-- | drivers/scsi/pas16.c | 2 | ||||
-rw-r--r-- | drivers/scsi/pm8001/pm8001_init.c | 2 | ||||
-rw-r--r-- | drivers/scsi/t128.c | 2 | ||||
-rw-r--r-- | drivers/scsi/u14-34f.c | 2 | ||||
-rw-r--r-- | drivers/scsi/wd7000.c | 2 |
24 files changed, 27 insertions, 31 deletions
diff --git a/drivers/scsi/NCR5380.c b/drivers/scsi/NCR5380.c index 1e9d6ad9302b..bcd223868227 100644 --- a/drivers/scsi/NCR5380.c +++ b/drivers/scsi/NCR5380.c | |||
@@ -584,7 +584,7 @@ static int __init __maybe_unused NCR5380_probe_irq(struct Scsi_Host *instance, | |||
584 | NCR5380_setup(instance); | 584 | NCR5380_setup(instance); |
585 | 585 | ||
586 | for (trying_irqs = i = 0, mask = 1; i < 16; ++i, mask <<= 1) | 586 | for (trying_irqs = i = 0, mask = 1; i < 16; ++i, mask <<= 1) |
587 | if ((mask & possible) && (request_irq(i, &probe_intr, IRQF_DISABLED, "NCR-probe", NULL) == 0)) | 587 | if ((mask & possible) && (request_irq(i, &probe_intr, 0, "NCR-probe", NULL) == 0)) |
588 | trying_irqs |= mask; | 588 | trying_irqs |= mask; |
589 | 589 | ||
590 | timeout = jiffies + (250 * HZ / 1000); | 590 | timeout = jiffies + (250 * HZ / 1000); |
diff --git a/drivers/scsi/aacraid/rx.c b/drivers/scsi/aacraid/rx.c index bb9917c57760..5c6a8703f535 100644 --- a/drivers/scsi/aacraid/rx.c +++ b/drivers/scsi/aacraid/rx.c | |||
@@ -647,7 +647,7 @@ int _aac_rx_init(struct aac_dev *dev) | |||
647 | dev->sync_mode = 0; /* sync. mode not supported */ | 647 | dev->sync_mode = 0; /* sync. mode not supported */ |
648 | dev->msi = aac_msi && !pci_enable_msi(dev->pdev); | 648 | dev->msi = aac_msi && !pci_enable_msi(dev->pdev); |
649 | if (request_irq(dev->pdev->irq, dev->a_ops.adapter_intr, | 649 | if (request_irq(dev->pdev->irq, dev->a_ops.adapter_intr, |
650 | IRQF_SHARED|IRQF_DISABLED, "aacraid", dev) < 0) { | 650 | IRQF_SHARED, "aacraid", dev) < 0) { |
651 | if (dev->msi) | 651 | if (dev->msi) |
652 | pci_disable_msi(dev->pdev); | 652 | pci_disable_msi(dev->pdev); |
653 | printk(KERN_ERR "%s%d: Interrupt unavailable.\n", | 653 | printk(KERN_ERR "%s%d: Interrupt unavailable.\n", |
diff --git a/drivers/scsi/aacraid/sa.c b/drivers/scsi/aacraid/sa.c index 2244f315f33b..e66477c98240 100644 --- a/drivers/scsi/aacraid/sa.c +++ b/drivers/scsi/aacraid/sa.c | |||
@@ -387,8 +387,7 @@ int aac_sa_init(struct aac_dev *dev) | |||
387 | goto error_irq; | 387 | goto error_irq; |
388 | dev->sync_mode = 0; /* sync. mode not supported */ | 388 | dev->sync_mode = 0; /* sync. mode not supported */ |
389 | if (request_irq(dev->pdev->irq, dev->a_ops.adapter_intr, | 389 | if (request_irq(dev->pdev->irq, dev->a_ops.adapter_intr, |
390 | IRQF_SHARED|IRQF_DISABLED, | 390 | IRQF_SHARED, "aacraid", (void *)dev) < 0) { |
391 | "aacraid", (void *)dev ) < 0) { | ||
392 | printk(KERN_WARNING "%s%d: Interrupt unavailable.\n", | 391 | printk(KERN_WARNING "%s%d: Interrupt unavailable.\n", |
393 | name, instance); | 392 | name, instance); |
394 | goto error_iounmap; | 393 | goto error_iounmap; |
diff --git a/drivers/scsi/aacraid/src.c b/drivers/scsi/aacraid/src.c index 7e17107643d4..9c65aed26212 100644 --- a/drivers/scsi/aacraid/src.c +++ b/drivers/scsi/aacraid/src.c | |||
@@ -647,7 +647,7 @@ int aac_src_init(struct aac_dev *dev) | |||
647 | dev->msi = aac_msi && !pci_enable_msi(dev->pdev); | 647 | dev->msi = aac_msi && !pci_enable_msi(dev->pdev); |
648 | 648 | ||
649 | if (request_irq(dev->pdev->irq, dev->a_ops.adapter_intr, | 649 | if (request_irq(dev->pdev->irq, dev->a_ops.adapter_intr, |
650 | IRQF_SHARED|IRQF_DISABLED, "aacraid", dev) < 0) { | 650 | IRQF_SHARED, "aacraid", dev) < 0) { |
651 | 651 | ||
652 | if (dev->msi) | 652 | if (dev->msi) |
653 | pci_disable_msi(dev->pdev); | 653 | pci_disable_msi(dev->pdev); |
@@ -804,7 +804,7 @@ int aac_srcv_init(struct aac_dev *dev) | |||
804 | goto error_iounmap; | 804 | goto error_iounmap; |
805 | dev->msi = aac_msi && !pci_enable_msi(dev->pdev); | 805 | dev->msi = aac_msi && !pci_enable_msi(dev->pdev); |
806 | if (request_irq(dev->pdev->irq, dev->a_ops.adapter_intr, | 806 | if (request_irq(dev->pdev->irq, dev->a_ops.adapter_intr, |
807 | IRQF_SHARED|IRQF_DISABLED, "aacraid", dev) < 0) { | 807 | IRQF_SHARED, "aacraid", dev) < 0) { |
808 | if (dev->msi) | 808 | if (dev->msi) |
809 | pci_disable_msi(dev->pdev); | 809 | pci_disable_msi(dev->pdev); |
810 | printk(KERN_ERR "%s%d: Interrupt unavailable.\n", | 810 | printk(KERN_ERR "%s%d: Interrupt unavailable.\n", |
diff --git a/drivers/scsi/aha152x.c b/drivers/scsi/aha152x.c index 3f7b6fee0a74..e86eb6a921fc 100644 --- a/drivers/scsi/aha152x.c +++ b/drivers/scsi/aha152x.c | |||
@@ -857,7 +857,7 @@ struct Scsi_Host *aha152x_probe_one(struct aha152x_setup *setup) | |||
857 | SETPORT(SIMODE0, 0); | 857 | SETPORT(SIMODE0, 0); |
858 | SETPORT(SIMODE1, 0); | 858 | SETPORT(SIMODE1, 0); |
859 | 859 | ||
860 | if( request_irq(shpnt->irq, swintr, IRQF_DISABLED|IRQF_SHARED, "aha152x", shpnt) ) { | 860 | if (request_irq(shpnt->irq, swintr, IRQF_SHARED, "aha152x", shpnt)) { |
861 | printk(KERN_ERR "aha152x%d: irq %d busy.\n", shpnt->host_no, shpnt->irq); | 861 | printk(KERN_ERR "aha152x%d: irq %d busy.\n", shpnt->host_no, shpnt->irq); |
862 | goto out_host_put; | 862 | goto out_host_put; |
863 | } | 863 | } |
@@ -891,7 +891,7 @@ struct Scsi_Host *aha152x_probe_one(struct aha152x_setup *setup) | |||
891 | SETPORT(SSTAT0, 0x7f); | 891 | SETPORT(SSTAT0, 0x7f); |
892 | SETPORT(SSTAT1, 0xef); | 892 | SETPORT(SSTAT1, 0xef); |
893 | 893 | ||
894 | if ( request_irq(shpnt->irq, intr, IRQF_DISABLED|IRQF_SHARED, "aha152x", shpnt) ) { | 894 | if (request_irq(shpnt->irq, intr, IRQF_SHARED, "aha152x", shpnt)) { |
895 | printk(KERN_ERR "aha152x%d: failed to reassign irq %d.\n", shpnt->host_no, shpnt->irq); | 895 | printk(KERN_ERR "aha152x%d: failed to reassign irq %d.\n", shpnt->host_no, shpnt->irq); |
896 | goto out_host_put; | 896 | goto out_host_put; |
897 | } | 897 | } |
diff --git a/drivers/scsi/aic7xxx/aicasm/aicasm_insformat.h b/drivers/scsi/aic7xxx/aicasm/aicasm_insformat.h index 9df9e2ce3538..8373447bd7d3 100644 --- a/drivers/scsi/aic7xxx/aicasm/aicasm_insformat.h +++ b/drivers/scsi/aic7xxx/aicasm/aicasm_insformat.h | |||
@@ -209,7 +209,6 @@ struct instruction { | |||
209 | #define AIC_OP_JC16 0x9105 | 209 | #define AIC_OP_JC16 0x9105 |
210 | #define AIC_OP_JNC16 0x9205 | 210 | #define AIC_OP_JNC16 0x9205 |
211 | #define AIC_OP_CALL16 0x9305 | 211 | #define AIC_OP_CALL16 0x9305 |
212 | #define AIC_OP_CALL16 0x9305 | ||
213 | 212 | ||
214 | /* Page extension is low three bits of second opcode byte. */ | 213 | /* Page extension is low three bits of second opcode byte. */ |
215 | #define AIC_OP_JMPF 0xA005 | 214 | #define AIC_OP_JMPF 0xA005 |
diff --git a/drivers/scsi/arm/acornscsi.c b/drivers/scsi/arm/acornscsi.c index 09ba1869d366..059ff477a398 100644 --- a/drivers/scsi/arm/acornscsi.c +++ b/drivers/scsi/arm/acornscsi.c | |||
@@ -2971,7 +2971,7 @@ static int acornscsi_probe(struct expansion_card *ec, const struct ecard_id *id) | |||
2971 | ec->irqaddr = ashost->fast + INT_REG; | 2971 | ec->irqaddr = ashost->fast + INT_REG; |
2972 | ec->irqmask = 0x0a; | 2972 | ec->irqmask = 0x0a; |
2973 | 2973 | ||
2974 | ret = request_irq(host->irq, acornscsi_intr, IRQF_DISABLED, "acornscsi", ashost); | 2974 | ret = request_irq(host->irq, acornscsi_intr, 0, "acornscsi", ashost); |
2975 | if (ret) { | 2975 | if (ret) { |
2976 | printk(KERN_CRIT "scsi%d: IRQ%d not free: %d\n", | 2976 | printk(KERN_CRIT "scsi%d: IRQ%d not free: %d\n", |
2977 | host->host_no, ashost->scsi.irq, ret); | 2977 | host->host_no, ashost->scsi.irq, ret); |
diff --git a/drivers/scsi/arm/cumana_1.c b/drivers/scsi/arm/cumana_1.c index b679778376c5..f8e060900052 100644 --- a/drivers/scsi/arm/cumana_1.c +++ b/drivers/scsi/arm/cumana_1.c | |||
@@ -262,7 +262,7 @@ static int cumanascsi1_probe(struct expansion_card *ec, | |||
262 | goto out_unmap; | 262 | goto out_unmap; |
263 | } | 263 | } |
264 | 264 | ||
265 | ret = request_irq(host->irq, cumanascsi_intr, IRQF_DISABLED, | 265 | ret = request_irq(host->irq, cumanascsi_intr, 0, |
266 | "CumanaSCSI-1", host); | 266 | "CumanaSCSI-1", host); |
267 | if (ret) { | 267 | if (ret) { |
268 | printk("scsi%d: IRQ%d not free: %d\n", | 268 | printk("scsi%d: IRQ%d not free: %d\n", |
diff --git a/drivers/scsi/arm/cumana_2.c b/drivers/scsi/arm/cumana_2.c index 58915f29055b..abc66f5263ec 100644 --- a/drivers/scsi/arm/cumana_2.c +++ b/drivers/scsi/arm/cumana_2.c | |||
@@ -431,7 +431,7 @@ static int cumanascsi2_probe(struct expansion_card *ec, | |||
431 | goto out_free; | 431 | goto out_free; |
432 | 432 | ||
433 | ret = request_irq(ec->irq, cumanascsi_2_intr, | 433 | ret = request_irq(ec->irq, cumanascsi_2_intr, |
434 | IRQF_DISABLED, "cumanascsi2", info); | 434 | 0, "cumanascsi2", info); |
435 | if (ret) { | 435 | if (ret) { |
436 | printk("scsi%d: IRQ%d not free: %d\n", | 436 | printk("scsi%d: IRQ%d not free: %d\n", |
437 | host->host_no, ec->irq, ret); | 437 | host->host_no, ec->irq, ret); |
diff --git a/drivers/scsi/arm/powertec.c b/drivers/scsi/arm/powertec.c index abc9593615e9..5e1b73e1b743 100644 --- a/drivers/scsi/arm/powertec.c +++ b/drivers/scsi/arm/powertec.c | |||
@@ -358,7 +358,7 @@ static int powertecscsi_probe(struct expansion_card *ec, | |||
358 | goto out_free; | 358 | goto out_free; |
359 | 359 | ||
360 | ret = request_irq(ec->irq, powertecscsi_intr, | 360 | ret = request_irq(ec->irq, powertecscsi_intr, |
361 | IRQF_DISABLED, "powertec", info); | 361 | 0, "powertec", info); |
362 | if (ret) { | 362 | if (ret) { |
363 | printk("scsi%d: IRQ%d not free: %d\n", | 363 | printk("scsi%d: IRQ%d not free: %d\n", |
364 | host->host_no, ec->irq, ret); | 364 | host->host_no, ec->irq, ret); |
diff --git a/drivers/scsi/dtc.c b/drivers/scsi/dtc.c index d01f01604140..eb29fe7eaf49 100644 --- a/drivers/scsi/dtc.c +++ b/drivers/scsi/dtc.c | |||
@@ -277,7 +277,7 @@ found: | |||
277 | /* With interrupts enabled, it will sometimes hang when doing heavy | 277 | /* With interrupts enabled, it will sometimes hang when doing heavy |
278 | * reads. So better not enable them until I finger it out. */ | 278 | * reads. So better not enable them until I finger it out. */ |
279 | if (instance->irq != SCSI_IRQ_NONE) | 279 | if (instance->irq != SCSI_IRQ_NONE) |
280 | if (request_irq(instance->irq, dtc_intr, IRQF_DISABLED, | 280 | if (request_irq(instance->irq, dtc_intr, 0, |
281 | "dtc", instance)) { | 281 | "dtc", instance)) { |
282 | printk(KERN_ERR "scsi%d : IRQ%d not free, interrupts disabled\n", instance->host_no, instance->irq); | 282 | printk(KERN_ERR "scsi%d : IRQ%d not free, interrupts disabled\n", instance->host_no, instance->irq); |
283 | instance->irq = SCSI_IRQ_NONE; | 283 | instance->irq = SCSI_IRQ_NONE; |
diff --git a/drivers/scsi/eata.c b/drivers/scsi/eata.c index 94de88955a99..ebf57364df91 100644 --- a/drivers/scsi/eata.c +++ b/drivers/scsi/eata.c | |||
@@ -1221,7 +1221,7 @@ static int port_detect(unsigned long port_base, unsigned int j, | |||
1221 | 1221 | ||
1222 | /* Board detected, allocate its IRQ */ | 1222 | /* Board detected, allocate its IRQ */ |
1223 | if (request_irq(irq, do_interrupt_handler, | 1223 | if (request_irq(irq, do_interrupt_handler, |
1224 | IRQF_DISABLED | ((subversion == ESA) ? IRQF_SHARED : 0), | 1224 | (subversion == ESA) ? IRQF_SHARED : 0, |
1225 | driver_name, (void *)&sha[j])) { | 1225 | driver_name, (void *)&sha[j])) { |
1226 | printk("%s: unable to allocate IRQ %u, detaching.\n", name, | 1226 | printk("%s: unable to allocate IRQ %u, detaching.\n", name, |
1227 | irq); | 1227 | irq); |
diff --git a/drivers/scsi/eata_pio.c b/drivers/scsi/eata_pio.c index 1663173cdb91..8319d2b417b8 100644 --- a/drivers/scsi/eata_pio.c +++ b/drivers/scsi/eata_pio.c | |||
@@ -687,7 +687,7 @@ static int register_pio_HBA(long base, struct get_conf *gc, struct pci_dev *pdev | |||
687 | return 0; | 687 | return 0; |
688 | 688 | ||
689 | if (!reg_IRQ[gc->IRQ]) { /* Interrupt already registered ? */ | 689 | if (!reg_IRQ[gc->IRQ]) { /* Interrupt already registered ? */ |
690 | if (!request_irq(gc->IRQ, do_eata_pio_int_handler, IRQF_DISABLED, "EATA-PIO", sh)) { | 690 | if (!request_irq(gc->IRQ, do_eata_pio_int_handler, 0, "EATA-PIO", sh)) { |
691 | reg_IRQ[gc->IRQ]++; | 691 | reg_IRQ[gc->IRQ]++; |
692 | if (!gc->IRQ_TR) | 692 | if (!gc->IRQ_TR) |
693 | reg_IRQL[gc->IRQ] = 1; /* IRQ is edge triggered */ | 693 | reg_IRQL[gc->IRQ] = 1; /* IRQ is edge triggered */ |
@@ -921,7 +921,7 @@ static int eata_pio_detect(struct scsi_host_template *tpnt) | |||
921 | 921 | ||
922 | for (i = 0; i < MAXIRQ; i++) | 922 | for (i = 0; i < MAXIRQ; i++) |
923 | if (reg_IRQ[i]) | 923 | if (reg_IRQ[i]) |
924 | request_irq(i, do_eata_pio_int_handler, IRQF_DISABLED, "EATA-PIO", NULL); | 924 | request_irq(i, do_eata_pio_int_handler, 0, "EATA-PIO", NULL); |
925 | 925 | ||
926 | HBA_ptr = first_HBA; | 926 | HBA_ptr = first_HBA; |
927 | 927 | ||
diff --git a/drivers/scsi/esas2r/esas2r_init.c b/drivers/scsi/esas2r/esas2r_init.c index b9750e296d71..6776931e25d4 100644 --- a/drivers/scsi/esas2r/esas2r_init.c +++ b/drivers/scsi/esas2r/esas2r_init.c | |||
@@ -231,7 +231,7 @@ use_legacy_interrupts: | |||
231 | 231 | ||
232 | static void esas2r_claim_interrupts(struct esas2r_adapter *a) | 232 | static void esas2r_claim_interrupts(struct esas2r_adapter *a) |
233 | { | 233 | { |
234 | unsigned long flags = IRQF_DISABLED; | 234 | unsigned long flags = 0; |
235 | 235 | ||
236 | if (a->intr_mode == INTR_MODE_LEGACY) | 236 | if (a->intr_mode == INTR_MODE_LEGACY) |
237 | flags |= IRQF_SHARED; | 237 | flags |= IRQF_SHARED; |
diff --git a/drivers/scsi/g_NCR5380.c b/drivers/scsi/g_NCR5380.c index 5cec6c60ca22..7176365e916b 100644 --- a/drivers/scsi/g_NCR5380.c +++ b/drivers/scsi/g_NCR5380.c | |||
@@ -461,7 +461,7 @@ int __init generic_NCR5380_detect(struct scsi_host_template * tpnt) | |||
461 | 461 | ||
462 | if (instance->irq != SCSI_IRQ_NONE) | 462 | if (instance->irq != SCSI_IRQ_NONE) |
463 | if (request_irq(instance->irq, generic_NCR5380_intr, | 463 | if (request_irq(instance->irq, generic_NCR5380_intr, |
464 | IRQF_DISABLED, "NCR5380", instance)) { | 464 | 0, "NCR5380", instance)) { |
465 | printk(KERN_WARNING "scsi%d : IRQ%d not free, interrupts disabled\n", instance->host_no, instance->irq); | 465 | printk(KERN_WARNING "scsi%d : IRQ%d not free, interrupts disabled\n", instance->host_no, instance->irq); |
466 | instance->irq = SCSI_IRQ_NONE; | 466 | instance->irq = SCSI_IRQ_NONE; |
467 | } | 467 | } |
diff --git a/drivers/scsi/gdth.c b/drivers/scsi/gdth.c index ce5ef0190bad..0f1ae13ce7c7 100644 --- a/drivers/scsi/gdth.c +++ b/drivers/scsi/gdth.c | |||
@@ -4711,7 +4711,7 @@ static int __init gdth_isa_probe_one(u32 isa_bios) | |||
4711 | printk("Configuring GDT-ISA HA at BIOS 0x%05X IRQ %u DRQ %u\n", | 4711 | printk("Configuring GDT-ISA HA at BIOS 0x%05X IRQ %u DRQ %u\n", |
4712 | isa_bios, ha->irq, ha->drq); | 4712 | isa_bios, ha->irq, ha->drq); |
4713 | 4713 | ||
4714 | error = request_irq(ha->irq, gdth_interrupt, IRQF_DISABLED, "gdth", ha); | 4714 | error = request_irq(ha->irq, gdth_interrupt, 0, "gdth", ha); |
4715 | if (error) { | 4715 | if (error) { |
4716 | printk("GDT-ISA: Unable to allocate IRQ\n"); | 4716 | printk("GDT-ISA: Unable to allocate IRQ\n"); |
4717 | goto out_host_put; | 4717 | goto out_host_put; |
@@ -4843,7 +4843,7 @@ static int __init gdth_eisa_probe_one(u16 eisa_slot) | |||
4843 | printk("Configuring GDT-EISA HA at Slot %d IRQ %u\n", | 4843 | printk("Configuring GDT-EISA HA at Slot %d IRQ %u\n", |
4844 | eisa_slot >> 12, ha->irq); | 4844 | eisa_slot >> 12, ha->irq); |
4845 | 4845 | ||
4846 | error = request_irq(ha->irq, gdth_interrupt, IRQF_DISABLED, "gdth", ha); | 4846 | error = request_irq(ha->irq, gdth_interrupt, 0, "gdth", ha); |
4847 | if (error) { | 4847 | if (error) { |
4848 | printk("GDT-EISA: Unable to allocate IRQ\n"); | 4848 | printk("GDT-EISA: Unable to allocate IRQ\n"); |
4849 | goto out_host_put; | 4849 | goto out_host_put; |
@@ -4979,7 +4979,7 @@ static int gdth_pci_probe_one(gdth_pci_str *pcistr, gdth_ha_str **ha_out) | |||
4979 | ha->irq); | 4979 | ha->irq); |
4980 | 4980 | ||
4981 | error = request_irq(ha->irq, gdth_interrupt, | 4981 | error = request_irq(ha->irq, gdth_interrupt, |
4982 | IRQF_DISABLED|IRQF_SHARED, "gdth", ha); | 4982 | IRQF_SHARED, "gdth", ha); |
4983 | if (error) { | 4983 | if (error) { |
4984 | printk("GDT-PCI: Unable to allocate IRQ\n"); | 4984 | printk("GDT-PCI: Unable to allocate IRQ\n"); |
4985 | goto out_host_put; | 4985 | goto out_host_put; |
diff --git a/drivers/scsi/ibmvscsi/ibmvstgt.c b/drivers/scsi/ibmvscsi/ibmvstgt.c index bf9eca845166..56f8a861ed72 100644 --- a/drivers/scsi/ibmvscsi/ibmvstgt.c +++ b/drivers/scsi/ibmvscsi/ibmvstgt.c | |||
@@ -589,7 +589,7 @@ static int crq_queue_create(struct crq_queue *queue, struct srp_target *target) | |||
589 | } | 589 | } |
590 | 590 | ||
591 | err = request_irq(vport->dma_dev->irq, &ibmvstgt_interrupt, | 591 | err = request_irq(vport->dma_dev->irq, &ibmvstgt_interrupt, |
592 | IRQF_DISABLED, "ibmvstgt", target); | 592 | 0, "ibmvstgt", target); |
593 | if (err) | 593 | if (err) |
594 | goto req_irq_failed; | 594 | goto req_irq_failed; |
595 | 595 | ||
diff --git a/drivers/scsi/in2000.c b/drivers/scsi/in2000.c index bf028218ac36..b1c4d831137d 100644 --- a/drivers/scsi/in2000.c +++ b/drivers/scsi/in2000.c | |||
@@ -2015,7 +2015,7 @@ static int __init in2000_detect(struct scsi_host_template * tpnt) | |||
2015 | write1_io(0, IO_FIFO_READ); /* start fifo out in read mode */ | 2015 | write1_io(0, IO_FIFO_READ); /* start fifo out in read mode */ |
2016 | write1_io(0, IO_INTR_MASK); /* allow all ints */ | 2016 | write1_io(0, IO_INTR_MASK); /* allow all ints */ |
2017 | x = int_tab[(switches & (SW_INT0 | SW_INT1)) >> SW_INT_SHIFT]; | 2017 | x = int_tab[(switches & (SW_INT0 | SW_INT1)) >> SW_INT_SHIFT]; |
2018 | if (request_irq(x, in2000_intr, IRQF_DISABLED, "in2000", instance)) { | 2018 | if (request_irq(x, in2000_intr, 0, "in2000", instance)) { |
2019 | printk("in2000_detect: Unable to allocate IRQ.\n"); | 2019 | printk("in2000_detect: Unable to allocate IRQ.\n"); |
2020 | detect_count--; | 2020 | detect_count--; |
2021 | continue; | 2021 | continue; |
diff --git a/drivers/scsi/initio.c b/drivers/scsi/initio.c index 280d5af113d1..e5dae7b54d9a 100644 --- a/drivers/scsi/initio.c +++ b/drivers/scsi/initio.c | |||
@@ -2931,7 +2931,7 @@ static int initio_probe_one(struct pci_dev *pdev, | |||
2931 | shost->base = host->addr; | 2931 | shost->base = host->addr; |
2932 | shost->sg_tablesize = TOTAL_SG_ENTRY; | 2932 | shost->sg_tablesize = TOTAL_SG_ENTRY; |
2933 | 2933 | ||
2934 | error = request_irq(pdev->irq, i91u_intr, IRQF_DISABLED|IRQF_SHARED, "i91u", shost); | 2934 | error = request_irq(pdev->irq, i91u_intr, IRQF_SHARED, "i91u", shost); |
2935 | if (error < 0) { | 2935 | if (error < 0) { |
2936 | printk(KERN_WARNING "initio: Unable to request IRQ %d\n", pdev->irq); | 2936 | printk(KERN_WARNING "initio: Unable to request IRQ %d\n", pdev->irq); |
2937 | goto out_free_scbs; | 2937 | goto out_free_scbs; |
diff --git a/drivers/scsi/pas16.c b/drivers/scsi/pas16.c index 62f1a6031765..0d78a4d5576c 100644 --- a/drivers/scsi/pas16.c +++ b/drivers/scsi/pas16.c | |||
@@ -453,7 +453,7 @@ int __init pas16_detect(struct scsi_host_template * tpnt) | |||
453 | instance->irq = NCR5380_probe_irq(instance, PAS16_IRQS); | 453 | instance->irq = NCR5380_probe_irq(instance, PAS16_IRQS); |
454 | 454 | ||
455 | if (instance->irq != SCSI_IRQ_NONE) | 455 | if (instance->irq != SCSI_IRQ_NONE) |
456 | if (request_irq(instance->irq, pas16_intr, IRQF_DISABLED, | 456 | if (request_irq(instance->irq, pas16_intr, 0, |
457 | "pas16", instance)) { | 457 | "pas16", instance)) { |
458 | printk("scsi%d : IRQ%d not free, interrupts disabled\n", | 458 | printk("scsi%d : IRQ%d not free, interrupts disabled\n", |
459 | instance->host_no, instance->irq); | 459 | instance->host_no, instance->irq); |
diff --git a/drivers/scsi/pm8001/pm8001_init.c b/drivers/scsi/pm8001/pm8001_init.c index cb89d15b3028..c4f31b21feb8 100644 --- a/drivers/scsi/pm8001/pm8001_init.c +++ b/drivers/scsi/pm8001/pm8001_init.c | |||
@@ -716,11 +716,9 @@ static u32 pm8001_setup_msix(struct pm8001_hba_info *pm8001_ha) | |||
716 | /* SPCv controllers supports 64 msi-x */ | 716 | /* SPCv controllers supports 64 msi-x */ |
717 | if (pm8001_ha->chip_id == chip_8001) { | 717 | if (pm8001_ha->chip_id == chip_8001) { |
718 | number_of_intr = 1; | 718 | number_of_intr = 1; |
719 | flag |= IRQF_DISABLED; | ||
720 | } else { | 719 | } else { |
721 | number_of_intr = PM8001_MAX_MSIX_VEC; | 720 | number_of_intr = PM8001_MAX_MSIX_VEC; |
722 | flag &= ~IRQF_SHARED; | 721 | flag &= ~IRQF_SHARED; |
723 | flag |= IRQF_DISABLED; | ||
724 | } | 722 | } |
725 | 723 | ||
726 | max_entry = sizeof(pm8001_ha->msix_entries) / | 724 | max_entry = sizeof(pm8001_ha->msix_entries) / |
diff --git a/drivers/scsi/t128.c b/drivers/scsi/t128.c index f1e4b4148c75..a4abce9d526e 100644 --- a/drivers/scsi/t128.c +++ b/drivers/scsi/t128.c | |||
@@ -259,7 +259,7 @@ found: | |||
259 | instance->irq = NCR5380_probe_irq(instance, T128_IRQS); | 259 | instance->irq = NCR5380_probe_irq(instance, T128_IRQS); |
260 | 260 | ||
261 | if (instance->irq != SCSI_IRQ_NONE) | 261 | if (instance->irq != SCSI_IRQ_NONE) |
262 | if (request_irq(instance->irq, t128_intr, IRQF_DISABLED, "t128", | 262 | if (request_irq(instance->irq, t128_intr, 0, "t128", |
263 | instance)) { | 263 | instance)) { |
264 | printk("scsi%d : IRQ%d not free, interrupts disabled\n", | 264 | printk("scsi%d : IRQ%d not free, interrupts disabled\n", |
265 | instance->host_no, instance->irq); | 265 | instance->host_no, instance->irq); |
diff --git a/drivers/scsi/u14-34f.c b/drivers/scsi/u14-34f.c index 9c216e563568..5a03bb3bcfef 100644 --- a/drivers/scsi/u14-34f.c +++ b/drivers/scsi/u14-34f.c | |||
@@ -873,7 +873,7 @@ static int port_detect \ | |||
873 | 873 | ||
874 | /* Board detected, allocate its IRQ */ | 874 | /* Board detected, allocate its IRQ */ |
875 | if (request_irq(irq, do_interrupt_handler, | 875 | if (request_irq(irq, do_interrupt_handler, |
876 | IRQF_DISABLED | ((subversion == ESA) ? IRQF_SHARED : 0), | 876 | (subversion == ESA) ? IRQF_SHARED : 0, |
877 | driver_name, (void *) &sha[j])) { | 877 | driver_name, (void *) &sha[j])) { |
878 | printk("%s: unable to allocate IRQ %u, detaching.\n", name, irq); | 878 | printk("%s: unable to allocate IRQ %u, detaching.\n", name, irq); |
879 | goto freelock; | 879 | goto freelock; |
diff --git a/drivers/scsi/wd7000.c b/drivers/scsi/wd7000.c index f9a6e4b0affe..32674236fec7 100644 --- a/drivers/scsi/wd7000.c +++ b/drivers/scsi/wd7000.c | |||
@@ -1252,7 +1252,7 @@ static int wd7000_init(Adapter * host) | |||
1252 | return 0; | 1252 | return 0; |
1253 | 1253 | ||
1254 | 1254 | ||
1255 | if (request_irq(host->irq, wd7000_intr, IRQF_DISABLED, "wd7000", host)) { | 1255 | if (request_irq(host->irq, wd7000_intr, 0, "wd7000", host)) { |
1256 | printk("wd7000_init: can't get IRQ %d.\n", host->irq); | 1256 | printk("wd7000_init: can't get IRQ %d.\n", host->irq); |
1257 | return (0); | 1257 | return (0); |
1258 | } | 1258 | } |