drivers/scsi/nsp32: Use the DMA_{64,
PATCH 16/19 drivers/scsi/nsp32: Use the DMA_{64,
Hello,
Description: Use the DMA_{64,32}BIT_MASK constants from dma-mapping.h when calling pci_set_dma_mask() or pci_set_consistent_dma_mask() See http://marc.theaimsgroup.com/?t=108001993000001&r=1&w=2 for details
Signed-off-by Tobias Klauser <[email protected]>
drivers/scsi/nsp32.c +1 -1
@@ -2779,7 +2779,7 @@ static int nsp32_detect(Scsi_Host_Templa/* * setup DMA */ -if (pci_set_dma_mask (PCIDEV ,0xffffffffUL ) !=0 ) { +if (pci_set_dma_mask (PCIDEV ,DMA_32BIT_MASK ) !=0 ) {nsp32_msg (KERN_ERR ,"failed to set PCI DMA mask" ); goto scsi_unregister; }