提交 4ef972fd 编写于 作者: A Andrew Lunn 提交者: David S. Miller

net: phy: ste10Xp: Remove wrong SUPPORTED_Pause

The PHY driver should not indicate that Pause is supported. It is upto
the MAC drive enable it, if it supports Pause frames. So remove it
from the ste10Xp driver.
Signed-off-by: NAndrew Lunn <andrew@lunn.ch>
Reviewed-by: NFlorian Fainelli <f.fainelli@gmail.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 eca09be8
...@@ -86,7 +86,7 @@ static struct phy_driver ste10xp_pdriver[] = { ...@@ -86,7 +86,7 @@ static struct phy_driver ste10xp_pdriver[] = {
.phy_id = STE101P_PHY_ID, .phy_id = STE101P_PHY_ID,
.phy_id_mask = 0xfffffff0, .phy_id_mask = 0xfffffff0,
.name = "STe101p", .name = "STe101p",
.features = PHY_BASIC_FEATURES | SUPPORTED_Pause, .features = PHY_BASIC_FEATURES,
.flags = PHY_HAS_INTERRUPT, .flags = PHY_HAS_INTERRUPT,
.config_init = ste10Xp_config_init, .config_init = ste10Xp_config_init,
.ack_interrupt = ste10Xp_ack_interrupt, .ack_interrupt = ste10Xp_ack_interrupt,
...@@ -97,7 +97,7 @@ static struct phy_driver ste10xp_pdriver[] = { ...@@ -97,7 +97,7 @@ static struct phy_driver ste10xp_pdriver[] = {
.phy_id = STE100P_PHY_ID, .phy_id = STE100P_PHY_ID,
.phy_id_mask = 0xffffffff, .phy_id_mask = 0xffffffff,
.name = "STe100p", .name = "STe100p",
.features = PHY_BASIC_FEATURES | SUPPORTED_Pause, .features = PHY_BASIC_FEATURES,
.flags = PHY_HAS_INTERRUPT, .flags = PHY_HAS_INTERRUPT,
.config_init = ste10Xp_config_init, .config_init = ste10Xp_config_init,
.ack_interrupt = ste10Xp_ack_interrupt, .ack_interrupt = ste10Xp_ack_interrupt,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册