Skip to contentSkip to conversation

drivers/scsi/nsp32: Use the DMA_{64,

PATCH Applied Tobias Klauser 1 participant 1 message Feb 20, 2005

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

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

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;
 	}