Skip to contentSkip to conversation

drivers/scsi/lasi700.c: Use the DMA_32BIT_MASK constant

PATCH In review [email protected] 2 participants 2 messages Mar 19, 2005 SCSI

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drivers/scsi/lasi700.c: Use the DMA_32BIT_MASK constant

Use the DMA_32BIT_MASK constants from dma-mapping.h when calling dma_set_mask().

---

 kj-domen/drivers/scsi/lasi700.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)
drivers/scsi/lasi700.c renamed from drivers/scsi/lasi700.c~dma_mask-drivers_scsi_lasi700 +1 -1
diff -puN drivers/scsi/lasi700.c~dma_mask-drivers_scsi_lasi700 drivers/scsi/lasi700.c
@@ -111,7 +111,7 @@ lasi700_probe(struct parisc_device *dev)
 	memset(hostdata, 0, sizeof(struct NCR_700_Host_Parameters));
 
 	hostdata->dev = &dev->dev;
-	dma_set_mask(&dev->dev, 0xffffffffUL);
+	dma_set_mask(&dev->dev, DMA_32BIT_MASK);
 	hostdata->base = base;
 	hostdata->differential = 0;
 

_

#1 lore raw
Quoted 2 lines · On Sat, Mar 19, 2005 at 02:19:32PM +0100, [email protected] wrote:

Use the DMA_32BIT_MASK constants from dma-mapping.h when calling dma_set_mask().

Already submitted. I told you I'd take it through the parisc tree.

Signature · 6 lines
"Next the statesmen will invent cheap lies, putting the blame upon 
the nation that is attacked, and every man will be glad of those
conscience-soothing falsities, and will diligently study them, and refuse
to examine any refutations of them; and thus he will by and by convince 
himself that the war is just, and will thank God for the better sleep 
he enjoys after this process of grotesque self-deception." -- Mark Twain