patch-2.4.23 linux-2.4.23/drivers/scsi/dmx3191d.c

Next file: linux-2.4.23/drivers/scsi/dtc.c
Previous file: linux-2.4.23/drivers/scsi/changelog.megaraid2
Back to the patch index
Back to the overall index

diff -urN linux-2.4.22/drivers/scsi/dmx3191d.c linux-2.4.23/drivers/scsi/dmx3191d.c
@@ -96,7 +96,7 @@
 			printk(KERN_WARNING "dmx3191: IRQ %d not available - switching to polled mode.\n", pdev->irq);
 			/* Steam powered scsi controllers run without an IRQ
 			   anyway */
-			instance->irq = IRQ_NONE;
+			instance->irq = SCSI_IRQ_NONE;
 		}
 
 		boards++;
@@ -113,7 +113,7 @@
 int dmx3191d_release_resources(struct Scsi_Host *instance)
 {
 	release_region(instance->io_port, DMX3191D_REGION);
-	if(instance->irq!=IRQ_NONE)
+	if(instance->irq != SCSI_IRQ_NONE)
 		free_irq(instance->irq, instance);
 
 	return 0;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)