kernel: properly guard the lantiq atm abi hack with an ifdef
Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 46981
This commit is contained in:
parent
5bf8dd5e5e
commit
e11479771d
1 changed files with 3 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue