irq_of_parse_and_map is equivalent to ioremap in the MMU case ?

Scott Wood a écrit :
On Wed, Sep 03, 2008 at 06:36:39PM +0200, Sébastien Chrétien wrote:
Ok I will try irq_create_mapping tomorrow.
When have I to use this function ?

You always need to create a mapping (though doing it with
irq_of_parse_and_map is preferred).  request_irq() takes virtual IRQ
numbers, not hardware IRQ numbers.

-Scott

_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev

Reply via email to