Re: default values for pci dma_mask and coherent_dma_mask

From: Lee Revell
Date: Sun Jul 31 2005 - 13:39:46 EST


On Sun, 2005-07-31 at 12:36 +0200, Manfred Spraul wrote:
> I intend to add these lines to the
> driver:
>
> + if (pci_set_dma_mask(pci_dev, 0x0000007fffffffffULL)) {
> + printk(KERN_INFO "forcedeth: 64-bit DMA failed, using
> 32-bit
> addressing for device %s.\n",

Please don't do this. Instead, add a DMA_40BIT_MASK define to
dma_mapping.h.

Lee

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/