Re: how to get virtual address from dma address

From: Linux Bigot (linuxopinion@yahoo.com)
Date: Wed Oct 03 2001 - 11:37:00 EST


Please tell me why can't I use bus_to_virt().

Thanks

-----Original Message-----
From: Jes Sorensen [SMTP:jes@sunsite.dk]
Sent: Wednesday, October 03, 2001 11:26 AM
To: Linux Bigot
Cc: linux-kernel@vger.kernel.org
Subject: Re: how to get virtual address from dma
address

>>>>> "Linux" == Linux Bigot <linuxopinion@yahoo.com>
writes:

Linux> All programmers I am relatively new to linux
kernel. Please
Linux> advise what is the safe way to get the original
virtaul address
Linux> from dma address e.g.,

You have to store the address you pass to
pci_map_single() somewhere
in your data structures together with the dma address.

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/

__________________________________________________
Do You Yahoo!?
Listen to your Yahoo! Mail messages from any phone.
http://phone.yahoo.com
-
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 : Sun Oct 07 2001 - 21:00:28 EST