net: phy: gmii2rgmii: Support PHY loopback
authorGerhard Engleder <gerhard@engleder-embedded.com>
Thu, 19 Aug 2021 13:11:54 +0000 (15:11 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 20 Aug 2021 13:31:46 +0000 (14:31 +0100)
commitceaeaafc8b6278930d9994e29d6826ee893cea65
tree6e6cde327b29c212fb9aac0c1ad390f0b3bdaa6a
parent3ac8eed62596387214869319379c1fcba264d8c6
net: phy: gmii2rgmii: Support PHY loopback

Configure speed if loopback is used. read_status is not called for
loopback.

Signed-off-by: Gerhard Engleder <gerhard@engleder-embedded.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/xilinx_gmii2rgmii.c