unchecked_isa_dma on sparcv9
drivers/scsi/pluto.c contains the following code:
#ifdef __sparc_v9__ host->unchecked_isa_dma = 1;
#endif
The only thing host->unchecked_isa_dma = 1 does is to add a __GFP_DMA flag to certain memory allocations, but IIRC __GFP_DMA is a noop on sparcv9. So what is this supposed to do?
From: Christoph Hellwig <[email protected]>
Date: Tue, 29 Apr 2003 10:19:25 +0200
drivers/scsi/pluto.c contains the following code:
#ifdef __sparc_v9__ host->unchecked_isa_dma = 1; #endif
The only thing host->unchecked_isa_dma = 1 does is to add a __GFP_DMA flag to certain memory allocations, but IIRC __GFP_DMA is a noop on sparcv9. So what is this supposed to do?
It's bogus, delete it.
Quoted 5 lines · David S. Miller
The only thing
host->unchecked_isa_dma= 1 does is to add a__GFP_DMAflag to certain memory allocations, but IIRC__GFP_DMAis a noop on sparcv9. So what is this supposed to do?It's bogus, delete it.
James, could you please apply the following patch?
drivers/scsi/pluto.c +0 -5
@@ -246,11 +246,6 @@ host->max_channel = inq->channels; host->irq = fc->irq; -#ifdef __sparc_v9__ - host->unchecked_isa_dma =1 ; -#endif - - fc->channels = inq->channels +1 ; fc->targets = inq->targets; fc->ages = ages;