]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - drivers/net/phy/bcm7xxx.c
net: phy: phy drivers should not set SUPPORTED_[Asym_]Pause
[linux.git] / drivers / net / phy / bcm7xxx.c
index aae00bde59802ac956e228f4e71c5604b018e620..264b085d796b4f048551fa033b7c28d302675e24 100644 (file)
@@ -386,8 +386,7 @@ static int bcm7xxx_28nm_probe(struct phy_device *phydev)
        .phy_id         = (_oui),                                       \
        .phy_id_mask    = 0xfffffff0,                                   \
        .name           = _name,                                        \
-       .features       = PHY_GBIT_FEATURES |                           \
-                         SUPPORTED_Pause | SUPPORTED_Asym_Pause,       \
+       .features       = PHY_GBIT_FEATURES,                            \
        .flags          = PHY_IS_INTERNAL,                              \
        .config_init    = bcm7xxx_28nm_config_init,                     \
        .config_aneg    = genphy_config_aneg,                           \
@@ -406,8 +405,7 @@ static int bcm7xxx_28nm_probe(struct phy_device *phydev)
        .phy_id         = (_oui),                                       \
        .phy_id_mask    = 0xfffffff0,                                   \
        .name           = _name,                                        \
-       .features       = PHY_BASIC_FEATURES |                          \
-                         SUPPORTED_Pause | SUPPORTED_Asym_Pause,       \
+       .features       = PHY_BASIC_FEATURES,                           \
        .flags          = PHY_IS_INTERNAL,                              \
        .config_init    = bcm7xxx_config_init,                          \
        .config_aneg    = genphy_config_aneg,                           \