]> git.baikalelectronics.ru Git - kernel.git/commit
net: phy: mscc: accept all RGMII species in vsc85xx_mac_if_set
authorVladimir Oltean <vladimir.oltean@nxp.com>
Thu, 19 Mar 2020 21:16:47 +0000 (23:16 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 24 Mar 2020 03:52:26 +0000 (20:52 -0700)
commitad42ddfdf0609055565124b8e5692f1dc8b9ae3a
treeb5576540e8de2ac96c05c57a49d386e356ae4ce8
parentcc88404db8711ad4595a84ad86f808eb034b0aac
net: phy: mscc: accept all RGMII species in vsc85xx_mac_if_set

The helper for configuring the pinout of the MII side of the PHY should
do so irrespective of whether RGMII delays are used or not. So accept
the ID, TXID and RXID variants as well, not just the no-delay RGMII
variant.

Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/mscc/mscc_main.c