Re: Get new_emac driver running on 405EP

2008-04-15 Thread Josh Boyer
On Tue, 2008-04-15 at 23:51 +0200, Markus Brunner wrote: > On Monday 14 April 2008, Benjamin Herrenschmidt wrote: > > > 2) On the 405EP only the MDIO pin of the emac0 is pinned out, so both > > > phys have to be accessed through this one. This affectes the mdio > > > read/write functions. > > > > T

Re: Get new_emac driver running on 405EP

2008-04-15 Thread Markus Brunner
On Monday 14 April 2008, Benjamin Herrenschmidt wrote: > > 2) On the 405EP only the MDIO pin of the emac0 is pinned out, so both > > phys have to be accessed through this one. This affectes the mdio > > read/write functions. > > The later can easily be described in the device-tree as it's a fairly

Re: Get new_emac driver running on 405EP

2008-04-14 Thread Benjamin Herrenschmidt
On Mon, 2008-04-14 at 19:38 +0200, M B wrote: > Hi, > I'm trying to get the new_emac driver (linux 2.6.25-rc8) running on my > 405EP board with a KSZ8721BT Micrel/Kendin PHY. > I've already found 2 problems/missing features: > 1) 100 retries in __emac_mdio_read for the read to complete are > sligh

Get new_emac driver running on 405EP

2008-04-14 Thread M B
Hi, I'm trying to get the new_emac driver (linux 2.6.25-rc8) running on my 405EP board with a KSZ8721BT Micrel/Kendin PHY. I've already found 2 problems/missing features: 1) 100 retries in __emac_mdio_read for the read to complete are slightly too less. 101 seem to be enough. But we could add a bit