Skip to contentSkip to conversation

qlogicfas: disable irqs on exit

PATCH In review Aristeu Sergio Rozanski Filho 1 participant 1 message Mar 9, 2004 SCSI

lore
Share & tools
lore
#0 lore raw

PATCH 7/15 qlogicfas: disable irqs on exit

I'm not sure about this. feel free to discard if you don't think it isn't correct.

Signature · 1 line
aris
drivers/scsi/qlogicfas.c +5 -1
diff -ur linux-2.6.3-applied/drivers/scsi/qlogicfas.c linux-2.6.3-work/drivers/scsi/qlogicfas.c
@@ -694,8 +694,12 @@
 
 static int qlogicfas_release(struct Scsi_Host *shost)
 {
-	if (shost->irq)
+	if (shost->irq) {
+		REG1;
+		outb(0, qbase + 0xb);	/* disable ints */
+	
 		free_irq(shost->irq, shost);
+	}
 	if (shost->dma_channel != 0xff)
 		free_dma(shost->dma_channel);
 	if (shost->io_port && shost->n_io_port)