From mboxrd@z Thu Jan 1 00:00:00 1970 From: daniel.redway85@gmail.com (Daniel Redway) Date: Mon, 20 Jun 2011 10:48:36 +0300 Subject: request_mem_region Message-ID: To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org 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