From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: JAY KOTHARI <jaikothari10@gmail.com>
Cc: xenomai <xenomai@xenomai.org>
Subject: Re: [Xenomai] rtdm_irq_request not registering irq
Date: Mon, 16 Feb 2015 11:01:28 +0100 [thread overview]
Message-ID: <20150216100128.GC1914@hermes.click-hack.org> (raw)
In-Reply-To: <CALe7ZU0i4UUABx=xQH1jXy9ak+hXkKPz+0d0qYQoQ=zqA780OA@mail.gmail.com>
On Mon, Feb 16, 2015 at 03:22:07PM +0530, JAY KOTHARI wrote:
> I am using beaglebone black with Linux 3.8.13 and Xenomai 2.6.3.
There is no reason to use Xenomai 2.6.3, you should be using xenomai
2.6.4. Both releases are ABI compatible.
> In
> the original Linux driver (without RTDM driver) they are implementing
> same irq_number for request_irq API. So I believe the same irq number
> must work for rtdm_irq_request in my RTDM driver.
>
> I looked into /proc/xenomai/irq my irq is shown registered but its not working.
>
> How I use to request_irq and rtrm_irq_request together to solve this
> approach?? Do you mean I request irq with both api??
> Then how do I implement irq handler and get argument like
> dev_id(request_irq) or void * arg(rtdm_irq_request)????
Please, no top posting. No need for bazillions of question marks
either.
Yes, I mean request the irq with both API, pass a dummy handler to
request_irq, it will never be called anyway if the handler
registered with rtdm_irq_request do not return XN_ISR_PROPAGATE.
--
Gilles.
next prev parent reply other threads:[~2015-02-16 10:01 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-02-16 4:58 [Xenomai] rtdm_irq_request not registering irq JAY KOTHARI
2015-02-16 9:25 ` Gilles Chanteperdrix
2015-02-16 9:52 ` JAY KOTHARI
2015-02-16 10:01 ` Gilles Chanteperdrix [this message]
2015-02-16 10:40 ` JAY KOTHARI
2015-02-16 10:48 ` Gilles Chanteperdrix
2015-02-17 17:33 ` Lennart Sorensen
2015-02-17 18:11 ` Gilles Chanteperdrix
2015-02-17 18:19 ` Lennart Sorensen
2015-02-20 12:46 ` JAY KOTHARI
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20150216100128.GC1914@hermes.click-hack.org \
--to=gilles.chanteperdrix@xenomai.org \
--cc=jaikothari10@gmail.com \
--cc=xenomai@xenomai.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.