[lkml]   [2003]   [Apr]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] drivers/net/rcpci45 DMA mapping API conversion
Francois Romieu wrote:
> Re,
> Jeff Garzik <> :
> [...]
>>Ok, I finally got around to attacking this one. Your patch looked ok to
>>me until I noticed one detail:
>> pDpa->msgbuf = kmalloc (MSG_BUF_SIZE, GFP_DMA | GFP_KERNEL);
>>The GFP_DMA tag indicates that we can't just use pci_alloc_consistent in
>>the normal way, as we lose the GFP_DMA designator.
> Does it mean the usual pci_set_dma_mask() cooking or something more elaborate ?

Reading dma_alloc_coherent() in arch/i386/kernel/pci-dma.c, it does
appear that would be sufficient...


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:34    [W:0.034 / U:0.752 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site