lkml.org 
[lkml]   [2005]   [Jul]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: default values for pci dma_mask and coherent_dma_mask
From
Date
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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-07-31 20:41    [W:0.066 / U:0.036 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site