ar71xx: don't use vlan 0 for devices with rtl8366s switch
[openwrt.git] / package / ar7-atm / patches-D7.04.03.00 / 190-2.6.32_proc_fixes.patch
1 Index: sangam_atm-D7.04.03.00/tn7dsl.c
2 ===================================================================
3 --- sangam_atm-D7.04.03.00.orig/tn7dsl.c 2010-02-01 22:30:45.000000000 +0100
4 +++ sangam_atm-D7.04.03.00/tn7dsl.c 2010-02-01 22:32:41.000000000 +0100
5 @@ -3431,8 +3431,11 @@
6 */
7 if(write)
8 {
9 +#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,32)
10 ret = proc_dostring(ctl, write, filp, buffer, lenp, 0);
11 -
12 +#else
13 + ret = proc_dostring(ctl, write, buffer, lenp, 0);
14 +#endif
15 switch (ctl->ctl_name)
16 {
17 case DEV_DSLMOD:
18 @@ -3517,7 +3520,11 @@
19 else
20 {
21 len += sprintf(info+len, mod_req);
22 +#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,32)
23 ret = proc_dostring(ctl, write, filp, buffer, lenp, 0);
24 +#else
25 + ret = proc_dostring(ctl, write, buffer, lenp, 0);
26 +#endif
27 }
28 return ret;
29 }
This page took 0.043667 seconds and 5 git commands to generate.