Changeset 38366


Ignore:
Timestamp:
2013-10-12T12:50:19+02:00 (4 years ago)
Author:
jogo
Message:

ar7-atm: fix compilation for linux 3.10

Update proc code to new proc_create to allow compilation with
linux 3.10+.

Signed-off-by: Jonas Gorski <jogo@…>

Location:
trunk/package/kernel/ar7-atm
Files:
2 added
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/kernel/ar7-atm/patches-D7.04.03.00/160-module-params.patch

    r37007 r38366  
    148148  
    149149 #ifndef TRUE 
    150 @@ -655,9 +795,9 @@ 
     150@@ -655,9 +795,9 @@ static int __init tn7atm_irq_request (st 
    151151    * interrupt pacing 
    152152    */ 
     
    160160 /*  avalanche_request_pacing (priv->sar_irq, ATM_SAR_INT_PACING_BLOCK_NUM, 
    161161                             def_sar_inter_pace);*/ 
    162 @@ -795,9 +935,18 @@ 
     162@@ -795,9 +935,18 @@ static int __init tn7atm_get_ESI (struct 
    163163 { 
    164164   int i; 
     
    181181   if (!esiaddr_str) 
    182182   { 
    183 @@ -1930,15 +2079,15 @@ 
     183@@ -1930,15 +2079,15 @@ static int tn7atm_autoDetectDspBoost (vo 
    184184 //UR8_MERGE_END   CQ10450* 
    185185  
     
    201201     { 
    202202       boostDsp = 1; 
    203 @@ -2187,8 +2336,9 @@ 
     203@@ -2187,8 +2336,9 @@ static int __init tn7atm_init (struct at 
    204204   // Inter-Op DSL phy Control 
    205205   // Note the setting of _dsl_Feature_0 and _dsl_Feature_1 must before 
     
    212212       // os_atoh 
    213213       ptr += 2; 
    214 @@ -2196,8 +2346,9 @@ 
     214@@ -2196,8 +2346,9 @@ static int __init tn7atm_init (struct at 
    215215     _dsl_Feature_0_defined = 1; 
    216216   } 
     
    223223       // os_atoh 
    224224       ptr += 2; 
    225 @@ -2209,8 +2360,9 @@ 
     225@@ -2209,8 +2360,9 @@ static int __init tn7atm_init (struct at 
    226226   // DSL phy Feature Control 
    227227   // Note the setting of _dsl_PhyControl_0 and _dsl_PhyControl_1 must before 
     
    234234       // os_atoh 
    235235       ptr += 2; 
    236 @@ -2218,8 +2370,9 @@ 
     236@@ -2218,8 +2370,9 @@ static int __init tn7atm_init (struct at 
    237237     _dsl_PhyControl_0_defined = 1; 
    238238   } 
     
    245245       // os_atoh 
    246246       ptr += 2; 
    247 @@ -2247,9 +2400,9 @@ 
     247@@ -2247,9 +2400,9 @@ static int __init tn7atm_init (struct at 
    248248   priv->bTurboDsl = 1; 
    249249   // read config for turbo dsl 
     
    257257  
    258258   // @Added to make Rx buffer number & Service max configurable through 
    259 @@ -2257,30 +2410,30 @@ 
     259@@ -2257,30 +2410,30 @@ static int __init tn7atm_init (struct at 
    260260   priv->sarRxBuf = RX_BUFFER_NUM; 
    261261   ptr = NULL; 
  • trunk/package/kernel/ar7-atm/patches-D7.04.03.00/200-2.6.37_args.patch

    r37007 r38366  
    11--- a/tn7atm.c 
    22+++ b/tn7atm.c 
    3 @@ -1867,7 +1867,11 @@ static int __init tn7atm_register (Tn7At 
     3@@ -1876,7 +1876,11 @@ static int __init tn7atm_register (Tn7At 
    44  
    55   dgprintf (4, "device %s being registered\n", priv->name); 
  • trunk/package/kernel/ar7-atm/patches-D7.05.01.00/160-module-params.patch

    r37007 r38366  
    148148  
    149149 #ifndef TRUE 
    150 @@ -728,9 +868,9 @@ 
     150@@ -728,9 +868,9 @@ static int __init tn7atm_irq_request (st 
    151151    * interrupt pacing 
    152152    */ 
     
    160160   /* avalanche_request_pacing (priv->sar_irq, ATM_SAR_INT_PACING_BLOCK_NUM, 
    161161                             def_sar_inter_pace); */ 
    162 @@ -878,9 +1018,18 @@ 
     162@@ -878,9 +1018,18 @@ static int __init tn7atm_get_ESI (struct 
    163163 { 
    164164   int i; 
     
    181181   if (!esiaddr_str) 
    182182   { 
    183 @@ -2139,15 +2288,15 @@ 
     183@@ -2139,15 +2288,15 @@ static int tn7atm_autoDetectDspBoost (vo 
    184184 //UR8_MERGE_END   CQ10450* 
    185185  
     
    201201     { 
    202202       boostDsp = 1; 
    203 @@ -2396,15 +2545,17 @@ 
     203@@ -2396,15 +2545,17 @@ static int __init tn7atm_init (struct at 
    204204   // Inter-Op DSL phy Control 
    205205   // Note the setting of _dsl_Feature_0 and _dsl_Feature_1 must before 
     
    223223   } 
    224224  
    225 @@ -2412,15 +2563,17 @@ 
     225@@ -2412,15 +2563,17 @@ static int __init tn7atm_init (struct at 
    226226   // DSL phy Feature Control 
    227227   // Note the setting of _dsl_PhyControl_0 and _dsl_PhyControl_1 must before 
     
    245245   } 
    246246  
    247 @@ -2440,12 +2593,12 @@ 
     247@@ -2440,12 +2593,12 @@ static int __init tn7atm_init (struct at 
    248248   // read config for turbo dsl 
    249249     
     
    260260   } 
    261261    else 
    262 @@ -2459,33 +2612,33 @@ 
     262@@ -2459,33 +2612,33 @@ static int __init tn7atm_init (struct at 
    263263   priv->sarRxBuf = RX_BUFFER_NUM; 
    264264   ptr = NULL; 
  • trunk/package/kernel/ar7-atm/patches-D7.05.01.00/200-2.6.37_args.patch

    r37007 r38366  
    11--- a/tn7atm.c 
    22+++ b/tn7atm.c 
    3 @@ -2000,7 +2000,11 @@ static int __init tn7atm_register (Tn7At 
     3@@ -2009,7 +2009,11 @@ static int __init tn7atm_register (Tn7At 
    44  
    55   dgprintf (4, "device %s being registered\n", priv->name); 
Note: See TracChangeset for help on using the changeset viewer.