drivers: net: xgene: fix RGMII 10/100Mb mode
authorIyappan Subramanian <isubramanian@apm.com>
Sat, 7 Nov 2015 19:50:40 +0000 (11:50 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 9 Nov 2015 02:00:20 +0000 (21:00 -0500)
commit761d4be5cf666973db317aab944b45bb07fe0a4f
treed4c985870ae1be92fdfbcf8480b925cdcc91b766
parentb73c8bfd07eb53a964b7b917b0599e12103097fb
drivers: net: xgene: fix RGMII 10/100Mb mode

This patch fixes the RGMII 10/100M mode by reprogramming the clock.

Signed-off-by: Iyappan Subramanian <isubramanian@apm.com>
Tested-by: Fushen Chen <fchen@apm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/apm/xgene/xgene_enet_hw.c
drivers/net/ethernet/apm/xgene/xgene_enet_hw.h
drivers/net/ethernet/apm/xgene/xgene_enet_main.c