[PATCH V4 4/4] net-next: mediatek: properly handle RGMII modes

2016-06-03 Thread John Crispin
If an external Gigabit PHY is connected to either of the MACs we need to be able to tell the PHY to use a delay. Not doing so will result in heavy packet loss and/or data corruption when using PHYs such as the IC+ IP1001. We tell the PHY which MII delay mode to use via the devictree. The ethernet

[PATCH V4 4/4] net-next: mediatek: properly handle RGMII modes

2016-06-03 Thread John Crispin
If an external Gigabit PHY is connected to either of the MACs we need to be able to tell the PHY to use a delay. Not doing so will result in heavy packet loss and/or data corruption when using PHYs such as the IC+ IP1001. We tell the PHY which MII delay mode to use via the devictree. The ethernet