aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/patches-4.1
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2015-09-16 12:40:40 +0000
committerJohn Crispin <blogic@openwrt.org>2015-09-16 12:40:40 +0000
commitda7d34bec5df2c18b495557450ed5dd51b97b333 (patch)
tree1fe4072219ef4ff8539ce75af8af755fbbb79a87 /target/linux/generic/patches-4.1
parent36787ed17636454353ba1ea87863afb963960d54 (diff)
downloadmaster-187ad058-da7d34bec5df2c18b495557450ed5dd51b97b333.tar.gz
master-187ad058-da7d34bec5df2c18b495557450ed5dd51b97b333.tar.bz2
master-187ad058-da7d34bec5df2c18b495557450ed5dd51b97b333.zip
kernel: unbreak atm ABI for 4.0 and 4.1
Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46983 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/generic/patches-4.1')
-rw-r--r--target/linux/generic/patches-4.1/652-atm_header_changes.patch16
1 files changed, 9 insertions, 7 deletions
diff --git a/target/linux/generic/patches-4.1/652-atm_header_changes.patch b/target/linux/generic/patches-4.1/652-atm_header_changes.patch
index 7e5685922f..43e837e518 100644
--- a/target/linux/generic/patches-4.1/652-atm_header_changes.patch
+++ b/target/linux/generic/patches-4.1/652-atm_header_changes.patch
@@ -1,12 +1,14 @@
--- a/include/uapi/linux/atm.h
+++ b/include/uapi/linux/atm.h
-@@ -139,6 +139,9 @@ struct atm_trafprm {
- int min_pcr; /* minimum PCR in cells per second */
- int max_cdv; /* maximum CDV in microseconds */
- int max_sdu; /* maximum SDU in bytes */
+@@ -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 */
- /* extra params for ABR */
- unsigned int icr; /* Initial Cell Rate (24-bit) */
- unsigned int tbe; /* Transient Buffer Exposure (24-bit) */
++#endif
+ };
+
+ struct atm_qos {