]> git.baikalelectronics.ru Git - kernel.git/commit
xgene: Check all RGMII phy mode variants
authorIyappan Subramanian <isubramanian@apm.com>
Thu, 18 May 2017 22:13:44 +0000 (15:13 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 19 May 2017 23:41:43 +0000 (19:41 -0400)
commitb194501741a30c42d159cbcbbdb4323bd4a0732d
tree6f6298fa6aced40f67528f93505c4fab73dad8d7
parent87282ee645ff98ca93cfa2a5c7f31b07980485c4
xgene: Check all RGMII phy mode variants

This patch addresses the review comment from the previous patch set,
by using phy_interface_mode_is_rgmii() helper function to address
all RGMII phy mode variants.

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