drivers/net/hp100: Use the DMA_{64,
Subsystems (2)
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()
Signed-off-by Tobias Klauser <[email protected]>
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