[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <53023C68.8010201@codethink.co.uk>
Date: Mon, 17 Feb 2014 16:44:24 +0000
From: Ben Dooks <ben.dooks@...ethink.co.uk>
To: Sergei Shtylyov <sergei.shtylyov@...entembedded.com>
CC: linux-kernel@...ts.codethink.co.uk, netdev@...r.kernel.org,
magnus@...nsource.se, linux-sh@...r.kernel.org,
horms+renesas@...ge.net.au
Subject: Re: [Linux-kernel] [PATCH] sh_eth: call of_mdiobus_register() to
register phys
On 17/02/14 15:46, Ben Dooks wrote:
> On 17/02/14 16:40, Sergei Shtylyo
[snip]
>
>>> + return 0;
>>> + }
>>> +
>>> /* PHY IRQ */
>>> mdp->mii_bus->irq = devm_kzalloc(&ndev->dev,
>>> sizeof(int) * PHY_MAX_ADDR,
>>>
>>
>> Hm, I can only hope this works with PHY IRQ in DT mode.
>> Would you mind if I include your patch into my Ether DT patch?
>
> You are welcome to include it in your series, but I would like
> to keep the credit for finding this.
>
> Also, FYI, for some reason the probe is not finding the correct
> IRQ for this. I will have a look later when I get the board back
> as to why this is:
>
> net eth0: attached PHY 1 (IRQ -1) to driver Micrel KSZ8041RNLI
I've sent a fix for of_mdio to set phy->irq correctly and will
re-send this as a v2 patch shortly.
--
Ben Dooks http://www.codethink.co.uk/
Senior Engineer Codethink - Providing Genius
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists