Skip to content

Commit cf626c3

Browse files
Sean Nyekjaerdavem330
authored andcommitted
net: phy: micrel: KSZ8795 do not set SUPPORTED_[Asym_]Pause
As pr commit "net: phy: phy drivers should not set SUPPORTED_[Asym_]Pause" this phy driver should not set these feature bits. Signed-off-by: Sean Nyekjaer <sean.nyekjaer@prevas.dk> Fixes: 9d162ed ("net: phy: micrel: add support for KSZ8795") Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent f1712c7 commit cf626c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/net/phy/micrel.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1012,7 +1012,7 @@ static struct phy_driver ksphy_driver[] = {
10121012
.phy_id = PHY_ID_KSZ8795,
10131013
.phy_id_mask = MICREL_PHY_ID_MASK,
10141014
.name = "Micrel KSZ8795",
1015-
.features = (SUPPORTED_Pause | SUPPORTED_Asym_Pause),
1015+
.features = PHY_BASIC_FEATURES,
10161016
.flags = PHY_HAS_MAGICANEG | PHY_HAS_INTERRUPT,
10171017
.config_init = kszphy_config_init,
10181018
.config_aneg = ksz8873mll_config_aneg,

0 commit comments

Comments
 (0)