7065-dpaa_eth-replace-sgmii-2500-with-qsgmii.patch 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. From a768af05b1ffe644f54303036e5c048952e0f721 Mon Sep 17 00:00:00 2001
  2. From: Madalin Bucur <madalin.bucur@freescale.com>
  3. Date: Mon, 4 Apr 2016 20:23:21 +0300
  4. Subject: [PATCH 65/70] dpaa_eth: replace sgmii-2500 with qsgmii
  5. Signed-off-by: Madalin Bucur <madalin.bucur@freescale.com>
  6. ---
  7. drivers/net/ethernet/freescale/sdk_dpaa/mac.c | 6 ------
  8. 1 file changed, 6 deletions(-)
  9. --- a/drivers/net/ethernet/freescale/sdk_dpaa/mac.c
  10. +++ b/drivers/net/ethernet/freescale/sdk_dpaa/mac.c
  11. @@ -74,7 +74,6 @@ static const char phy_str[][11] = {
  12. [PHY_INTERFACE_MODE_RGMII_TXID] = "rgmii-txid",
  13. [PHY_INTERFACE_MODE_RTBI] = "rtbi",
  14. [PHY_INTERFACE_MODE_XGMII] = "xgmii",
  15. - [PHY_INTERFACE_MODE_QSGMII] = "sgmii-2500"
  16. };
  17. static phy_interface_t __pure __attribute__((nonnull)) str2phy(const char *str)
  18. @@ -101,7 +100,6 @@ static const uint16_t phy2speed[] = {
  19. [PHY_INTERFACE_MODE_RGMII_TXID] = SPEED_1000,
  20. [PHY_INTERFACE_MODE_RTBI] = SPEED_1000,
  21. [PHY_INTERFACE_MODE_XGMII] = SPEED_10000,
  22. - [PHY_INTERFACE_MODE_QSGMII] = SPEED_2500
  23. };
  24. static struct mac_device * __cold
  25. @@ -341,10 +339,6 @@ static int __cold mac_probe(struct platf
  26. mac_dev->if_support &= ~(SUPPORTED_10baseT_Half |
  27. SUPPORTED_100baseT_Half);
  28. - if (strstr(char_prop, "sgmii-2500"))
  29. - mac_dev->if_support &= ~(SUPPORTED_10baseT_Half |
  30. - SUPPORTED_100baseT_Half);
  31. -
  32. /* Gigabit support (no half-duplex) */
  33. if (mac_dev->max_speed == SPEED_1000 ||
  34. mac_dev->max_speed == SPEED_2500)