From 1e041ba72a3f0e7ba560526b92062cfd58532166 Mon Sep 17 00:00:00 2001 From: Gabor Juhos Date: Sat, 5 May 2012 17:32:29 +0000 Subject: [PATCH] package/ar7-atm: refresh patches SVN-Revision: 31612 --- .../patches-D7.04.03.00/100-compile_fix.patch | 2 +- .../170-bus_id_removal.patch | 11 +- .../180-git_headers_include.patch | 15 +-- .../patches-D7.04.03.00/200-2.6.37_args.patch | 16 +-- .../patches-D7.05.01.00/100-compile_fix.patch | 116 ++++++++---------- .../110-interrupt_fix.patch | 14 +-- .../120-no_dumb_inline.patch | 8 +- .../130-powercutback.patch | 20 ++- .../patches-D7.05.01.00/140-debug_mode.patch | 8 +- .../150-tasklet_mode.patch | 6 +- .../160-module-params.patch | 52 ++++---- .../170-bus_id_removal.patch | 10 +- .../180-git_headers_include.patch | 18 +-- .../190-2.6.32_proc_fixes.patch | 14 +-- .../patches-D7.05.01.00/200-2.6.37_args.patch | 16 +-- 15 files changed, 132 insertions(+), 194 deletions(-) diff --git a/package/ar7-atm/patches-D7.04.03.00/100-compile_fix.patch b/package/ar7-atm/patches-D7.04.03.00/100-compile_fix.patch index 83271ca484..df5fe53967 100644 --- a/package/ar7-atm/patches-D7.04.03.00/100-compile_fix.patch +++ b/package/ar7-atm/patches-D7.04.03.00/100-compile_fix.patch @@ -400,7 +400,7 @@ /* * AV: Clean-up. Moved all the definitions to the data structure. -@@ -2479,7 +2425,5 @@ static int tn7atm_proc_qos_write(struct +@@ -2479,7 +2425,5 @@ static int tn7atm_proc_qos_write(struct return count; } diff --git a/package/ar7-atm/patches-D7.04.03.00/170-bus_id_removal.patch b/package/ar7-atm/patches-D7.04.03.00/170-bus_id_removal.patch index 64c92b574c..9f1f0fdae4 100644 --- a/package/ar7-atm/patches-D7.04.03.00/170-bus_id_removal.patch +++ b/package/ar7-atm/patches-D7.04.03.00/170-bus_id_removal.patch @@ -1,5 +1,5 @@ ---- a/tn7dsl.c 2009-08-02 14:36:17.000000000 +0200 -+++ b/tn7dsl.c 2009-08-02 14:35:49.000000000 +0200 +--- a/tn7dsl.c ++++ b/tn7dsl.c @@ -109,6 +109,7 @@ #include #include @@ -8,7 +8,7 @@ #include #include -@@ -446,7 +447,9 @@ +@@ -446,7 +447,9 @@ static void avsar_release(struct device } static struct device avsar = { @@ -18,10 +18,7 @@ .release = avsar_release, }; -diff -urN sangam_atm-D7.04.03.00/tn7dsl.c sangam_atm-D7.04.03.00.new/tn7dsl.c ---- sangam_atm-D7.04.03.00/tn7dsl.c 2009-08-08 21:41:11.000000000 +0200 -+++ sangam_atm-D7.04.03.00.new/tn7dsl.c 2009-08-08 21:41:40.000000000 +0200 -@@ -458,6 +458,9 @@ +@@ -455,6 +458,9 @@ int shim_osLoadFWImage(unsigned char *pt const struct firmware *fw_entry; size_t size; diff --git a/package/ar7-atm/patches-D7.04.03.00/180-git_headers_include.patch b/package/ar7-atm/patches-D7.04.03.00/180-git_headers_include.patch index a6f7107a7f..6bd8f48760 100644 --- a/package/ar7-atm/patches-D7.04.03.00/180-git_headers_include.patch +++ b/package/ar7-atm/patches-D7.04.03.00/180-git_headers_include.patch @@ -1,6 +1,5 @@ -diff -urN sangam_atm-D7.04.03.00/tn7atm.c sangam_atm-D7.04.03.00.new/tn7atm.c ---- sangam_atm-D7.04.03.00/tn7atm.c 2009-08-11 19:15:07.000000000 +0200 -+++ sangam_atm-D7.04.03.00.new/tn7atm.c 2009-08-11 19:16:41.000000000 +0200 +--- a/tn7atm.c ++++ b/tn7atm.c @@ -71,10 +71,16 @@ #include #include @@ -18,9 +17,8 @@ diff -urN sangam_atm-D7.04.03.00/tn7atm.c sangam_atm-D7.04.03.00.new/tn7atm.c #include "dsl_hal_api.h" #include "tn7atm.h" -diff -urN sangam_atm-D7.04.03.00/tn7dsl.c sangam_atm-D7.04.03.00.new/tn7dsl.c ---- sangam_atm-D7.04.03.00/tn7dsl.c 2009-08-11 19:15:07.000000000 +0200 -+++ sangam_atm-D7.04.03.00.new/tn7dsl.c 2009-08-11 19:17:20.000000000 +0200 +--- a/tn7dsl.c ++++ b/tn7dsl.c @@ -112,8 +112,13 @@ #include @@ -35,9 +33,8 @@ diff -urN sangam_atm-D7.04.03.00/tn7dsl.c sangam_atm-D7.04.03.00.new/tn7dsl.c /* Modules specific header files */ #include "tn7atm.h" -diff -urN sangam_atm-D7.04.03.00/tn7sar.c sangam_atm-D7.04.03.00.new/tn7sar.c ---- sangam_atm-D7.04.03.00/tn7sar.c 2009-08-11 19:15:07.000000000 +0200 -+++ sangam_atm-D7.04.03.00.new/tn7sar.c 2009-08-11 19:18:04.000000000 +0200 +--- a/tn7sar.c ++++ b/tn7sar.c @@ -52,10 +52,16 @@ #include #include diff --git a/package/ar7-atm/patches-D7.04.03.00/200-2.6.37_args.patch b/package/ar7-atm/patches-D7.04.03.00/200-2.6.37_args.patch index 04422156a9..59c1d58d15 100644 --- a/package/ar7-atm/patches-D7.04.03.00/200-2.6.37_args.patch +++ b/package/ar7-atm/patches-D7.04.03.00/200-2.6.37_args.patch @@ -1,8 +1,6 @@ -Index: sangam_atm-D7.04.03.00/tn7atm.c -=================================================================== ---- sangam_atm-D7.04.03.00.orig/tn7atm.c 2011-02-18 13:36:12.000000000 +0100 -+++ sangam_atm-D7.04.03.00/tn7atm.c 2011-02-18 13:36:21.268956988 +0100 -@@ -1867,7 +1867,11 @@ +--- a/tn7atm.c ++++ b/tn7atm.c +@@ -1867,7 +1867,11 @@ static int __init tn7atm_register (Tn7At dgprintf (4, "device %s being registered\n", priv->name); @@ -14,11 +12,9 @@ Index: sangam_atm-D7.04.03.00/tn7atm.c if (mydev == NULL) { -Index: sangam_atm-D7.04.03.00/tn7dsl.c -=================================================================== ---- sangam_atm-D7.04.03.00.orig/tn7dsl.c 2011-02-18 13:36:12.000000000 +0100 -+++ sangam_atm-D7.04.03.00/tn7dsl.c 2011-02-18 13:37:41.678957013 +0100 -@@ -466,14 +466,17 @@ +--- a/tn7dsl.c ++++ b/tn7dsl.c +@@ -466,14 +466,17 @@ int shim_osLoadFWImage(unsigned char *pt { const struct firmware *fw_entry; size_t size; diff --git a/package/ar7-atm/patches-D7.05.01.00/100-compile_fix.patch b/package/ar7-atm/patches-D7.05.01.00/100-compile_fix.patch index ef3e4c786b..7dee220256 100644 --- a/package/ar7-atm/patches-D7.05.01.00/100-compile_fix.patch +++ b/package/ar7-atm/patches-D7.05.01.00/100-compile_fix.patch @@ -1,8 +1,6 @@ -Index: sangam_atm-D7.05.01.00/cppi_cpaal5.c -=================================================================== ---- sangam_atm-D7.05.01.00.orig/cppi_cpaal5.c 2007-09-25 15:55:14.000000000 +0200 -+++ sangam_atm-D7.05.01.00/cppi_cpaal5.c 2010-03-07 19:03:28.000000000 +0100 -@@ -360,7 +360,7 @@ +--- a/cppi_cpaal5.c ++++ b/cppi_cpaal5.c +@@ -360,7 +360,7 @@ static int halRxReturn(HAL_RECEIVEINFO * { /* malloc failed, add this RCB to Needs Buffer List */ TempRcb->FragCount = 1; /*MJH+030417*/ @@ -11,10 +9,8 @@ Index: sangam_atm-D7.05.01.00/cppi_cpaal5.c if(HalDev->NeedsCount < MAX_NEEDS) /* +MJH 030410 */ { /* +MJH 030410 */ -Index: sangam_atm-D7.05.01.00/dsl_hal_api.c -=================================================================== ---- sangam_atm-D7.05.01.00.orig/dsl_hal_api.c 2007-09-27 10:35:44.000000000 +0200 -+++ sangam_atm-D7.05.01.00/dsl_hal_api.c 2010-03-07 19:03:28.000000000 +0100 +--- a/dsl_hal_api.c ++++ b/dsl_hal_api.c @@ -273,15 +273,15 @@ * 09/15/07 CPH CQ11466 Added EFM support * 09/27/07 EYin CQ11929: Added NFEC/INP/Lp/Rp reporting for only ADSL2/2+ mode. @@ -36,10 +32,8 @@ Index: sangam_atm-D7.05.01.00/dsl_hal_api.c // UR8_MERGE_START CQ11054 Jack Zhang static unsigned int highprecision_selected = 0; //By default we use low precision for backward compt. -Index: sangam_atm-D7.05.01.00/dsl_hal_support.c -=================================================================== ---- sangam_atm-D7.05.01.00.orig/dsl_hal_support.c 2007-09-25 11:19:50.000000000 +0200 -+++ sangam_atm-D7.05.01.00/dsl_hal_support.c 2010-03-07 19:03:28.000000000 +0100 +--- a/dsl_hal_support.c ++++ b/dsl_hal_support.c @@ -142,9 +142,9 @@ * UR8_MERGE_START_END CQ11922 Tim * 04Sep07 0.14.00 Tim CQ11922: Added support for new scratchram for INP NDR tables @@ -53,10 +47,8 @@ Index: sangam_atm-D7.05.01.00/dsl_hal_support.c #define NUM_READ_RETRIES 3 static unsigned int dslhal_support_adsl2ByteSwap32(unsigned int in32Bits); -Index: sangam_atm-D7.05.01.00/dsl_hal_support.h -=================================================================== ---- sangam_atm-D7.05.01.00.orig/dsl_hal_support.h 2005-11-11 09:07:04.000000000 +0100 -+++ sangam_atm-D7.05.01.00/dsl_hal_support.h 2010-03-07 19:03:28.000000000 +0100 +--- a/dsl_hal_support.h ++++ b/dsl_hal_support.h @@ -49,7 +49,7 @@ * 04Nov05 0.11.00 CPH Fixed T1413 mode got Zero DS/US rate when DSL_BIT_TMODE is set. *******************************************************************************/ @@ -66,10 +58,8 @@ Index: sangam_atm-D7.05.01.00/dsl_hal_support.h #define virtual2Physical(a) (((int)a)&~0xe0000000) /* External Function Prototype Declarations */ -Index: sangam_atm-D7.05.01.00/Makefile -=================================================================== ---- sangam_atm-D7.05.01.00.orig/Makefile 2005-06-01 04:46:28.000000000 +0200 -+++ sangam_atm-D7.05.01.00/Makefile 2010-03-07 19:03:45.000000000 +0100 +--- a/Makefile ++++ b/Makefile @@ -1,18 +1,9 @@ -# File: drivers/atm/ti_evm3/Makefile # @@ -95,10 +85,8 @@ Index: sangam_atm-D7.05.01.00/Makefile +EXTRA_CFLAGS += -DEL -I$(PWD) -DPOST_SILICON -DCOMMON_NSP -DNO_ACT -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 -Index: sangam_atm-D7.05.01.00/tn7atm.c -=================================================================== ---- sangam_atm-D7.05.01.00.orig/tn7atm.c 2008-08-28 17:15:22.000000000 +0200 -+++ sangam_atm-D7.05.01.00/tn7atm.c 2010-03-07 19:03:48.000000000 +0100 +--- a/tn7atm.c ++++ b/tn7atm.c @@ -66,7 +66,6 @@ * 09/18/07 CPH CQ11466 Added EFM Support *********************************************************************************************/ @@ -132,7 +120,7 @@ Index: sangam_atm-D7.05.01.00/tn7atm.c MODULE_DESCRIPTION ("Tnetd73xx ATM Device Driver"); MODULE_AUTHOR ("Zhicheng Tang"); #endif -@@ -108,9 +111,9 @@ +@@ -108,9 +111,9 @@ MODULE_AUTHOR ("Zhicheng Tang"); /*end of externs */ @@ -145,7 +133,7 @@ Index: sangam_atm-D7.05.01.00/tn7atm.c #define tn7atm_kfree_skb(x) dev_kfree_skb(x) -@@ -135,7 +138,7 @@ +@@ -135,7 +138,7 @@ static int EnableQoS = FALSE; /* prototypes */ static int tn7atm_set_can_support_adsl2 (int can); @@ -154,7 +142,7 @@ Index: sangam_atm-D7.05.01.00/tn7atm.c void tn7atm_close (struct atm_vcc *vcc); -@@ -298,13 +301,12 @@ +@@ -298,13 +301,12 @@ static const struct atmdev_ops tn7atm_op getsockopt: NULL, setsockopt: NULL, send: tn7atm_send, @@ -169,7 +157,7 @@ Index: sangam_atm-D7.05.01.00/tn7atm.c static struct proc_dir_entry *root_proc_dir_entry = NULL; #define DRV_PROC_MODE 0644 static int proc_root_already_exists = TRUE; -@@ -626,56 +628,6 @@ +@@ -626,56 +628,6 @@ static int turbodsl_check_priority_type( /*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * @@ -226,7 +214,7 @@ Index: sangam_atm-D7.05.01.00/tn7atm.c * Function: int tn7atm_sar_irq(void) * * Description: tnetd73xx SAR interrupt. -@@ -766,7 +718,7 @@ +@@ -766,7 +718,7 @@ static int __init tn7atm_irq_request (st priv->sar_irq = LNXINTNUM (ATM_SAR_INT); /* Interrupt line # */ @@ -235,7 +223,7 @@ Index: sangam_atm-D7.05.01.00/tn7atm.c printk ("Could not register tn7atm_sar_irq\n"); /* -@@ -777,8 +729,8 @@ +@@ -777,8 +729,8 @@ static int __init tn7atm_irq_request (st { def_sar_inter_pace = os_atoi (ptr); } @@ -246,7 +234,7 @@ Index: sangam_atm-D7.05.01.00/tn7atm.c #ifdef AR7_EFM -@@ -790,7 +742,7 @@ +@@ -790,7 +742,7 @@ static int __init tn7atm_irq_request (st * Reigster Receive interrupt A */ priv->dsl_irq = LNXINTNUM (ATM_DSL_INT); /* Interrupt line # */ @@ -255,7 +243,7 @@ Index: sangam_atm-D7.05.01.00/tn7atm.c printk ("Could not register tn7atm_dsl_irq\n"); /***** VRB Tasklet Mode ****/ -@@ -958,11 +910,15 @@ +@@ -958,11 +910,15 @@ static int __init tn7atm_get_ESI (struct #define ATM_VBR_RT 5 #endif @@ -272,7 +260,7 @@ Index: sangam_atm-D7.05.01.00/tn7atm.c dgprintf(1, "tn7atm_open()\n"); -@@ -974,24 +930,18 @@ +@@ -974,24 +930,18 @@ int tn7atm_open (struct atm_vcc *vcc, sh return -1; } @@ -303,7 +291,7 @@ Index: sangam_atm-D7.05.01.00/tn7atm.c { /* always use (max_dma_chan+1) for clear eoc */ tn7atm_activate_vc_parm.chan = EOC_DMA_CHAN; -@@ -999,7 +949,7 @@ +@@ -999,7 +949,7 @@ int tn7atm_open (struct atm_vcc *vcc, sh /* check to see whether clear eoc is opened or not */ if (tn7atm_activate_vc_parm.priv->lut[tn7atm_activate_vc_parm.chan].inuse) { @@ -312,7 +300,7 @@ Index: sangam_atm-D7.05.01.00/tn7atm.c printk("tn7atm_open: Clear EOC channel (dmachan=%d) already in use.\n", tn7atm_activate_vc_parm.chan); return -EBUSY; } -@@ -1008,7 +958,7 @@ +@@ -1008,7 +958,7 @@ int tn7atm_open (struct atm_vcc *vcc, sh if (rc) { printk("tn7atm_open: failed to setup clear_eoc\n"); @@ -321,7 +309,7 @@ Index: sangam_atm-D7.05.01.00/tn7atm.c return -EBUSY; } tn7atm_set_lut(tn7atm_activate_vc_parm.priv,vcc, tn7atm_activate_vc_parm.chan); -@@ -1017,17 +967,17 @@ +@@ -1017,17 +967,17 @@ int tn7atm_open (struct atm_vcc *vcc, sh } else /* PVC channel setup */ { @@ -342,7 +330,7 @@ Index: sangam_atm-D7.05.01.00/tn7atm.c printk("PVC already opened. dmachan = %d\n", rc); return -EBUSY; } -@@ -1059,6 +1009,7 @@ +@@ -1059,6 +1009,7 @@ int tn7atm_open (struct atm_vcc *vcc, sh tn7atm_activate_vc_parm.priority = 2; break; @@ -350,7 +338,7 @@ Index: sangam_atm-D7.05.01.00/tn7atm.c case ATM_VBR: /* Variable Bit Rate-Non RealTime*/ tn7atm_activate_vc_parm.qos = 1; tn7atm_activate_vc_parm.priority = 1; -@@ -1080,6 +1031,7 @@ +@@ -1080,6 +1031,7 @@ int tn7atm_open (struct atm_vcc *vcc, sh tn7atm_activate_vc_parm.mbs = vcc->qos.txtp.max_pcr; tn7atm_activate_vc_parm.cdvt = vcc->qos.txtp.max_cdv; break; @@ -358,7 +346,7 @@ Index: sangam_atm-D7.05.01.00/tn7atm.c default: tn7atm_activate_vc_parm.qos = 2; -@@ -1107,7 +1059,7 @@ +@@ -1107,7 +1059,7 @@ int tn7atm_open (struct atm_vcc *vcc, sh if (rc < 0) { printk("failed to activate hw channel\n"); @@ -367,7 +355,7 @@ Index: sangam_atm-D7.05.01.00/tn7atm.c tn7atm_lut_clear(vcc, tn7atm_activate_vc_parm.chan); //spin_unlock_irqrestore(&chan_init_lock, flags); return -EBUSY; -@@ -1197,7 +1149,7 @@ +@@ -1197,7 +1149,7 @@ void tn7atm_close (struct atm_vcc *vcc) tn7atm_lut_clear (vcc, dmachan); //spin_unlock_irqrestore (&closeLock, closeFlag); @@ -376,7 +364,7 @@ Index: sangam_atm-D7.05.01.00/tn7atm.c dgprintf (1, "Leave tn7atm_close\n"); } -@@ -1630,8 +1582,7 @@ +@@ -1630,8 +1582,7 @@ int tn7atm_receive (void *os_dev, int ch * firewall is on */ dgprintf (3, "pushing the skb...\n"); @@ -386,7 +374,7 @@ Index: sangam_atm-D7.05.01.00/tn7atm.c xdump ((unsigned char *) skb->data, skb->len, 5); -@@ -1854,8 +1805,7 @@ +@@ -1854,8 +1805,7 @@ printk("!!!free atm irq: tn7atm_exit\n") kfree (dev->dev_data); @@ -396,7 +384,7 @@ Index: sangam_atm-D7.05.01.00/tn7atm.c /* * remove proc entries -@@ -2086,9 +2036,6 @@ +@@ -2086,9 +2036,6 @@ static int __init tn7atm_detect (void) * Set up proc entry for atm stats */ @@ -406,7 +394,7 @@ Index: sangam_atm-D7.05.01.00/tn7atm.c printk ("Creating new root folder %s in the proc for the driver stats \n", drv_proc_root_folder); root_proc_dir_entry = proc_mkdir (drv_proc_root_folder, NULL); -@@ -2098,7 +2045,6 @@ +@@ -2098,7 +2045,6 @@ static int __init tn7atm_detect (void) return -ENOMEM; } proc_root_already_exists = FALSE; @@ -414,7 +402,7 @@ Index: sangam_atm-D7.05.01.00/tn7atm.c /* -@@ -2731,7 +2677,5 @@ +@@ -2731,7 +2677,5 @@ int tn7atm_proc_turbodsl_write(struct fi return count; } @@ -422,10 +410,8 @@ Index: sangam_atm-D7.05.01.00/tn7atm.c module_init (tn7atm_detect); module_exit (tn7atm_exit); -#endif /* MODULE */ -Index: sangam_atm-D7.05.01.00/tn7atm.h -=================================================================== ---- sangam_atm-D7.05.01.00.orig/tn7atm.h 2007-09-25 15:49:34.000000000 +0200 -+++ sangam_atm-D7.05.01.00/tn7atm.h 2010-03-07 19:03:28.000000000 +0100 +--- a/tn7atm.h ++++ b/tn7atm.h @@ -20,7 +20,8 @@ //#include "mips_support.h" #include @@ -436,10 +422,8 @@ Index: sangam_atm-D7.05.01.00/tn7atm.h #ifdef CONFIG_MODVERSIONS #include -Index: sangam_atm-D7.05.01.00/tn7dsl.c -=================================================================== ---- sangam_atm-D7.05.01.00.orig/tn7dsl.c 2009-07-08 13:02:06.000000000 +0200 -+++ sangam_atm-D7.05.01.00/tn7dsl.c 2010-03-07 19:04:27.000000000 +0100 +--- a/tn7dsl.c ++++ b/tn7dsl.c @@ -102,7 +102,6 @@ * UR8_MERGE_END CQ11813 * 09/18/07 CPH CQ11466: Added EFM support. @@ -470,7 +454,7 @@ Index: sangam_atm-D7.05.01.00/tn7dsl.c /* Modules specific header files */ #ifdef AR7_EFM #include "tn7efm.h" -@@ -185,7 +188,7 @@ +@@ -185,7 +188,7 @@ led_reg_t ledreg[2]; static struct led_funcs ledreg[2]; #endif @@ -479,7 +463,7 @@ Index: sangam_atm-D7.05.01.00/tn7dsl.c #define MAX_STR_SIZE 256 #define DSL_MOD_SIZE 256 -@@ -316,7 +319,7 @@ +@@ -316,7 +319,7 @@ static PITIDSLHW_T pIhw; static volatile int bshutdown; static char info[MAX_STR_SIZE]; /* Used for DSL Polling enable */ @@ -488,7 +472,7 @@ Index: sangam_atm-D7.05.01.00/tn7dsl.c //kthread_t overlay_thread; /* end of module wide declars */ -@@ -369,6 +372,14 @@ +@@ -369,6 +372,14 @@ int os_atoih (const char *pstr) return val; } @@ -503,7 +487,7 @@ Index: sangam_atm-D7.05.01.00/tn7dsl.c int os_atoi(const char *pStr) { int MulNeg = (*pStr == '-' ? -1 : 1); -@@ -405,39 +416,6 @@ +@@ -405,39 +416,6 @@ void dprintf (int uDbgLevel, char *szFmt #endif } @@ -543,7 +527,7 @@ Index: sangam_atm-D7.05.01.00/tn7dsl.c // * UR8_MERGE_START CQ10640 Jack Zhang int tn7dsl_dump_dsp_memory(char *input_str) //cph99 { -@@ -487,144 +465,78 @@ +@@ -487,144 +465,78 @@ unsigned int shim_osGetCpuFrequency(void return CpuFrequency; } @@ -752,7 +736,7 @@ Index: sangam_atm-D7.05.01.00/tn7dsl.c int shim_osLoadDebugFWImage(unsigned char *ptr) { -@@ -3287,6 +3199,7 @@ +@@ -3287,6 +3199,7 @@ int tn7dsl_init(void *priv) int high_precision_selected = 0; // UR8_MERGE_END CQ11054* @@ -760,7 +744,7 @@ Index: sangam_atm-D7.05.01.00/tn7dsl.c /* * start dsl */ -@@ -3665,7 +3578,7 @@ +@@ -3665,7 +3578,7 @@ static int dslmod_sysctl(ctl_table *ctl, */ if(write) { @@ -769,7 +753,7 @@ Index: sangam_atm-D7.05.01.00/tn7dsl.c switch (ctl->ctl_name) { -@@ -3751,14 +3664,14 @@ +@@ -3751,14 +3664,14 @@ static int dslmod_sysctl(ctl_table *ctl, else { len += sprintf(info+len, mod_req); @@ -786,7 +770,7 @@ Index: sangam_atm-D7.05.01.00/tn7dsl.c , {0} }; -@@ -3781,8 +3694,7 @@ +@@ -3781,8 +3694,7 @@ void tn7dsl_dslmod_sysctl_register(void) if (initialized == 1) return; @@ -796,10 +780,8 @@ Index: sangam_atm-D7.05.01.00/tn7dsl.c /* * set the defaults -Index: sangam_atm-D7.05.01.00/tn7sar.c -=================================================================== ---- sangam_atm-D7.05.01.00.orig/tn7sar.c 2007-09-25 15:49:22.000000000 +0200 -+++ sangam_atm-D7.05.01.00/tn7sar.c 2010-03-07 19:03:44.000000000 +0100 +--- a/tn7sar.c ++++ b/tn7sar.c @@ -43,7 +43,6 @@ * 09/18/07 CPH CQ11466: Added EFM support. *******************************************************************************/ diff --git a/package/ar7-atm/patches-D7.05.01.00/110-interrupt_fix.patch b/package/ar7-atm/patches-D7.05.01.00/110-interrupt_fix.patch index 1223e7c07c..1122457691 100644 --- a/package/ar7-atm/patches-D7.05.01.00/110-interrupt_fix.patch +++ b/package/ar7-atm/patches-D7.05.01.00/110-interrupt_fix.patch @@ -1,8 +1,6 @@ -Index: sangam_atm-D7.05.01.00/tn7atm.c -=================================================================== ---- sangam_atm-D7.05.01.00.orig/tn7atm.c 2010-03-07 18:09:13.000000000 +0100 -+++ sangam_atm-D7.05.01.00/tn7atm.c 2010-03-07 18:09:21.000000000 +0100 -@@ -633,7 +633,7 @@ +--- a/tn7atm.c ++++ b/tn7atm.c +@@ -633,7 +633,7 @@ static int turbodsl_check_priority_type( * Description: tnetd73xx SAR interrupt. * *~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/ @@ -11,7 +9,7 @@ Index: sangam_atm-D7.05.01.00/tn7atm.c { struct atm_dev *atmdev; Tn7AtmPrivate *priv; -@@ -660,6 +660,7 @@ +@@ -660,6 +660,7 @@ static void tn7atm_sar_irq (int irq, voi #ifdef TIATM_INST_SUPP psp_trace_par (ATM_DRV_SAR_ISR_EXIT, retval); #endif @@ -19,7 +17,7 @@ Index: sangam_atm-D7.05.01.00/tn7atm.c } /*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -@@ -669,7 +670,7 @@ +@@ -669,7 +670,7 @@ static void tn7atm_sar_irq (int irq, voi * Description: tnetd73xx DSL interrupt. * *~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/ @@ -28,7 +26,7 @@ Index: sangam_atm-D7.05.01.00/tn7atm.c { struct atm_dev *atmdev; Tn7AtmPrivate *priv; -@@ -691,6 +692,8 @@ +@@ -691,6 +692,8 @@ static void tn7atm_dsl_irq (int irq, voi #ifdef TIATM_INST_SUPP psp_trace_par (ATM_DRV_DSL_ISR_EXIT, retval); #endif diff --git a/package/ar7-atm/patches-D7.05.01.00/120-no_dumb_inline.patch b/package/ar7-atm/patches-D7.05.01.00/120-no_dumb_inline.patch index ab9d2b307a..e9d99dff42 100644 --- a/package/ar7-atm/patches-D7.05.01.00/120-no_dumb_inline.patch +++ b/package/ar7-atm/patches-D7.05.01.00/120-no_dumb_inline.patch @@ -1,8 +1,6 @@ -Index: sangam_atm-D7.05.01.00/tn7api.h -=================================================================== ---- sangam_atm-D7.05.01.00.orig/tn7api.h 2007-09-25 15:49:10.000000000 +0200 -+++ sangam_atm-D7.05.01.00/tn7api.h 2010-03-07 18:09:52.000000000 +0100 -@@ -118,7 +118,7 @@ +--- a/tn7api.h ++++ b/tn7api.h +@@ -118,7 +118,7 @@ int tn7dsl_proc_dbgmsg_write(struct file int tn7dsl_proc_dbgmsg_read(char* buf, char **start, off_t offset, int count,int *eof, void *data); #endif //UR8_MERGE_END CQ11813 diff --git a/package/ar7-atm/patches-D7.05.01.00/130-powercutback.patch b/package/ar7-atm/patches-D7.05.01.00/130-powercutback.patch index 29a02e55c4..415486482e 100644 --- a/package/ar7-atm/patches-D7.05.01.00/130-powercutback.patch +++ b/package/ar7-atm/patches-D7.05.01.00/130-powercutback.patch @@ -1,7 +1,5 @@ -Index: sangam_atm-D7.05.01.00/dsl_hal_advcfg.c -=================================================================== ---- sangam_atm-D7.05.01.00.orig/dsl_hal_advcfg.c 2005-08-09 08:20:46.000000000 +0200 -+++ sangam_atm-D7.05.01.00/dsl_hal_advcfg.c 2010-03-07 18:09:59.000000000 +0100 +--- a/dsl_hal_advcfg.c ++++ b/dsl_hal_advcfg.c @@ -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 @@ -15,10 +13,8 @@ Index: sangam_atm-D7.05.01.00/dsl_hal_advcfg.c /*****************************************************************************/ /* ACT API functions -- To be moved into their own independent module --RamP */ -Index: sangam_atm-D7.05.01.00/Makefile -=================================================================== ---- sangam_atm-D7.05.01.00.orig/Makefile 2010-03-07 18:01:20.000000000 +0100 -+++ sangam_atm-D7.05.01.00/Makefile 2010-03-07 18:09:59.000000000 +0100 +--- a/Makefile ++++ b/Makefile @@ -4,6 +4,7 @@ CONFIG_SANGAM_ATM=m @@ -29,11 +25,9 @@ Index: sangam_atm-D7.05.01.00/Makefile 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 -Index: sangam_atm-D7.05.01.00/tn7dsl.c -=================================================================== ---- sangam_atm-D7.05.01.00.orig/tn7dsl.c 2010-03-07 18:07:28.000000000 +0100 -+++ sangam_atm-D7.05.01.00/tn7dsl.c 2010-03-07 18:09:59.000000000 +0100 -@@ -3053,6 +3053,14 @@ +--- a/tn7dsl.c ++++ b/tn7dsl.c +@@ -3053,6 +3053,14 @@ static int tn7dsl_set_dsl(void) dslhal_api_setRateAdaptFlag(pIhw, os_atoi(ptr)); } diff --git a/package/ar7-atm/patches-D7.05.01.00/140-debug_mode.patch b/package/ar7-atm/patches-D7.05.01.00/140-debug_mode.patch index 0649548593..3873827afc 100644 --- a/package/ar7-atm/patches-D7.05.01.00/140-debug_mode.patch +++ b/package/ar7-atm/patches-D7.05.01.00/140-debug_mode.patch @@ -1,8 +1,6 @@ -Index: sangam_atm-D7.05.01.00/tn7sar.c -=================================================================== ---- sangam_atm-D7.05.01.00.orig/tn7sar.c 2010-03-07 18:01:20.000000000 +0100 -+++ sangam_atm-D7.05.01.00/tn7sar.c 2010-03-07 18:10:03.000000000 +0100 -@@ -125,10 +125,10 @@ +--- a/tn7sar.c ++++ b/tn7sar.c +@@ -125,10 +125,10 @@ enum //09/05/07: cph, move to tn7atm.h // #define RESERVED_OAM_CHANNEL 15 diff --git a/package/ar7-atm/patches-D7.05.01.00/150-tasklet_mode.patch b/package/ar7-atm/patches-D7.05.01.00/150-tasklet_mode.patch index 582a7ca710..97b8cecdd9 100644 --- a/package/ar7-atm/patches-D7.05.01.00/150-tasklet_mode.patch +++ b/package/ar7-atm/patches-D7.05.01.00/150-tasklet_mode.patch @@ -1,7 +1,5 @@ -Index: sangam_atm-D7.05.01.00/Makefile -=================================================================== ---- sangam_atm-D7.05.01.00.orig/Makefile 2010-03-07 18:09:59.000000000 +0100 -+++ sangam_atm-D7.05.01.00/Makefile 2010-03-07 18:10:06.000000000 +0100 +--- a/Makefile ++++ b/Makefile @@ -5,6 +5,7 @@ CONFIG_SANGAM_ATM=m #EXTRA_CFLAGS += -DEL -I. -DPOST_SILICON -DCOMMON_NSP -DCONFIG_LED_MODULE -DDEREGISTER_LED -DNO_ACT diff --git a/package/ar7-atm/patches-D7.05.01.00/160-module-params.patch b/package/ar7-atm/patches-D7.05.01.00/160-module-params.patch index 40c80d9868..6e7d9de188 100644 --- a/package/ar7-atm/patches-D7.05.01.00/160-module-params.patch +++ b/package/ar7-atm/patches-D7.05.01.00/160-module-params.patch @@ -1,7 +1,5 @@ -Index: sangam_atm-D7.05.01.00/tn7atm.c -=================================================================== ---- sangam_atm-D7.05.01.00.orig/tn7atm.c 2010-03-07 18:27:11.000000000 +0100 -+++ sangam_atm-D7.05.01.00/tn7atm.c 2010-03-07 18:27:34.000000000 +0100 +--- a/tn7atm.c ++++ b/tn7atm.c @@ -95,6 +95,146 @@ MODULE_LICENSE("GPL"); MODULE_DESCRIPTION ("Tnetd73xx ATM Device Driver"); @@ -149,7 +147,7 @@ Index: sangam_atm-D7.05.01.00/tn7atm.c #endif #ifndef TRUE -@@ -728,9 +868,9 @@ +@@ -728,9 +868,9 @@ static int __init tn7atm_irq_request (st * interrupt pacing */ ptr = prom_getenv ("sar_ipacemax"); @@ -161,7 +159,7 @@ Index: sangam_atm-D7.05.01.00/tn7atm.c } /* avalanche_request_pacing (priv->sar_irq, ATM_SAR_INT_PACING_BLOCK_NUM, def_sar_inter_pace); */ -@@ -880,7 +1020,7 @@ +@@ -880,7 +1020,7 @@ static int __init tn7atm_get_ESI (struct char esi_addr[ESI_LEN] = { 0x00, 0x00, 0x11, 0x22, 0x33, 0x44 }; char *esiaddr_str = NULL; @@ -170,7 +168,7 @@ Index: sangam_atm-D7.05.01.00/tn7atm.c if (!esiaddr_str) { -@@ -2139,15 +2279,15 @@ +@@ -2139,15 +2279,15 @@ static int tn7atm_autoDetectDspBoost (vo //UR8_MERGE_END CQ10450* cp = prom_getenv ("dsp_noboost"); @@ -190,7 +188,7 @@ Index: sangam_atm-D7.05.01.00/tn7atm.c if (dspfreq == 250) { boostDsp = 1; -@@ -2396,15 +2536,17 @@ +@@ -2396,15 +2536,17 @@ static int __init tn7atm_init (struct at // Inter-Op DSL phy Control // Note the setting of _dsl_Feature_0 and _dsl_Feature_1 must before // dslhal_api_dslStartup (in tn7dsl_init()). @@ -212,7 +210,7 @@ Index: sangam_atm-D7.05.01.00/tn7atm.c _dsl_Feature_1_defined = 1; } -@@ -2412,15 +2554,17 @@ +@@ -2412,15 +2554,17 @@ static int __init tn7atm_init (struct at // DSL phy Feature Control // Note the setting of _dsl_PhyControl_0 and _dsl_PhyControl_1 must before // dslhal_api_dslStartup (in tn7dsl_init()). @@ -234,7 +232,7 @@ Index: sangam_atm-D7.05.01.00/tn7atm.c _dsl_PhyControl_1_defined = 1; } -@@ -2440,12 +2584,12 @@ +@@ -2440,12 +2584,12 @@ static int __init tn7atm_init (struct at // read config for turbo dsl ptr = prom_getenv ("TurboDSL"); @@ -249,7 +247,7 @@ Index: sangam_atm-D7.05.01.00/tn7atm.c #endif } else -@@ -2459,33 +2603,33 @@ +@@ -2459,33 +2603,33 @@ static int __init tn7atm_init (struct at priv->sarRxBuf = RX_BUFFER_NUM; ptr = NULL; ptr = prom_getenv ("SarRxBuf"); @@ -291,10 +289,8 @@ Index: sangam_atm-D7.05.01.00/tn7atm.c } #ifdef AR7_EFM -Index: sangam_atm-D7.05.01.00/tn7dsl.c -=================================================================== ---- sangam_atm-D7.05.01.00.orig/tn7dsl.c 2010-03-07 18:27:11.000000000 +0100 -+++ sangam_atm-D7.05.01.00/tn7dsl.c 2010-03-07 18:28:15.000000000 +0100 +--- a/tn7dsl.c ++++ b/tn7dsl.c @@ -148,6 +148,27 @@ #define NEW_TRAINING_VAL_T1413 128 #define NEW_TRAINING_VAL_MMODE 255 @@ -323,7 +319,7 @@ Index: sangam_atm-D7.05.01.00/tn7dsl.c int testflag1 = 0; extern int __guDbgLevel; extern sar_stat_t sarStat; -@@ -2933,24 +2954,24 @@ +@@ -2933,24 +2954,24 @@ static int tn7dsl_set_dsl(void) (unsigned char *) &oamFeature, 4); ptr = prom_getenv("DSL_FEATURE_CNTL_0"); @@ -358,7 +354,7 @@ Index: sangam_atm-D7.05.01.00/tn7dsl.c #define EOC_VENDOR_ID "4200534153000000" #define EOC_VENDOR_REVISION "FW370090708b1_55" -@@ -2959,25 +2980,25 @@ +@@ -2959,25 +2980,25 @@ static int tn7dsl_set_dsl(void) ptr = prom_getenv("eoc_vendor_id"); if(!ptr || strcmp(ptr,EOC_VENDOR_ID) != 0 || strlen(ptr) != strlen(EOC_VENDOR_ID)) { @@ -393,7 +389,7 @@ Index: sangam_atm-D7.05.01.00/tn7dsl.c } /* Do only if we are in the new Base PSP 7.4.*/ -@@ -2994,92 +3015,88 @@ +@@ -2994,92 +3015,88 @@ static int tn7dsl_set_dsl(void) we clear the modulation environment variable, as this could potentially not have the same meaning in the new mode. */ @@ -517,7 +513,7 @@ Index: sangam_atm-D7.05.01.00/tn7dsl.c tn7dsl_generic_read(2, offset); dslReg &= dslhal_support_byteSwap32(0xFFFFFF00); -@@ -3097,46 +3114,47 @@ +@@ -3097,46 +3114,47 @@ static int tn7dsl_set_dsl(void) // maximum bits per carrier ptr = NULL; ptr = prom_getenv("maximum_bits_per_carrier"); @@ -576,7 +572,7 @@ Index: sangam_atm-D7.05.01.00/tn7dsl.c for(i=0;i<8;i++) { tmp[0]=ptr[i*2]; -@@ -3161,26 +3179,26 @@ +@@ -3161,26 +3179,26 @@ static int tn7dsl_set_dsl(void) } ptr = NULL; ptr = prom_getenv("eoc_vendor_revision"); @@ -609,7 +605,7 @@ Index: sangam_atm-D7.05.01.00/tn7dsl.c } return 0; -@@ -3225,7 +3243,7 @@ +@@ -3225,7 +3243,7 @@ int tn7dsl_init(void *priv) * backward compatibility. */ cp = prom_getenv("DSL_BIT_TMODE"); @@ -618,7 +614,7 @@ Index: sangam_atm-D7.05.01.00/tn7dsl.c { printk("%s : env var DSL_BIT_TMODE is set\n", __FUNCTION__); /* -@@ -3254,9 +3272,9 @@ +@@ -3254,9 +3272,9 @@ int tn7dsl_init(void *priv) // UR8_MERGE_START CQ11054 Jack Zhang cp = prom_getenv("high_precision"); @@ -630,11 +626,9 @@ Index: sangam_atm-D7.05.01.00/tn7dsl.c } if ( high_precision_selected) { -Index: sangam_atm-D7.05.01.00/tn7sar.c -=================================================================== ---- sangam_atm-D7.05.01.00.orig/tn7sar.c 2010-03-07 18:27:11.000000000 +0100 -+++ sangam_atm-D7.05.01.00/tn7sar.c 2010-03-07 18:27:34.000000000 +0100 -@@ -76,6 +76,8 @@ +--- a/tn7sar.c ++++ b/tn7sar.c +@@ -76,6 +76,8 @@ typedef void OS_SETUP; #include "tn7atm.h" #include "tn7api.h" @@ -643,7 +637,7 @@ Index: sangam_atm-D7.05.01.00/tn7sar.c /* PDSP Firmware files */ #include "tnetd7300_sar_firm.h" -@@ -932,9 +934,9 @@ +@@ -932,9 +934,9 @@ int tn7sar_setup_oam_channel(Tn7AtmPriva pHalDev = (HAL_DEVICE *)priv->pSarHalDev; pauto_pvc = prom_getenv("autopvc_enable"); @@ -655,7 +649,7 @@ Index: sangam_atm-D7.05.01.00/tn7sar.c } memset(&chInfo, 0xff, sizeof(chInfo)); -@@ -1133,9 +1135,9 @@ +@@ -1133,9 +1135,9 @@ int tn7sar_init(struct atm_dev *dev, Tn7 /* read in oam lb timeout value */ pLbTimeout = prom_getenv("oam_lb_timeout"); diff --git a/package/ar7-atm/patches-D7.05.01.00/170-bus_id_removal.patch b/package/ar7-atm/patches-D7.05.01.00/170-bus_id_removal.patch index 9cafa5e7c8..6692f40f6a 100644 --- a/package/ar7-atm/patches-D7.05.01.00/170-bus_id_removal.patch +++ b/package/ar7-atm/patches-D7.05.01.00/170-bus_id_removal.patch @@ -1,7 +1,5 @@ -Index: sangam_atm-D7.05.01.00/tn7dsl.c -=================================================================== ---- sangam_atm-D7.05.01.00.orig/tn7dsl.c 2010-03-07 18:18:39.000000000 +0100 -+++ sangam_atm-D7.05.01.00/tn7dsl.c 2010-03-07 18:19:04.000000000 +0100 +--- a/tn7dsl.c ++++ b/tn7dsl.c @@ -117,6 +117,7 @@ #include #include @@ -10,7 +8,7 @@ Index: sangam_atm-D7.05.01.00/tn7dsl.c #include #include -@@ -492,7 +493,9 @@ +@@ -492,7 +493,9 @@ static void avsar_release(struct device } static struct device avsar = { @@ -20,7 +18,7 @@ Index: sangam_atm-D7.05.01.00/tn7dsl.c .release = avsar_release, }; -@@ -501,6 +504,9 @@ +@@ -501,6 +504,9 @@ int shim_osLoadFWImage(unsigned char *pt const struct firmware *fw_entry; size_t size; diff --git a/package/ar7-atm/patches-D7.05.01.00/180-git_headers_include.patch b/package/ar7-atm/patches-D7.05.01.00/180-git_headers_include.patch index 39f0751a4c..feb6ea8605 100644 --- a/package/ar7-atm/patches-D7.05.01.00/180-git_headers_include.patch +++ b/package/ar7-atm/patches-D7.05.01.00/180-git_headers_include.patch @@ -1,7 +1,5 @@ -Index: sangam_atm-D7.05.01.00/tn7atm.c -=================================================================== ---- sangam_atm-D7.05.01.00.orig/tn7atm.c 2010-03-07 18:16:20.000000000 +0100 -+++ sangam_atm-D7.05.01.00/tn7atm.c 2010-03-07 18:19:09.000000000 +0100 +--- a/tn7atm.c ++++ b/tn7atm.c @@ -76,10 +76,16 @@ #include #include @@ -19,10 +17,8 @@ Index: sangam_atm-D7.05.01.00/tn7atm.c #include "dsl_hal_api.h" #ifdef AR7_EFM -Index: sangam_atm-D7.05.01.00/tn7dsl.c -=================================================================== ---- sangam_atm-D7.05.01.00.orig/tn7dsl.c 2010-03-07 18:19:04.000000000 +0100 -+++ sangam_atm-D7.05.01.00/tn7dsl.c 2010-03-07 18:19:09.000000000 +0100 +--- a/tn7dsl.c ++++ b/tn7dsl.c @@ -120,8 +120,13 @@ #include @@ -37,10 +33,8 @@ Index: sangam_atm-D7.05.01.00/tn7dsl.c /* Modules specific header files */ #ifdef AR7_EFM -Index: sangam_atm-D7.05.01.00/tn7sar.c -=================================================================== ---- sangam_atm-D7.05.01.00.orig/tn7sar.c 2010-03-07 18:10:13.000000000 +0100 -+++ sangam_atm-D7.05.01.00/tn7sar.c 2010-03-07 18:19:09.000000000 +0100 +--- a/tn7sar.c ++++ b/tn7sar.c @@ -53,10 +53,16 @@ #include #include diff --git a/package/ar7-atm/patches-D7.05.01.00/190-2.6.32_proc_fixes.patch b/package/ar7-atm/patches-D7.05.01.00/190-2.6.32_proc_fixes.patch index 587cb5f568..52ebbc1529 100644 --- a/package/ar7-atm/patches-D7.05.01.00/190-2.6.32_proc_fixes.patch +++ b/package/ar7-atm/patches-D7.05.01.00/190-2.6.32_proc_fixes.patch @@ -1,8 +1,6 @@ -Index: sangam_atm-D7.05.01.00/tn7dsl.c -=================================================================== ---- sangam_atm-D7.05.01.00.orig/tn7dsl.c 2010-11-09 18:32:33.478706990 +0100 -+++ sangam_atm-D7.05.01.00/tn7dsl.c 2010-11-09 18:32:33.488706997 +0100 -@@ -215,7 +215,11 @@ +--- a/tn7dsl.c ++++ b/tn7dsl.c +@@ -215,7 +215,11 @@ led_reg_t ledreg[2]; static struct led_funcs ledreg[2]; #endif @@ -14,7 +12,7 @@ Index: sangam_atm-D7.05.01.00/tn7dsl.c #define MAX_STR_SIZE 256 #define DSL_MOD_SIZE 256 -@@ -3615,9 +3619,16 @@ +@@ -3615,9 +3619,16 @@ static int dslmod_sysctl(ctl_table *ctl, */ if(write) { @@ -32,7 +30,7 @@ Index: sangam_atm-D7.05.01.00/tn7dsl.c { case DEV_DSLMOD: ptr = strpbrk(info, " \t"); -@@ -3701,14 +3712,29 @@ +@@ -3701,14 +3712,29 @@ static int dslmod_sysctl(ctl_table *ctl, else { len += sprintf(info+len, mod_req); @@ -62,7 +60,7 @@ Index: sangam_atm-D7.05.01.00/tn7dsl.c , {0} }; -@@ -3716,7 +3742,16 @@ +@@ -3716,7 +3742,16 @@ ctl_table dslmod_table[] = { /* Make sure that /proc/sys/dev is there */ ctl_table dslmod_root_table[] = { #ifdef CONFIG_PROC_FS diff --git a/package/ar7-atm/patches-D7.05.01.00/200-2.6.37_args.patch b/package/ar7-atm/patches-D7.05.01.00/200-2.6.37_args.patch index 04422156a9..a3bff1b940 100644 --- a/package/ar7-atm/patches-D7.05.01.00/200-2.6.37_args.patch +++ b/package/ar7-atm/patches-D7.05.01.00/200-2.6.37_args.patch @@ -1,8 +1,6 @@ -Index: sangam_atm-D7.04.03.00/tn7atm.c -=================================================================== ---- sangam_atm-D7.04.03.00.orig/tn7atm.c 2011-02-18 13:36:12.000000000 +0100 -+++ sangam_atm-D7.04.03.00/tn7atm.c 2011-02-18 13:36:21.268956988 +0100 -@@ -1867,7 +1867,11 @@ +--- a/tn7atm.c ++++ b/tn7atm.c +@@ -2000,7 +2000,11 @@ static int __init tn7atm_register (Tn7At dgprintf (4, "device %s being registered\n", priv->name); @@ -14,11 +12,9 @@ Index: sangam_atm-D7.04.03.00/tn7atm.c if (mydev == NULL) { -Index: sangam_atm-D7.04.03.00/tn7dsl.c -=================================================================== ---- sangam_atm-D7.04.03.00.orig/tn7dsl.c 2011-02-18 13:36:12.000000000 +0100 -+++ sangam_atm-D7.04.03.00/tn7dsl.c 2011-02-18 13:37:41.678957013 +0100 -@@ -466,14 +466,17 @@ +--- a/tn7dsl.c ++++ b/tn7dsl.c +@@ -512,14 +512,17 @@ int shim_osLoadFWImage(unsigned char *pt { const struct firmware *fw_entry; size_t size; -- 2.25.1