kernel: unbreak atm ABI for 4.0 and 4.1
[openwrt.git] / target / linux / generic / patches-4.0 / 652-atm_header_changes.patch
1 --- a/include/uapi/linux/atm.h
2 +++ b/include/uapi/linux/atm.h
3 @@ -154,6 +154,11 @@
4         unsigned int adtf      :10;     /* ACR Decrease Time Factor (10-bit) */
5         unsigned int cdf       :3;      /* Cutoff Decrease Factor (3-bit) */
6          unsigned int spare     :9;      /* spare bits */ 
7 +#ifdef CONFIG_LANTIQ
8 +       int             scr;            /* sustained rate in cells per second */
9 +       int             mbs;            /* maximum burst size (MBS) in cells */
10 +       int             cdv;            /* Cell delay varition */
11 +#endif
12  };
13  
14  struct atm_qos {