Subject: Re: [PATCH] phy_device: Interrupt number 0 is valid

From: Paulius Zaleckas <[email-masked]>
Date: Thu, 09 Oct 2008 10:05:03 +0300

David Miller wrote:
> From: Paulius Zaleckas <[email-masked]>
> 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 <[email-masked]>
> 
> 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.