Re: [RFC][PATCH] PowerPC 4xx: ibm_newemac 440GX phy clock workaround.

2008-02-22 Thread Josh Boyer
On Fri, 22 Feb 2008 22:15:58 +0300 Valentine Barshak <[EMAIL PROTECTED]> wrote: > Benjamin Herrenschmidt wrote: > > On Thu, 2008-02-21 at 17:46 +0300, Valentine Barshak wrote: > >> The PowerPC 440GX Taishan board fails to reset EMAC3 (reset timeout error) > >> and because of that it can't find PHY

Re: [RFC][PATCH] PowerPC 4xx: ibm_newemac 440GX phy clock workaround.

2008-02-22 Thread Valentine Barshak
Benjamin Herrenschmidt wrote: > On Thu, 2008-02-21 at 17:46 +0300, Valentine Barshak wrote: >> The PowerPC 440GX Taishan board fails to reset EMAC3 (reset timeout error) >> and because of that it can't find PHY chip. The older ibm_emac driver had >> a workaround for that: the EMAC_CLK_INTERNAL/EMAC

Re: [RFC][PATCH] PowerPC 4xx: ibm_newemac 440GX phy clock workaround.

2008-02-21 Thread Benjamin Herrenschmidt
On Thu, 2008-02-21 at 17:46 +0300, Valentine Barshak wrote: > The PowerPC 440GX Taishan board fails to reset EMAC3 (reset timeout error) > and because of that it can't find PHY chip. The older ibm_emac driver had > a workaround for that: the EMAC_CLK_INTERNAL/EMAC_CLK_EXTERNAL macros which > toggl

[RFC][PATCH] PowerPC 4xx: ibm_newemac 440GX phy clock workaround.

2008-02-21 Thread Valentine Barshak
The PowerPC 440GX Taishan board fails to reset EMAC3 (reset timeout error) and because of that it can't find PHY chip. The older ibm_emac driver had a workaround for that: the EMAC_CLK_INTERNAL/EMAC_CLK_EXTERNAL macros which toggle the Ethernet Clock Select bit in the SDR0_MFR register. This patch