net: phylink: allow RGMII/RTBI in-band status
authorQingfang DENG <dqfext@gmail.com>
Wed, 24 Aug 2022 06:10:34 +0000 (14:10 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 26 Aug 2022 09:58:43 +0000 (10:58 +0100)
commitd73ffc08824d9deca451e1845d72fa50bf17d5ae
tree85e2ce27b04898f074c353622ea7f15c09078e31
parent5b3b51a181fdf0387d931a6cedab30921147e576
net: phylink: allow RGMII/RTBI in-band status

As per RGMII specification v2.0, section 3.4.1, RGMII/RTBI has an
optional in-band status feature where the PHY's link status, speed and
duplex mode can be passed to the MAC.
Allow RGMII/RTBI to use in-band status.

Signed-off-by: Qingfang DENG <dqfext@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/phylink.c