summaryrefslogtreecommitdiff
path: root/target/linux/mcs814x/patches-3.18/011-mcs814x_internal_phy.patch
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2015-04-04 18:01:07 +0000
committerFlorian Fainelli <florian@openwrt.org>2015-04-04 18:01:07 +0000
commitb1ba4c50963db865b57092cd2ff9676e629aacf1 (patch)
tree605e14b700c9dacd60dc44b322fb2cc1b30b59d5 /target/linux/mcs814x/patches-3.18/011-mcs814x_internal_phy.patch
parentc31df6e995c36e2b14b74f727b8392e6c1c10afc (diff)
downloadmtk-20170518-b1ba4c50963db865b57092cd2ff9676e629aacf1.zip
mtk-20170518-b1ba4c50963db865b57092cd2ff9676e629aacf1.tar.gz
mtk-20170518-b1ba4c50963db865b57092cd2ff9676e629aacf1.tar.bz2
mcs814x: add support for 3.18
Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 45273
Diffstat (limited to 'target/linux/mcs814x/patches-3.18/011-mcs814x_internal_phy.patch')
-rw-r--r--target/linux/mcs814x/patches-3.18/011-mcs814x_internal_phy.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/target/linux/mcs814x/patches-3.18/011-mcs814x_internal_phy.patch b/target/linux/mcs814x/patches-3.18/011-mcs814x_internal_phy.patch
new file mode 100644
index 0000000..20d5add
--- /dev/null
+++ b/target/linux/mcs814x/patches-3.18/011-mcs814x_internal_phy.patch
@@ -0,0 +1,20 @@
+--- a/drivers/net/phy/Kconfig
++++ b/drivers/net/phy/Kconfig
+@@ -164,6 +164,10 @@ config RTL8306_PHY
+ tristate "Driver for Realtek RTL8306S switches"
+ select SWCONFIG
+
++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
+@@ -51,3 +51,4 @@ obj-$(CONFIG_MDIO_SUN4I) += mdio-sun4i.o
+ obj-$(CONFIG_MDIO_MOXART) += mdio-moxart.o
+ obj-$(CONFIG_AMD_XGBE_PHY) += amd-xgbe-phy.o
+ obj-$(CONFIG_MDIO_BCM_UNIMAC) += mdio-bcm-unimac.o
++obj-$(CONFIG_MCS814X_PHY) += mcs814x.o