patch-2.4.23 linux-2.4.23/drivers/scsi/g_NCR5380.c
Next file: linux-2.4.23/drivers/scsi/ide-scsi.c
Previous file: linux-2.4.23/drivers/scsi/dtc.c
Back to the patch index
Back to the overall index
- Lines: 51
- Date:
2003-11-28 10:26:20.000000000 -0800
- Orig file:
linux-2.4.22/drivers/scsi/g_NCR5380.c
- Orig date:
2001-12-21 09:41:55.000000000 -0800
diff -urN linux-2.4.22/drivers/scsi/g_NCR5380.c linux-2.4.23/drivers/scsi/g_NCR5380.c
@@ -333,7 +333,7 @@
if (dev->irq_resource[0].flags & IORESOURCE_IRQ)
overrides[count].irq = dev->irq_resource[0].start;
else
- overrides[count].irq = IRQ_NONE;
+ overrides[count].irq = SCSI_IRQ_NONE;
if (dev->dma_resource[0].flags & IORESOURCE_DMA)
overrides[count].dma = dev->dma_resource[0].start;
else
@@ -430,19 +430,19 @@
else
instance->irq = NCR5380_probe_irq(instance, 0xffff);
- if (instance->irq != IRQ_NONE)
+ if (instance->irq != SCSI_IRQ_NONE)
if (request_irq(instance->irq, do_generic_NCR5380_intr, SA_INTERRUPT, "NCR5380", NULL)) {
printk(KERN_WARNING "scsi%d : IRQ%d not free, interrupts disabled\n", instance->host_no, instance->irq);
- instance->irq = IRQ_NONE;
+ instance->irq = SCSI_IRQ_NONE;
}
- if (instance->irq == IRQ_NONE) {
+ if (instance->irq == SCSI_IRQ_NONE) {
printk(KERN_INFO "scsi%d : interrupts not enabled. for better interactive performance,\n", instance->host_no);
printk(KERN_INFO "scsi%d : please jumper the board for a free IRQ.\n", instance->host_no);
}
printk(KERN_INFO "scsi%d : at " STRVAL(NCR5380_map_name) " 0x%x", instance->host_no, (unsigned int) instance->NCR5380_instance_name);
- if (instance->irq == IRQ_NONE)
+ if (instance->irq == SCSI_IRQ_NONE)
printk(" interrupts disabled");
else
printk(" irq %d", instance->irq);
@@ -489,7 +489,7 @@
release_mem_region(instance->NCR5380_instance_name, NCR5380_region_size);
#endif
- if (instance->irq != IRQ_NONE)
+ if (instance->irq != SCSI_IRQ_NONE)
free_irq(instance->irq, NULL);
return 0;
@@ -802,7 +802,7 @@
PRINTP("NO NCR53C400 driver extensions\n");
#endif
PRINTP("Using %s mapping at %s 0x%lx, " ANDP STRVAL(NCR5380_map_config) ANDP STRVAL(NCR5380_map_name) ANDP scsi_ptr->NCR5380_instance_name);
- if (scsi_ptr->irq == IRQ_NONE)
+ if (scsi_ptr->irq == SCSI_IRQ_NONE)
PRINTP("no interrupt\n");
else
PRINTP("on interrupt %d\n" ANDP scsi_ptr->irq);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)