From: Paulius Zaleckas <paulius.zaleckas@teltonika.lt>
To: David Miller <davem@davemloft.net>
Cc: netdev@vger.kernel.org
Subject: Re: [PATCH] phy_device: Interrupt number 0 is valid
Date: Thu, 09 Oct 2008 10:05:03 +0300 [thread overview]
Message-ID: <48EDAD1F.6010109@teltonika.lt> (raw)
In-Reply-To: <20081008.094335.216774973.davem@davemloft.net>
David Miller wrote:
> From: Paulius Zaleckas <paulius.zaleckas@teltonika.lt>
> Date: Wed, 08 Oct 2008 15:16:32 +0300
>
>> If interrupt number 0(valid interrupt number) will be passed as
>> phy interrupt it should be used. In current situation even phy
>> polling will not work since PHY_POLL = -1
>>
>> Signed-off-by: Paulius Zaleckas <paulius.zaleckas@teltonika.lt>
>
> In the Linux kernel, interrupt number 0 is defined as not valid.
Where it is defined as not valid?
Maybe it is not valid under x86, but it is valid at least on
ARM for sure.
Anyway if interrupt 0 is not valid then request_irq() will fail
and PHY_POLL will be used.
next prev parent reply other threads:[~2008-10-09 7:05 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-08 12:16 [PATCH] phy_device: Interrupt number 0 is valid Paulius Zaleckas
2008-10-08 16:43 ` David Miller
2008-10-09 7:05 ` Paulius Zaleckas [this message]
2008-10-09 16:38 ` David Miller
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=48EDAD1F.6010109@teltonika.lt \
--to=paulius.zaleckas@teltonika.lt \
--cc=davem@davemloft.net \
--cc=netdev@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).