aboutsummaryrefslogtreecommitdiffstats
path: root/package/ar7-atm/patches/130-powercutback.patch
diff options
context:
space:
mode:
authorMatteo Croce <rootkit85@yahoo.it>2008-01-05 02:44:04 +0000
committerMatteo Croce <rootkit85@yahoo.it>2008-01-05 02:44:04 +0000
commitc0310c2f5fd20e79dd792e3e8dccc4acdb9254cf (patch)
tree919fb7d996d31e8f472d70f6a2212a849bcb125b /package/ar7-atm/patches/130-powercutback.patch
parentf88ddb8ba8eaf4f28f9f96cd2b76756958c33c78 (diff)
downloadupstream-c0310c2f5fd20e79dd792e3e8dccc4acdb9254cf.tar.gz
upstream-c0310c2f5fd20e79dd792e3e8dccc4acdb9254cf.tar.bz2
upstream-c0310c2f5fd20e79dd792e3e8dccc4acdb9254cf.zip
updated DSL driver and firmware (closes #2532)
SVN-Revision: 10118
Diffstat (limited to 'package/ar7-atm/patches/130-powercutback.patch')
-rw-r--r--package/ar7-atm/patches/130-powercutback.patch63
1 files changed, 33 insertions, 30 deletions
diff --git a/package/ar7-atm/patches/130-powercutback.patch b/package/ar7-atm/patches/130-powercutback.patch
index 9a7d84a76c..c6724ef2c0 100644
--- a/package/ar7-atm/patches/130-powercutback.patch
+++ b/package/ar7-atm/patches/130-powercutback.patch
@@ -1,6 +1,36 @@
---- atm.old/tn7dsl.c 2006-10-26 16:48:44.000000000 +0200
-+++ atm.dev/tn7dsl.c 2007-06-22 23:36:27.000000000 +0200
-@@ -2867,6 +2814,14 @@
+diff -urN sangam_atm-D7.03.01.00.orig/dsl_hal_advcfg.c sangam_atm-D7.03.01.00/dsl_hal_advcfg.c
+--- sangam_atm-D7.03.01.00.orig/dsl_hal_advcfg.c 2005-08-09 09:20:46.000000000 +0200
++++ sangam_atm-D7.03.01.00/dsl_hal_advcfg.c 2008-01-05 03:12:50.000000000 +0100
+@@ -36,9 +36,9 @@
+ * 05Jul05 0.00.09 CPH CQ9775: Change dslhal_advcfg_configDsTones input parameters & support for ADSL2+
+ * 24Jul05 0.00.10 CPH Fixed comments in dslhal_advcfg_configDsTones function header
+ *******************************************************************************/
+-#include <dev_host_interface.h>
+-#include <dsl_hal_register.h>
+-#include <dsl_hal_support.h>
++#include "dev_host_interface.h"
++#include "dsl_hal_register.h"
++#include "dsl_hal_support.h"
+
+ /*****************************************************************************/
+ /* ACT API functions -- To be moved into their own independent module --RamP */
+diff -urN sangam_atm-D7.03.01.00.orig/Makefile sangam_atm-D7.03.01.00/Makefile
+--- sangam_atm-D7.03.01.00.orig/Makefile 2008-01-05 03:11:23.000000000 +0100
++++ sangam_atm-D7.03.01.00/Makefile 2008-01-05 03:12:50.000000000 +0100
+@@ -4,6 +4,7 @@
+
+ CONFIG_SANGAM_ATM=m
+ #EXTRA_CFLAGS += -DEL -I. -DPOST_SILICON -DCOMMON_NSP -DCONFIG_LED_MODULE -DDEREGISTER_LED -DNO_ACT
+-EXTRA_CFLAGS += -DEL -I$(PWD) -DPOST_SILICON -DCOMMON_NSP -DNO_ACT -D__NO__VOICE_PATCH__ -DEL
++#EXTRA_CFLAGS += -DEL -I$(PWD) -DPOST_SILICON -DCOMMON_NSP -DNO_ACT -D__NO__VOICE_PATCH__ -DEL
++EXTRA_CFLAGS += -DEL -I$(PWD) -DPOST_SILICON -DCOMMON_NSP -D__NO__VOICE_PATCH__ -DEL
+ obj-$(CONFIG_SANGAM_ATM) := tiatm.o
+-tiatm-objs += cpsar.o aal5sar.o tn7sar.o tn7atm.o tn7dsl.o dsl_hal_api.o dsl_hal_support.o
++tiatm-objs += cpsar.o aal5sar.o tn7sar.o tn7atm.o tn7dsl.o dsl_hal_api.o dsl_hal_support.o dsl_hal_advcfg.o
+diff -urN sangam_atm-D7.03.01.00.orig/tn7dsl.c sangam_atm-D7.03.01.00/tn7dsl.c
+--- sangam_atm-D7.03.01.00.orig/tn7dsl.c 2008-01-05 03:11:23.000000000 +0100
++++ sangam_atm-D7.03.01.00/tn7dsl.c 2008-01-05 03:12:50.000000000 +0100
+@@ -2869,6 +2869,14 @@
dslhal_api_setRateAdaptFlag(pIhw, os_atoi(ptr));
}
@@ -15,30 +45,3 @@
// trellis
ptr = NULL;
ptr = prom_getenv("trellis");
---- atm.old/Makefile 2007-06-24 18:46:25.000000000 +0200
-+++ atm.dev/Makefile 2007-06-24 18:46:31.000000000 +0200
-@@ -4,6 +4,7 @@
-
- CONFIG_SANGAM_ATM=m
- #EXTRA_CFLAGS += -DEL -I. -DPOST_SILICON -DCOMMON_NSP -DCONFIG_LED_MODULE -DDEREGISTER_LED -DNO_ACT
--EXTRA_CFLAGS += -DEL -I$(PWD) -DPOST_SILICON -DCOMMON_NSP -DNO_ACT -D__NO__VOICE_PATCH__ -DEL
-+#EXTRA_CFLAGS += -DEL -I$(PWD) -DPOST_SILICON -DCOMMON_NSP -DNO_ACT -D__NO__VOICE_PATCH__ -DEL
-+EXTRA_CFLAGS += -DEL -I$(PWD) -DPOST_SILICON -DCOMMON_NSP -D__NO__VOICE_PATCH__ -DEL
- obj-$(CONFIG_SANGAM_ATM) := tiatm.o
--tiatm-objs += cpsar.o aal5sar.o tn7sar.o tn7atm.o tn7dsl.o dsl_hal_api.o dsl_hal_support.o
-+tiatm-objs += cpsar.o aal5sar.o tn7sar.o tn7atm.o tn7dsl.o dsl_hal_api.o dsl_hal_support.o dsl_hal_advcfg.o
---- atm.old/dsl_hal_advcfg.c 2007-06-24 19:22:42.000000000 +0200
-+++ atm.dev/dsl_hal_advcfg.c 2007-06-24 19:21:42.000000000 +0200
-@@ -36,9 +36,9 @@
- * 05Jul05 0.00.09 CPH CQ9775: Change dslhal_advcfg_configDsTones input parameters & support for ADSL2+
- * 24Jul05 0.00.10 CPH Fixed comments in dslhal_advcfg_configDsTones function header
- *******************************************************************************/
--#include <dev_host_interface.h>
--#include <dsl_hal_register.h>
--#include <dsl_hal_support.h>
-+#include "dev_host_interface.h"
-+#include "dsl_hal_register.h"
-+#include "dsl_hal_support.h"
-
- /*****************************************************************************/
- /* ACT API functions -- To be moved into their own independent module --RamP */