Re: [PATCH] drivers/net/rcpci45 DMA mapping API conversion

From: Francois Romieu (romieu@fr.zoreil.com)
Date: Sat Apr 19 2003 - 14:55:26 EST


Re,

Jeff Garzik <jgarzik@pobox.com> :
[...]
> 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 ?

--
Ueimor
-
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/



This archive was generated by hypermail 2b29 : Wed Apr 23 2003 - 22:00:26 EST