Re: [RFC] net/fs_enet: send a reset request to the PHY on init

2009-09-04 Thread Grant Likely
On Fri, Sep 4, 2009 at 9:38 AM, Sebastian Andrzej Siewior wrote: > Grant Likely wrote: >  > What version of the kernel are you using?  The line numbers don't >> >> match up with kernel mainline, so I wonder if this is before or after >> the OF MDIO rework changes. > > It is the kernel which was shi

Re: [RFC] net/fs_enet: send a reset request to the PHY on init

2009-09-04 Thread Sebastian Andrzej Siewior
Grant Likely wrote: > What version of the kernel are you using? The line numbers don't match up with kernel mainline, so I wonder if this is before or after the OF MDIO rework changes. It is the kernel which was shipped in ads5121's bsp which is 2.6.24. Regardless, this doesn't look right.

Re: [RFC] net/fs_enet: send a reset request to the PHY on init

2009-09-03 Thread Grant Likely
On Wed, Sep 2, 2009 at 5:04 AM, Sebastian Andrzej Siewior wrote: > Usually u-boot sends a phy request in its network init routine. An uboot > without network support doesn't do it and I endup without working > network. I still can switch between 10/100Mbit (according to the LED on > the hub and phy

[RFC] net/fs_enet: send a reset request to the PHY on init

2009-09-02 Thread Sebastian Andrzej Siewior
Usually u-boot sends a phy request in its network init routine. An uboot without network support doesn't do it and I endup without working network. I still can switch between 10/100Mbit (according to the LED on the hub and phy registers) but I can't send or receive any data. At this point I'm not