patch-1.3.70 linux/drivers/scsi/BusLogic.c

Next file: linux/drivers/scsi/NCR5380.c
Previous file: linux/drivers/scsi/AM53C974.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.69/linux/drivers/scsi/BusLogic.c linux/drivers/scsi/BusLogic.c
@@ -1162,7 +1162,7 @@
   if (BusLogic_IRQ_UsageCount[HostAdapter->IRQ_Channel - 9]++ == 0)
     {
       if (request_irq(HostAdapter->IRQ_Channel, BusLogic_InterruptHandler,
-		      SA_INTERRUPT, HostAdapter->InterruptLabel) < 0)
+		      SA_INTERRUPT, HostAdapter->InterruptLabel, NULL) < 0)
 	{
 	  BusLogic_IRQ_UsageCount[HostAdapter->IRQ_Channel - 9]--;
 	  printk("scsi%d: UNABLE TO ACQUIRE IRQ CHANNEL %d - DETACHING\n",
@@ -1236,7 +1236,7 @@
   */
   if (HostAdapter->IRQ_ChannelAcquired)
     if (--BusLogic_IRQ_UsageCount[HostAdapter->IRQ_Channel - 9] == 0)
-      free_irq(HostAdapter->IRQ_Channel);
+      free_irq(HostAdapter->IRQ_Channel, NULL);
   /*
     Release exclusive access to the DMA Channel.
   */

FUNET's LINUX-ADM group, [email protected]
TCL-scripts by Sam Shen, [email protected] with Sam's (original) version
of this