Fix SCSI compile for non ISA DMA systems
PATCH 1/1 Fix SCSI compile for non ISA DMA systems
[ Is this correct? Should it be BUG() if shost->dma_channel != 0xff
and !CONFIG_GENERIC_ISA_DMA? Thanks, Rusty. ]
From: Matt Porter <[email protected]>
[kernel/dma.o:free_dma() depends on CONFIG_GENERIC_ISA_DMA]
===== drivers/scsi/hosts.c 1.56 vs edited =====
drivers/scsi/hosts.c renamed from drivers/scsi/hosts.c.orig +2 -0
@@ -183,8 +183,10 @@ {if (shost->irq)free_irq (shost->irq,NULL ); +#ifdef CONFIG_GENERIC_ISA_DMA if (shost->dma_channel !=0xff )free_dma (shost->dma_channel); +#endif if (shost->io_port && shost->n_io_port)release_region (shost->io_port, shost->n_io_port);
Signature · 2 lines
Don't blame me: the Monkey is driving File: Matt Porter <[email protected]>: [2.5 PATCH] Fix SCSI compile for non ISA DMA systems