013-enable-realtek-phy.patch 790 B

123456789101112131415161718192021222324
  1. From 1eae8f66ff749409eb96e2f3f3387c56232d0b8a Mon Sep 17 00:00:00 2001
  2. From: Hans de Goede <hdegoede@redhat.com>
  3. Date: Wed, 16 Mar 2016 13:46:22 +0100
  4. Subject: [PATCH] sunxi: Enable realtek phy support
  5. Enable building of drivers/net/phy/realtek.c so that realtek phys
  6. get properly initialized.
  7. Signed-off-by: Hans de Goede <hdegoede@redhat.com>
  8. Acked-by: Ian Campbell <ijc@hellion.org.uk>
  9. ---
  10. include/configs/sunxi-common.h | 1 +
  11. 1 file changed, 1 insertion(+)
  12. --- a/include/configs/sunxi-common.h
  13. +++ b/include/configs/sunxi-common.h
  14. @@ -314,6 +314,7 @@ extern int soft_i2c_gpio_scl;
  15. #define CONFIG_PHY_GIGE /* GMAC can use gigabit PHY */
  16. #define CONFIG_PHY_ADDR 1
  17. #define CONFIG_MII /* MII PHY management */
  18. +#define CONFIG_PHY_REALTEK
  19. #endif
  20. #ifdef CONFIG_USB_EHCI_HCD