Skip to content
Commit 0ca1e290 authored by Shawn Guo's avatar Shawn Guo
Browse files

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



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: default avatarShawn Guo <shawn.guo@linaro.org>
Reported-by: default avatarTroy Kisky <troy.kisky@boundarydevices.com>
Cc: David S. Miller <davem@davemloft.net>
Cc: Sascha Hauer <s.hauer@pengutronix.de>
Acked-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 22698aa2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment