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

Signed-off-by: Tobias Klauser <[EMAIL PROTECTED]>
Signed-off-by: Domen Puncer <[EMAIL PROTECTED]>
---


 kj-domen/drivers/scsi/lasi700.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -puN drivers/scsi/lasi700.c~dma_mask-drivers_scsi_lasi700 
drivers/scsi/lasi700.c
--- kj/drivers/scsi/lasi700.c~dma_mask-drivers_scsi_lasi700     2005-03-18 
20:05:40.000000000 +0100
+++ kj-domen/drivers/scsi/lasi700.c     2005-03-18 20:05:40.000000000 +0100
@@ -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;
 
_
-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to