lkml.org 
[lkml]   [2001]   [Oct]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: how to get virtual address from dma address
From
Date
>>>>> "Linux" == Linux Bigot <linuxopinion@yahoo.com> writes:

Linux> oops! I am sorry. I did not meant "pci_unmap_single"
Linux> pci_unmap_single.

Linux> I meant to get a routine which does exactly opposite of what
Linux> pci_map_single does, i.e., give me a virtual address for a dma
Linux> address.

Because it is cheaper for you to keep both addresses in the driver
than it is to implement a database to keep track of it for you.

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

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