Add a drive->using_dma check to ide_dma_queued_on in ide-tcq.c, it needs
to look like this:
ide_tcq_dmaproc()
{
...
case ide_dma_queued_off:
enable_tcq = 0;
case ide_dma_queued_on:
if (!drive->using_dma)
return 1;
return ide_enable_queued(drive, enable_tcq);
default:
break;
}
that should fix it.
-- Jens Axboe- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/