summaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2014-04-13 18:01:08 +0000
committerJohn Crispin <john@openwrt.org>2014-04-13 18:01:08 +0000
commit010dcd092f57561beb8be638531b6c519167488c (patch)
tree18798ccaf8af327d2501b4065b6e62afbc31e22d /target
parent4d0f5b36c46c9e4c35a2460e48910c683e2b5ba4 (diff)
downloadmtk-20170518-010dcd092f57561beb8be638531b6c519167488c.zip
mtk-20170518-010dcd092f57561beb8be638531b6c519167488c.tar.gz
mtk-20170518-010dcd092f57561beb8be638531b6c519167488c.tar.bz2
ralink: add port_init for rt2880
Forgotten patch to fix ethernet for rt2880. Based on previously submitted patch from Claudio. Signed-off-by: Roman Yeryomin <roman@advem.lv> SVN-Revision: 40504
Diffstat (limited to 'target')
-rw-r--r--target/linux/ramips/patches-3.10/0118-NET-MIPS-add-ralink-SoC-ethernet-driver.patch3
1 files changed, 2 insertions, 1 deletions
diff --git a/target/linux/ramips/patches-3.10/0118-NET-MIPS-add-ralink-SoC-ethernet-driver.patch b/target/linux/ramips/patches-3.10/0118-NET-MIPS-add-ralink-SoC-ethernet-driver.patch
index 103c818..75f78bf 100644
--- a/target/linux/ramips/patches-3.10/0118-NET-MIPS-add-ralink-SoC-ethernet-driver.patch
+++ b/target/linux/ramips/patches-3.10/0118-NET-MIPS-add-ralink-SoC-ethernet-driver.patch
@@ -4717,7 +4717,7 @@ Signed-off-by: John Crispin <blogic@openwrt.org>
+MODULE_DEVICE_TABLE(of, of_fe_match);
--- /dev/null
+++ b/drivers/net/ethernet/ralink/soc_rt2880.c
-@@ -0,0 +1,51 @@
+@@ -0,0 +1,52 @@
+/*
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
@@ -4761,6 +4761,7 @@ Signed-off-by: John Crispin <blogic@openwrt.org>
+ .mdio_read = rt2880_mdio_read,
+ .mdio_write = rt2880_mdio_write,
+ .mdio_adjust_link = rt2880_mdio_link_adjust,
++ .port_init = rt2880_port_init,
+};
+
+const struct of_device_id of_fe_match[] = {