summaryrefslogtreecommitdiff
path: root/target/linux/rb532/patches-2.6.24/110-korina_ethernet.patch
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2008-07-15 17:18:28 +0000
committerFlorian Fainelli <florian@openwrt.org>2008-07-15 17:18:28 +0000
commitb0250695a9247aac244b770a0fb0d6deaad5467c (patch)
tree2bb27977d90b0912abb949aa056003cba3a00e09 /target/linux/rb532/patches-2.6.24/110-korina_ethernet.patch
parent714a721010caa3941e7e178944c9e843c2108b59 (diff)
downloadmtk-20170518-b0250695a9247aac244b770a0fb0d6deaad5467c.zip
mtk-20170518-b0250695a9247aac244b770a0fb0d6deaad5467c.tar.gz
mtk-20170518-b0250695a9247aac244b770a0fb0d6deaad5467c.tar.bz2
Add basic 2.6.24 support for rb532, korina napi code has to be adapted to work
SVN-Revision: 11844
Diffstat (limited to 'target/linux/rb532/patches-2.6.24/110-korina_ethernet.patch')
-rw-r--r--target/linux/rb532/patches-2.6.24/110-korina_ethernet.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/target/linux/rb532/patches-2.6.24/110-korina_ethernet.patch b/target/linux/rb532/patches-2.6.24/110-korina_ethernet.patch
new file mode 100644
index 0000000..acfba6c
--- /dev/null
+++ b/target/linux/rb532/patches-2.6.24/110-korina_ethernet.patch
@@ -0,0 +1,31 @@
+Index: linux-2.6.23.17/drivers/net/Kconfig
+===================================================================
+--- linux-2.6.23.17.orig/drivers/net/Kconfig
++++ linux-2.6.23.17/drivers/net/Kconfig
+@@ -348,6 +348,13 @@ config AX88796
+ AX88796 driver, using platform bus to provide
+ chip detection and resources
+
++config KORINA
++ tristate "Korina Local Ethernet support"
++ depends on NET_ETHERNET && ( IDT_EB434 || MIKROTIK_RB500)
++ help
++ IDT RC32434 has one local ethernet port. Say Y here to enable it.
++ To compile this driver as a module, choose M here.
++
+ config MACE
+ tristate "MACE (Power Mac ethernet) support"
+ depends on PPC_PMAC && PPC32
+Index: linux-2.6.23.17/drivers/net/Makefile
+===================================================================
+--- linux-2.6.23.17.orig/drivers/net/Makefile
++++ linux-2.6.23.17/drivers/net/Makefile
+@@ -25,6 +25,8 @@ ucc_geth_driver-objs := ucc_geth.o ucc_g
+ #
+ obj-$(CONFIG_PLIP) += plip.o
+
++obj-$(CONFIG_KORINA) += korina.o
++
+ obj-$(CONFIG_ROADRUNNER) += rrunner.o
+
+ obj-$(CONFIG_HAPPYMEAL) += sunhme.o