summaryrefslogtreecommitdiffstats
path: root/target/linux/mcs814x/patches-3.14/011-mcs814x_internal_phy.patch
blob: 9aeaf6e632915c65b90bc885335b5ebd35add355 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- a/drivers/net/phy/Kconfig
+++ b/drivers/net/phy/Kconfig
@@ -157,6 +157,10 @@ config MICREL_PHY
 	---help---
 	  Currently has a driver for the KSZ8041
 
+config MCS814X_PHY
+	tristate "Driver for the Moschip MCS814x internal PHY"
+	depends on ARCH_MCS814X
+
 config FIXED_PHY
 	bool "Driver for MDIO Bus/PHY emulation with fixed speed/link PHYs"
 	depends on PHYLIB=y
--- a/drivers/net/phy/Makefile
+++ b/drivers/net/phy/Makefile
@@ -49,3 +49,4 @@ obj-$(CONFIG_MDIO_BUS_MUX_GPIO)	+= mdio-
 obj-$(CONFIG_MDIO_BUS_MUX_MMIOREG) += mdio-mux-mmioreg.o
 obj-$(CONFIG_MDIO_SUN4I)	+= mdio-sun4i.o
 obj-$(CONFIG_MDIO_MOXART)	+= mdio-moxart.o
+obj-$(CONFIG_MCS814X_PHY)	+= mcs814x.o