request_mem_region

Daniel Redway daniel.redway85 at gmail.com
Mon Jun 20 03:48:36 EDT 2011


Hello

As I understand ioremap() maps and returns virtual address
for a given physical(bus) address associated with my PCI card.
That is cool and clear.


What is the purpose of request_mem_region()?
They both take physical address as a parameter, but do not return any
virt addresses.

1. What do they allocate/reserve and where?
2. Should I call reques_mem_region() before doing ioremap() or not?


thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20110620/4c757e98/attachment.html 


More information about the Kernelnewbies mailing list