[PATCH] net/fec: gasket needs to be enabled for some i.mx

David Miller davem at davemloft.net
Thu Jul 7 07:12:57 EDT 2011


From: Shawn Guo <shawn.guo at linaro.org>
Date: Fri,  1 Jul 2011 18:11:22 +0800

> On the recent i.mx (mx25/50/53), there is a gasket inside fec
> controller which needs to be enabled no matter phy works in MII
> or RMII mode.
> 
> The current code enables the gasket only when phy interface is RMII.
> It's broken when the driver works with a MII phy.  The patch uses
> platform_device_id to distinguish the SoCs that have the gasket and
> enables it on these SoCs for both MII and RMII mode.
> 
> Signed-off-by: Troy Kisky <troy.kisky at boundarydevices.com>
> Signed-off-by: Shawn Guo <shawn.guo at linaro.org>

Acked-by: David S. Miller <davem at davemloft.net>



More information about the linux-arm-kernel mailing list