aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2015-09-16 12:08:05 +0000
committerJohn Crispin <blogic@openwrt.org>2015-09-16 12:08:05 +0000
commit6b2fc8f07ddc50965b4188967d9cb8d2b5a389c8 (patch)
tree5242c6e2995c21e92eeb25683ad4d47065d576b2 /target/linux
parentc5402988e080bd460440d2c194509faacb22dc66 (diff)
downloadmaster-187ad058-6b2fc8f07ddc50965b4188967d9cb8d2b5a389c8.tar.gz
master-187ad058-6b2fc8f07ddc50965b4188967d9cb8d2b5a389c8.tar.bz2
master-187ad058-6b2fc8f07ddc50965b4188967d9cb8d2b5a389c8.zip
kernel: properly guard the lantiq atm abi hack with an ifdef
Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46981 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/generic/patches-3.18/652-atm_header_changes.patch4
1 files changed, 3 insertions, 1 deletions
diff --git a/target/linux/generic/patches-3.18/652-atm_header_changes.patch b/target/linux/generic/patches-3.18/652-atm_header_changes.patch
index 2d5e4203e5..43e837e518 100644
--- a/target/linux/generic/patches-3.18/652-atm_header_changes.patch
+++ b/target/linux/generic/patches-3.18/652-atm_header_changes.patch
@@ -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 {