WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-ia64-devel

Re: [Xen-ia64-devel] where's phys_to_machine?

On Thu, Feb 15, 2007 at 11:15:21AM +0900, Isaku Yamahata wrote:
[...]
> Probably the ia64 counter part is phys_to_machine_for_dma().
> It convers pseudo physical address to machine address.
> In general, device drivers shouldn't call phys_to_machine() directly.
> For dma, device drivers should use dma api.
> For IO area access, device drivers should use ioremap()/iounmap().
> 
> This is only the theory and presumably you already know it.
> The device which you are playing with might have strange aspects,
> I guess.
IIRC the Quadrics cards are designed to be programmed directly by the user.
They therefore have an MMU, which has to be updated.  Not a really simple
driver !

Tristan.

_______________________________________________
Xen-ia64-devel mailing list
Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ia64-devel

<Prev in Thread] Current Thread [Next in Thread>