Skip to contentSkip to conversation

drivers/net/hp100: 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 4/16 drivers/net/hp100: 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/hp100.c +1 -1
@@ -562,7 +562,7 @@ static int __init hp100_probe1(struct ne
 			 * Also, we can have EISA Busmaster cards (not tested),
 			 * so beware !!! - Jean II */
 			if((bus == HP100_BUS_PCI) &&
-			   (pci_set_dma_mask(pci_dev, 0xffffffff))) {
+			   (pci_set_dma_mask(pci_dev, DMA_32BIT_MASK))) {
 				/* Gracefully fallback to shared memory */
 				goto busmasterfail;
 			}

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