net: phy: realtek: add rtl822x_c45_get_features() to set supported port
authorEric Woudstra <ericwouds@gmail.com>
Tue, 9 Apr 2024 07:30:15 +0000 (09:30 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 12 Apr 2024 09:18:18 +0000 (10:18 +0100)
commit2d9ce64862705b33397d54dafecc5f51d8b1bb06
tree64db535c490cfb3cdf5fb96efd8cabb108d2dc46
parent2e4ea707c7e04eb83e58c43e0e744bbdf6b23ff2
net: phy: realtek: add rtl822x_c45_get_features() to set supported port

Sets ETHTOOL_LINK_MODE_TP_BIT in phydev->supported.

Signed-off-by: Eric Woudstra <ericwouds@gmail.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/realtek.c