“b6c2e027a9d1acbf734a67fb9071f5d6b026d0d7”上不存在“...sun/java2d/git@gitcode.net:openanolis/dragonwell8_jdk.git”
提交 6d4cfcf9 编写于 作者: S Sean Anderson 提交者: David S. Miller

net: phy: Update documentation for get_rate_matching

Now that phylink no longer calls phy_get_rate_matching with
PHY_INTERFACE_MODE_NA, phys no longer need to support it. Remove the
documentation mandating support.

Fixes: 7642cc28 ("net: phylink: fix PHY validation with rate adaption")
Signed-off-by: NSean Anderson <sean.anderson@seco.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 d02b8256
...@@ -826,10 +826,7 @@ struct phy_driver { ...@@ -826,10 +826,7 @@ struct phy_driver {
* whether to advertise lower-speed modes for that interface. It is * whether to advertise lower-speed modes for that interface. It is
* assumed that if a rate matching mode is supported on an interface, * assumed that if a rate matching mode is supported on an interface,
* then that interface's rate can be adapted to all slower link speeds * then that interface's rate can be adapted to all slower link speeds
* supported by the phy. If iface is %PHY_INTERFACE_MODE_NA, and the phy * supported by the phy. If the interface is not supported, this should
* supports any kind of rate matching for any interface, then it must
* return that rate matching mode (preferring %RATE_MATCH_PAUSE to
* %RATE_MATCH_CRS). If the interface is not supported, this should
* return %RATE_MATCH_NONE. * return %RATE_MATCH_NONE.
*/ */
int (*get_rate_matching)(struct phy_device *phydev, int (*get_rate_matching)(struct phy_device *phydev,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册