[linux-yocto] [PATCH 40/94] Support for the new BCM 5221 phy - acp_mdio
Bruce Ashfield
bruce.ashfield at windriver.com
Sat Nov 9 07:46:00 PST 2013
On 11/7/2013, 8:12 PM, Paul Butler wrote:
> Signed-off-by: Paul Butler <paul.butler at windriver.com>
> ---
> drivers/net/ethernet/lsi/lsi_acp_mdio.c | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/drivers/net/ethernet/lsi/lsi_acp_mdio.c b/drivers/net/ethernet/lsi/lsi_acp_mdio.c
> index 90fc135..04c224c 100644
> --- a/drivers/net/ethernet/lsi/lsi_acp_mdio.c
> +++ b/drivers/net/ethernet/lsi/lsi_acp_mdio.c
> @@ -162,8 +162,13 @@ EXPORT_SYMBOL(acp_mdio_write);
> static int
> acp_mdio_initialize(void)
> {
> +#if 0
... if this is for support for the new phy, what happens to
the old one ? Considering it is #if 0'd out ?
Bruce
> WRITE(MDIO_CLK_OFFSET, 0x10);
> WRITE(MDIO_CLK_PERIOD, 0x2c);
> +#else
> + WRITE(MDIO_CLK_OFFSET, 0x1c);
> + WRITE(MDIO_CLK_PERIOD, 0xf0);
> +#endif
>
> return 0;
> }
>
More information about the linux-yocto
mailing list