On Fri, Jun 23, 2017 at 12:41:59PM +0800, David Wu wrote:
quoted hunk ↗ jump to hunk
Support internal ephy currently.
Signed-off-by: David Wu <redacted>
---
drivers/net/phy/Kconfig | 4 ++
drivers/net/phy/Makefile | 1 +
drivers/net/phy/rockchip.c | 94 ++++++++++++++++++++++++++++++++++++++++++++++
3 files changed, 99 insertions(+)
create mode 100644 drivers/net/phy/rockchip.c
diff --git a/drivers/net/phy/Kconfig b/drivers/net/phy/Kconfig
index c360dd6..86010d4 100644
--- a/drivers/net/phy/Kconfig
+++ b/drivers/net/phy/Kconfig
@@ -350,6 +350,10 @@ config XILINX_GMII2RGMII
the Reduced Gigabit Media Independent Interface(RGMII) between
Ethernet physical media devices and the Gigabit Ethernet controller.
+config ROCKCHIP_MAC_PHY
+ tristate "Drivers for ROCKCHIP MAC PHY"
+ ---help---
+ Currently supports the mac internal ephy.
endif # PHYLIB
Alphabetic order please for Kconfig and Makefile.
I will review the rest later today/tomorrow.
Andrew