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.