Commit 60da61f9 authored by Aristeu Sergio Rozanski Filho's avatar Aristeu Sergio Rozanski Filho Committed by James Bottomley

[PATCH] qlogicfas: disable irqs on exit

parent e904c71a
...@@ -694,8 +694,12 @@ int __devinit qlogicfas_detect(Scsi_Host_Template *sht) ...@@ -694,8 +694,12 @@ int __devinit qlogicfas_detect(Scsi_Host_Template *sht)
static int qlogicfas_release(struct Scsi_Host *shost) 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); free_irq(shost->irq, shost);
}
if (shost->dma_channel != 0xff) if (shost->dma_channel != 0xff)
free_dma(shost->dma_channel); free_dma(shost->dma_channel);
if (shost->io_port && shost->n_io_port) if (shost->io_port && shost->n_io_port)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment