ath5k: fix tx queue limit for the cabq, fixes warning described in #9465
[openwrt.git] / package / ar7-atm / patches-D7.04.03.00 / 130-powercutback.patch
1 --- a/dsl_hal_advcfg.c
2 +++ b/dsl_hal_advcfg.c
3 @@ -36,9 +36,9 @@
4 * 05Jul05 0.00.09 CPH CQ9775: Change dslhal_advcfg_configDsTones input parameters & support for ADSL2+
5 * 24Jul05 0.00.10 CPH Fixed comments in dslhal_advcfg_configDsTones function header
6 *******************************************************************************/
7 -#include <dev_host_interface.h>
8 -#include <dsl_hal_register.h>
9 -#include <dsl_hal_support.h>
10 +#include "dev_host_interface.h"
11 +#include "dsl_hal_register.h"
12 +#include "dsl_hal_support.h"
13
14 /*****************************************************************************/
15 /* ACT API functions -- To be moved into their own independent module --RamP */
16 --- a/Makefile
17 +++ b/Makefile
18 @@ -4,6 +4,7 @@
19
20 CONFIG_SANGAM_ATM=m
21 #EXTRA_CFLAGS += -DEL -I. -DPOST_SILICON -DCOMMON_NSP -DCONFIG_LED_MODULE -DDEREGISTER_LED -DNO_ACT
22 -EXTRA_CFLAGS += -DEL -I$(PWD) -DPOST_SILICON -DCOMMON_NSP -DNO_ACT -D__NO__VOICE_PATCH__ -DEL
23 +#EXTRA_CFLAGS += -DEL -I$(PWD) -DPOST_SILICON -DCOMMON_NSP -DNO_ACT -D__NO__VOICE_PATCH__ -DEL
24 +EXTRA_CFLAGS += -DEL -I$(PWD) -DPOST_SILICON -DCOMMON_NSP -D__NO__VOICE_PATCH__ -DEL
25 obj-$(CONFIG_SANGAM_ATM) := tiatm.o
26 -tiatm-objs += cpsar.o aal5sar.o tn7sar.o tn7atm.o tn7dsl.o dsl_hal_api.o dsl_hal_support.o
27 +tiatm-objs += cpsar.o aal5sar.o tn7sar.o tn7atm.o tn7dsl.o dsl_hal_api.o dsl_hal_support.o dsl_hal_advcfg.o
28 --- a/tn7dsl.c
29 +++ b/tn7dsl.c
30 @@ -2869,6 +2869,14 @@ static int tn7dsl_set_dsl(void)
31 dslhal_api_setRateAdaptFlag(pIhw, os_atoi(ptr));
32 }
33
34 + // set powercutback
35 + ptr = NULL;
36 + ptr = prom_getenv("powercutback");
37 + if(ptr)
38 + {
39 + dslhal_advcfg_onOffPcb(pIhw, os_atoi(ptr));
40 + }
41 +
42 // trellis
43 ptr = NULL;
44 ptr = prom_getenv("trellis");
This page took 0.063065 seconds and 5 git commands to generate.