434-phy-marvell-88E1540-add-flow-control-support.patch 835 B

12345678910111213141516171819202122
  1. From: Russell King <[email protected]>
  2. Date: Tue, 12 Jul 2016 16:45:43 +0100
  3. Subject: [PATCH] phy: marvell: 88E1540: add flow control support
  4. The Marvell PHYs support pause frame advertisments, so we should not be
  5. masking their support off. Add the necessary flag to the Marvell PHY
  6. to allow any MAC level pause frame support to be advertised.
  7. Signed-off-by: Russell King <[email protected]>
  8. ---
  9. --- a/drivers/net/phy/marvell.c
  10. +++ b/drivers/net/phy/marvell.c
  11. @@ -1698,7 +1698,7 @@ static struct phy_driver marvell_drivers
  12. .phy_id = MARVELL_PHY_ID_88E1540,
  13. .phy_id_mask = MARVELL_PHY_ID_MASK,
  14. .name = "Marvell 88E1540",
  15. - .features = PHY_GBIT_FEATURES,
  16. + .features = PHY_GBIT_FEATURES | SUPPORTED_Pause,
  17. .flags = PHY_HAS_INTERRUPT,
  18. .probe = marvell_probe,
  19. .config_init = &marvell_config_init,