Skip to content

Commit 8a43c05

Browse files
Timur Tabidavem330
authored andcommitted
Revert "net: qcom/emac: configure the external phy to allow pause frames"
This reverts commit 3e88449. With commit 529ed12 ("net: phy: phy drivers should not set SUPPORTED_[Asym_]Pause"), phylib now handles automatically enabling pause frame support in the PHY, and the MAC driver should follow suit. Since the EMAC driver driver does this, we no longer need to force pause frames support. Signed-off-by: Timur Tabi <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 4567d68 commit 8a43c05

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

drivers/net/ethernet/qualcomm/emac/emac-mac.c

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1004,12 +1004,6 @@ int emac_mac_up(struct emac_adapter *adpt)
10041004
writel((u32)~DIS_INT, adpt->base + EMAC_INT_STATUS);
10051005
writel(adpt->irq.mask, adpt->base + EMAC_INT_MASK);
10061006

1007-
/* Enable pause frames. Without this feature, the EMAC has been shown
1008-
* to receive (and drop) frames with FCS errors at gigabit connections.
1009-
*/
1010-
adpt->phydev->supported |= SUPPORTED_Pause | SUPPORTED_Asym_Pause;
1011-
adpt->phydev->advertising |= SUPPORTED_Pause | SUPPORTED_Asym_Pause;
1012-
10131007
adpt->phydev->irq = PHY_IGNORE_INTERRUPT;
10141008
phy_start(adpt->phydev);
10151009

0 commit comments

Comments
 (0)