[PATCH] net/fec: gasket needs to be enabled for some i.mx
From: davem@davemloft.net (David Miller)
Date: 2011-07-07 11:12:57
Also in:
netdev
From: davem@davemloft.net (David Miller)
Date: 2011-07-07 11:12:57
Also in:
netdev
From: Shawn Guo <redacted> 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 <redacted> Signed-off-by: Shawn Guo <redacted>
Acked-by: David S. Miller <davem@davemloft.net>