openssl: replace full recipe for 0.9.8 with a stripped-down libssl0.9.8 recipe contai...
[opendreambox.git] / meta-opendreambox / recipes-connectivity / madwifi / madwifi-ng / ath-rate-ctlname.patch
1 --- madwifi-ng-r3314-20080131/ath_rate/amrr/amrr.c.orig 2012-03-23 22:35:59.470179233 +0100
2 +++ madwifi-ng-r3314-20080131/ath_rate/amrr/amrr.c      2012-03-23 22:36:09.654179557 +0100
3 @@ -482,7 +482,7 @@
4   */
5  
6  static ctl_table ath_rate_static_sysctls[] = {
7 -       { .ctl_name     = CTL_AUTO,
8 +       { CTLNAME(CTL_AUTO)
9           .procname     = "interval",
10           .mode         = 0644,
11           .data         = &ath_rateinterval,
12 @@ -491,7 +491,7 @@
13           .extra2       = &maxint,
14           .proc_handler = proc_dointvec_minmax
15         },
16 -       { .ctl_name     = CTL_AUTO,
17 +       { CTLNAME(CTL_AUTO)
18           .procname     = "max_success_threshold",
19           .mode         = 0644,
20           .data         = &ath_rate_max_success_threshold,
21 @@ -500,7 +500,7 @@
22           .extra2       = &maxint,
23           .proc_handler = proc_dointvec_minmax
24         },
25 -       { .ctl_name     = CTL_AUTO,
26 +       { CTLNAME(CTL_AUTO)
27           .procname     = "min_success_threshold",
28           .mode         = 0644,
29           .data         = &ath_rate_min_success_threshold,
30 @@ -512,21 +512,21 @@
31         { 0 }
32  };
33  static ctl_table ath_rate_table[] = {
34 -       { .ctl_name     = CTL_AUTO,
35 +       { CTLNAME(CTL_AUTO)
36           .procname     = "rate",
37           .mode         = 0555,
38           .child        = ath_rate_static_sysctls
39         }, { 0 }
40  };
41  static ctl_table ath_ath_table[] = {
42 -       { .ctl_name     = DEV_ATH,
43 +       { CTLNAME(DEV_ATH)
44           .procname     = "ath",
45           .mode         = 0555,
46           .child        = ath_rate_table
47         }, { 0 }
48  };
49  static ctl_table ath_root_table[] = {
50 -       { .ctl_name     = CTL_DEV,
51 +       { CTLNAME(CTL_DEV)
52           .procname     = "dev",
53           .mode         = 0555,
54           .child        = ath_ath_table
55 --- madwifi-ng-r3314-20080131/ath_rate/onoe/onoe.c.orig 2012-03-23 22:32:40.918174219 +0100
56 +++ madwifi-ng-r3314-20080131/ath_rate/onoe/onoe.c      2012-03-23 22:35:37.146178724 +0100
57 @@ -427,7 +427,7 @@
58   * Static (i.e. global) sysctls.
59   */
60  static ctl_table ath_rate_static_sysctls[] = {
61 -       { .ctl_name     = CTL_AUTO,
62 +       { CTLNAME(CTL_AUTO)
63           .procname     = "interval",
64           .mode         = 0644,
65           .data         = &ath_rateinterval,
66 @@ -436,7 +436,7 @@
67           .extra2       = &maxint,
68           .proc_handler = proc_dointvec_minmax
69         },
70 -       { .ctl_name     = CTL_AUTO,
71 +       { CTLNAME(CTL_AUTO)
72           .procname     = "raise",
73           .mode         = 0644,
74           .data         = &ath_rate_raise,
75 @@ -445,7 +445,7 @@
76           .extra2       = &maxpercent,
77           .proc_handler = proc_dointvec_minmax
78         },
79 -       { .ctl_name     = CTL_AUTO,
80 +       { CTLNAME(CTL_AUTO)
81           .procname     = "raise_threshold",
82           .mode         = 0644,
83           .data         = &ath_rate_raise_threshold,
84 @@ -455,21 +455,21 @@
85         { 0 }
86  };
87  static ctl_table ath_rate_table[] = {
88 -       { .ctl_name     = CTL_AUTO,
89 +       { CTLNAME(CTL_AUTO)
90           .procname     = "rate",
91           .mode         = 0555,
92           .child        = ath_rate_static_sysctls
93         }, { 0 }
94  };
95  static ctl_table ath_ath_table[] = {
96 -       { .ctl_name     = DEV_ATH,
97 +       { CTLNAME(DEV_ATH)
98           .procname     = "ath",
99           .mode         = 0555,
100           .child        = ath_rate_table
101         }, { 0 }
102  };
103  static ctl_table ath_root_table[] = {
104 -       { .ctl_name     = CTL_DEV,
105 +       { CTLNAME(CTL_DEV)
106           .procname     = "dev",
107           .mode         = 0555,
108           .child        = ath_ath_table