In message <[EMAIL PROTECTED]> Pran Joseph writes:
:  1. How can I convert physical address to virtual address . What I want
: is to read the physical address from the device register  and to copy it
: to host memory. From my earlier post  I found that I can use vtopys
: macro to convert virtual to physical address. Now I want to do the
: reverse.
: 
: 2. What are things should I do if I want the driver to work on alpha
: platform also.

Use the bus space macros.  These will generally obviate the need to to
the vtophys and ptovirt sorts of things.  I don't think FreeBSD has a
ptovirt these days.

Warner


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to