summaryrefslogtreecommitdiffstats
path: root/target/linux/realtek/patches-2.6.30/fix-rtl865x_asicL2-compile.patch
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/realtek/patches-2.6.30/fix-rtl865x_asicL2-compile.patch')
-rw-r--r--target/linux/realtek/patches-2.6.30/fix-rtl865x_asicL2-compile.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/target/linux/realtek/patches-2.6.30/fix-rtl865x_asicL2-compile.patch b/target/linux/realtek/patches-2.6.30/fix-rtl865x_asicL2-compile.patch
new file mode 100644
index 000000000..b666fd851
--- /dev/null
+++ b/target/linux/realtek/patches-2.6.30/fix-rtl865x_asicL2-compile.patch
@@ -0,0 +1,20 @@
+--- linux-2.6.30.9/drivers/net/rtl819x/AsicDriver/rtl865x_asicL2.c.old 2013-06-02 11:38:30.489892324 +0300
++++ linux-2.6.30.9/drivers/net/rtl819x/AsicDriver/rtl865x_asicL2.c 2013-06-02 11:37:36.665891001 +0300
+@@ -7807,7 +7807,7 @@
+
+ int32 rtl8651_setAsicEthernetLinkStatus(uint32 port, int8 linkUp)
+ {
+- int8 notify;
++// int8 notify;
+ // uint32 portmask;
+
+ if (port >= (RTL8651_PORT_NUMBER+rtl8651_totalExtPortNum))
+@@ -7815,7 +7815,7 @@
+ return FAILED;
+ }
+
+- notify = (rtl8651AsicEthernetTable[port].linkUp != ((linkUp==TRUE)? TRUE: FALSE))?TRUE:FALSE;
++// notify = (rtl8651AsicEthernetTable[port].linkUp != ((linkUp==TRUE)? TRUE: FALSE))?TRUE:FALSE;
+
+
+ rtl8651AsicEthernetTable[port].linkUp = (linkUp == TRUE)? TRUE: FALSE;