drivers: net: xgene: Use rgmii mdio mac access
authorQuan Nguyen <qnguyen@apm.com>
Wed, 10 May 2017 20:45:01 +0000 (13:45 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 16 May 2017 15:41:08 +0000 (11:41 -0400)
commitd09d3629b6f60bd5df5303eb2f4b26c52571388a
tree8f7e5b2f3e2de85750d40d4b18cb42205cd02264
parent8ec7074a6bf74e12f67c0dc90cdaa7969bb49c74
drivers: net: xgene: Use rgmii mdio mac access

This patch switches to use rgmii mdio mac access routines if available,
as they share the same HW.

Signed-off-by: Quan Nguyen <qnguyen@apm.com>
Signed-off-by: Iyappan Subramanian <isubramanian@apm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/apm/xgene/xgene_enet_hw.c