| To: | Atsushi Nemoto <anemo@mba.ocn.ne.jp> |
|---|---|
| Subject: | Re: pci_alloc_consistent usage |
| From: | Christoph Hellwig <hch@infradead.org> |
| Date: | Tue, 27 May 2003 11:53:22 +0100 |
| Cc: | ralf@linux-mips.org, wgowcher@yahoo.com, linux-mips@linux-mips.org |
| In-reply-to: | <20030527.190749.39150100.nemoto@toshiba-tops.co.jp>; from anemo@mba.ocn.ne.jp on Tue, May 27, 2003 at 07:07:49PM +0900 |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| References: | <20030523215935.71373.qmail@web11901.mail.yahoo.com> <20030527091740.GA23296@linux-mips.org> <20030527.190749.39150100.nemoto@toshiba-tops.co.jp> |
| Sender: | linux-mips-bounce@linux-mips.org |
| User-agent: | Mutt/1.2.5.1i |
On Tue, May 27, 2003 at 07:07:49PM +0900, Atsushi Nemoto wrote: > >>>>> On Tue, 27 May 2003 11:17:40 +0200, Ralf Baechle <ralf@linux-mips.org> > >>>>> said: > ralf> Use the value returned by pci_alloc_consistent in *dma_handle > ralf> instead of trying to do any conversions with of > ralf> pci_alloc_consistent's return value. > > How about virt_to_page()? > > Currently, many sound drivers (including ALSA) pass a > pci_alloc_consistent's return value to virt_to_page. You are not allow to do so. Any driver doing this is broken. |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: pci_alloc_consistent usage, Atsushi Nemoto |
|---|---|
| Next by Date: | Re: pci_alloc_consistent usage, Ralf Baechle |
| Previous by Thread: | Re: pci_alloc_consistent usage, Atsushi Nemoto |
| Next by Thread: | Re: pci_alloc_consistent usage, Ralf Baechle |
| Indexes: | [Date] [Thread] [Top] [All Lists] |