diff options
author | Jonas Gorski <jogo@openwrt.org> | 2013-10-12 10:50:19 +0000 |
---|---|---|
committer | Jonas Gorski <jogo@openwrt.org> | 2013-10-12 10:50:19 +0000 |
commit | 8a240be62b35193c945cf94e448ac24f215b2f31 (patch) | |
tree | e6391c325ffdad4172b3c41e957b6db8d1cbb765 /package/kernel/ar7-atm/patches-D7.05.01.00/160-module-params.patch | |
parent | 78f69b66d44f8e9e9459ca3650d233b45252fd4e (diff) | |
download | upstream-8a240be62b35193c945cf94e448ac24f215b2f31.tar.gz upstream-8a240be62b35193c945cf94e448ac24f215b2f31.tar.bz2 upstream-8a240be62b35193c945cf94e448ac24f215b2f31.zip |
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@openwrt.org>
SVN-Revision: 38366
Diffstat (limited to 'package/kernel/ar7-atm/patches-D7.05.01.00/160-module-params.patch')
-rw-r--r-- | package/kernel/ar7-atm/patches-D7.05.01.00/160-module-params.patch | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/package/kernel/ar7-atm/patches-D7.05.01.00/160-module-params.patch b/package/kernel/ar7-atm/patches-D7.05.01.00/160-module-params.patch index 75a41d1e36..9c504c0e33 100644 --- a/package/kernel/ar7-atm/patches-D7.05.01.00/160-module-params.patch +++ b/package/kernel/ar7-atm/patches-D7.05.01.00/160-module-params.patch @@ -147,7 +147,7 @@ #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"); @@ -159,7 +159,7 @@ } /* avalanche_request_pacing (priv->sar_irq, ATM_SAR_INT_PACING_BLOCK_NUM, def_sar_inter_pace); */ -@@ -878,9 +1018,18 @@ +@@ -878,9 +1018,18 @@ static int __init tn7atm_get_ESI (struct { int i; char esi_addr[ESI_LEN] = { 0x00, 0x00, 0x11, 0x22, 0x33, 0x44 }; @@ -180,7 +180,7 @@ if (!esiaddr_str) { -@@ -2139,15 +2288,15 @@ +@@ -2139,15 +2288,15 @@ static int tn7atm_autoDetectDspBoost (vo //UR8_MERGE_END CQ10450* cp = prom_getenv ("dsp_noboost"); @@ -200,7 +200,7 @@ if (dspfreq == 250) { boostDsp = 1; -@@ -2396,15 +2545,17 @@ +@@ -2396,15 +2545,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()). @@ -222,7 +222,7 @@ _dsl_Feature_1_defined = 1; } -@@ -2412,15 +2563,17 @@ +@@ -2412,15 +2563,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()). @@ -244,7 +244,7 @@ _dsl_PhyControl_1_defined = 1; } -@@ -2440,12 +2593,12 @@ +@@ -2440,12 +2593,12 @@ static int __init tn7atm_init (struct at // read config for turbo dsl ptr = prom_getenv ("TurboDSL"); @@ -259,7 +259,7 @@ #endif } else -@@ -2459,33 +2612,33 @@ +@@ -2459,33 +2612,33 @@ static int __init tn7atm_init (struct at priv->sarRxBuf = RX_BUFFER_NUM; ptr = NULL; ptr = prom_getenv ("SarRxBuf"); |