Skip to contentSkip to conversation

drivers/net/e100: Use the DMA_{64,

PATCH New Tobias Klauser 1 participant 1 message Feb 14, 2005

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

PATCH 3/16 drivers/net/e100: 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()

drivers/net/e100.c +1 -1
@@ -2201,7 +2201,7 @@ static int __devinit e100_probe(struct p
 		goto err_out_disable_pdev;
 	}
 
-	if((err = pci_set_dma_mask(pdev, 0xFFFFFFFFULL))) {
+	if((err = pci_set_dma_mask(pdev, DMA_32BIT_MASK))) {
 		DPRINTK(PROBE, ERR, "No usable DMA configuration, aborting.\n");
 		goto err_out_free_res;
 	}

_______________________________________________
Kernel-janitors mailing list
[email protected]
http://lists.osdl.org/mailman/listinfo/kernel-janitors