Re: [OpenWrt-Devel] [OpenWrt-Commits] r46981 - trunk/target/linux/generic/patches-3.18

2015-09-16 Thread John Crispin


On 16/09/2015 21:10, Florian Fainelli wrote:
> On 16/09/15 05:08, openwrt-comm...@openwrt.org wrote:
>> Author: blogic
>> Date: 2015-09-16 14:08:05 +0200 (Wed, 16 Sep 2015)
>> New Revision: 46981
>>
>> Modified:
>>trunk/target/linux/generic/patches-3.18/652-atm_header_changes.patch
>> Log:
>> kernel: properly guard the lantiq atm abi hack with an ifdef
> 
> Would not it make sense to move this to target/linux/lantiq now that
> this is target-specific?

no because then it wont be part of the kernel-headers and linux-atm will
not see it


> 
>>
>> Signed-off-by: John Crispin 
>>
>> Modified: 
>> trunk/target/linux/generic/patches-3.18/652-atm_header_changes.patch
>> ===
>> --- trunk/target/linux/generic/patches-3.18/652-atm_header_changes.patch 
>> 2015-09-16 09:37:39 UTC (rev 46980)
>> +++ trunk/target/linux/generic/patches-3.18/652-atm_header_changes.patch 
>> 2015-09-16 12:08:05 UTC (rev 46981)
>> @@ -1,12 +1,14 @@
>>  --- a/include/uapi/linux/atm.h
>>  +++ b/include/uapi/linux/atm.h
>> -@@ -154,6 +154,9 @@
>> +@@ -154,6 +154,11 @@
>>  unsigned int adtf  :10; /* ACR Decrease Time Factor (10-bit) */
>>  unsigned int cdf   :3;  /* Cutoff Decrease Factor (3-bit) */
>>   unsigned int spare :9;  /* spare bits */ 
>> ++#ifdef CONFIG_LANTIQ
>>  +   int scr;/* sustained rate in cells per second */
>>  +   int mbs;/* maximum burst size (MBS) in cells */
>>  +   int cdv;/* Cell delay varition */
>> ++#endif
>>   };
>>   
>>   struct atm_qos {
>> ___
>> openwrt-commits mailing list
>> openwrt-comm...@lists.openwrt.org
>> https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits
>>
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] [OpenWrt-Commits] r46981 - trunk/target/linux/generic/patches-3.18

2015-09-16 Thread Florian Fainelli
On 16/09/15 05:08, openwrt-comm...@openwrt.org wrote:
> Author: blogic
> Date: 2015-09-16 14:08:05 +0200 (Wed, 16 Sep 2015)
> New Revision: 46981
> 
> Modified:
>trunk/target/linux/generic/patches-3.18/652-atm_header_changes.patch
> Log:
> kernel: properly guard the lantiq atm abi hack with an ifdef

Would not it make sense to move this to target/linux/lantiq now that
this is target-specific?

> 
> Signed-off-by: John Crispin 
> 
> Modified: trunk/target/linux/generic/patches-3.18/652-atm_header_changes.patch
> ===
> --- trunk/target/linux/generic/patches-3.18/652-atm_header_changes.patch  
> 2015-09-16 09:37:39 UTC (rev 46980)
> +++ trunk/target/linux/generic/patches-3.18/652-atm_header_changes.patch  
> 2015-09-16 12:08:05 UTC (rev 46981)
> @@ -1,12 +1,14 @@
>  --- a/include/uapi/linux/atm.h
>  +++ b/include/uapi/linux/atm.h
> -@@ -154,6 +154,9 @@
> +@@ -154,6 +154,11 @@
>   unsigned int adtf  :10; /* ACR Decrease Time Factor (10-bit) */
>   unsigned int cdf   :3;  /* Cutoff Decrease Factor (3-bit) */
>   unsigned int spare :9;  /* spare bits */ 
> ++#ifdef CONFIG_LANTIQ
>  +int scr;/* sustained rate in cells per second */
>  +int mbs;/* maximum burst size (MBS) in cells */
>  +int cdv;/* Cell delay varition */
> ++#endif
>   };
>   
>   struct atm_qos {
> ___
> openwrt-commits mailing list
> openwrt-comm...@lists.openwrt.org
> https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits
> 
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel