Results 1 to 5 of 5
Hi,
I am trying to map a hardware interrupt to a virtual interrupt in my powerpc device driver for consequent use with request_irq(). A recommended way of doing this is ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 07-07-2010 #1Just Joined!
- Join Date
- Jul 2010
- Posts
- 1
non-GPL equivalent for irq_of_parse_and_map()
Hi,
I am trying to map a hardware interrupt to a virtual interrupt in my powerpc device driver for consequent use with request_irq(). A recommended way of doing this is by using the GPL irq_of_parse_and_map() / irq_create_of_mapping() functions. Does anyone know if there is a non-GPL way of doing this?
Thanks,
Vadim
- 07-07-2010 #2
You've come to a place that lives and breathes GPL. Can you say why you want a non-GPL way?
- 08-11-2010 #3Just Joined!
- Join Date
- Aug 2010
- Posts
- 2
Re: non-GPL equivalent for irq_of_parse_and_map()
Some of the IRQs are listed in the file "/proc/interrupts" or "/proc/irq" and
Non-GPL applications can get information from the proc files.
It may be possible to add some new proc files to store the irq information retrieved by calling irq_of_parse_and_map() using GPL module and other Non-GPL modules can get the irq information via new proc files.
Could anyone know this is Non-GPL way ?
Thanks,
- 08-11-2010 #4
- 08-12-2010 #5Just Joined!
- Join Date
- Aug 2010
- Posts
- 2
Hi greyhairweenie
Thank you for your reply.
How about the way to add a new system call ID for IRQ information and get the information via system call from Non-GPL modules ?
Do you know any other way for some prorietary modules to get the IRQ information ?
Thanks.


Reply With Quote
