From: Jeff Garzik <jgarzik@pobox.com>
To: romieu@fr.zoreil.com
Cc: LKML <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] drivers/net/rcpci45 DMA mapping API conversion
Date: Sat, 19 Apr 2003 15:04:54 -0400 [thread overview]
Message-ID: <3EA19DD6.4010106@pobox.com> (raw)
In-Reply-To: <20030105144559.A2835@se1.cogenit.fr>
Adding to my last email, I think the solution is to look at the
implementation of pci_alloc_consistent and the other functions your
patch calls. You may be able to get away with simply changing your
pci_alloc_consistent call to
dma_alloc_coherent(&hwdev->dev, size, dma_handle, GFP_DMA | GFP_KERNEL);
Take a look at include/asm-generic/pci-dma-compat.h for how
pci_alloc_consistent is implemented on most platforms.
Thanks!
Jeff
prev parent reply other threads:[~2003-04-19 18:53 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-01-05 13:45 [PATCH] drivers/net/rcpci45 DMA mapping API conversion Francois Romieu
2003-04-19 19:01 ` Jeff Garzik
2003-04-19 19:55 ` Francois Romieu
2003-04-19 20:09 ` Jeff Garzik
2003-04-19 20:43 ` Francois Romieu
2003-04-19 19:04 ` Jeff Garzik [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3EA19DD6.4010106@pobox.com \
--to=jgarzik@pobox.com \
--cc=linux-kernel@vger.kernel.org \
--cc=romieu@fr.zoreil.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox