Re: default values for pci dma_mask and coherent_dma_mask

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]
  Powered by Linux