013-enable-realtek-phy.patch 897 B

1234567891011121314151617181920212223242526
  1. From 1eae8f66ff749409eb96e2f3f3387c56232d0b8a Mon Sep 17 00:00:00 2001
  2. From: Hans de Goede <[email protected]>
  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 <[email protected]>
  8. Acked-by: Ian Campbell <[email protected]>
  9. ---
  10. include/configs/sunxi-common.h | 1 +
  11. 1 file changed, 1 insertion(+)
  12. diff --git a/include/configs/sunxi-common.h b/include/configs/sunxi-common.h
  13. index b26363d..ea15e37 100644
  14. --- a/include/configs/sunxi-common.h
  15. +++ b/include/configs/sunxi-common.h
  16. @@ -310,6 +310,7 @@ extern int soft_i2c_gpio_scl;
  17. #define CONFIG_PHY_GIGE /* GMAC can use gigabit PHY */
  18. #define CONFIG_PHY_ADDR 1
  19. #define CONFIG_MII /* MII PHY management */
  20. +#define CONFIG_PHY_REALTEK
  21. #endif
  22. #ifdef CONFIG_USB_EHCI_HCD