patch-2.4.23 linux-2.4.23/drivers/scsi/sun3_scsi.c
Next file: linux-2.4.23/drivers/scsi/sun3_scsi_vme.c
Previous file: linux-2.4.23/drivers/scsi/sg.c
Back to the patch index
Back to the overall index
- Lines: 27
- Date:
2003-11-28 10:26:20.000000000 -0800
- Orig file:
linux-2.4.22/drivers/scsi/sun3_scsi.c
- Orig date:
2003-06-13 07:51:36.000000000 -0700
diff -urN linux-2.4.22/drivers/scsi/sun3_scsi.c linux-2.4.23/drivers/scsi/sun3_scsi.c
@@ -267,7 +267,7 @@
#ifndef REAL_DMA
printk("scsi%d: IRQ%d not free, interrupts disabled\n",
instance->host_no, instance->irq);
- instance->irq = IRQ_NONE;
+ instance->irq = SCSI_IRQ_NONE;
#else
printk("scsi%d: IRQ%d not free, bailing out\n",
instance->host_no, instance->irq);
@@ -276,7 +276,7 @@
}
printk("scsi%d: Sun3 5380 at port %lX irq", instance->host_no, instance->io_port);
- if (instance->irq == IRQ_NONE)
+ if (instance->irq == SCSI_IRQ_NONE)
printk ("s disabled");
else
printk (" %d", instance->irq);
@@ -305,7 +305,7 @@
#ifdef MODULE
int sun3scsi_release (struct Scsi_Host *shpnt)
{
- if (shpnt->irq != IRQ_NONE)
+ if (shpnt->irq != SCSI_IRQ_NONE)
free_irq (shpnt->irq, NULL);
iounmap((void *)sun3_scsi_regp);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)