--- zzzz-none-000/linux-2.6.28.10/include/linux/atm.h 2009-05-02 18:54:43.000000000 +0000 +++ puma5-6360-529/linux-2.6.28.10/include/linux/atm.h 2010-06-03 15:57:57.000000000 +0000 @@ -130,6 +130,18 @@ #define ATM_ABR 4 #define ATM_ANYCLASS 5 /* compatible with everything */ +#if defined(CONFIG_AR9) || defined(CONFIG_VR9) +#define ATM_VBR_NRT ATM_VBR +#define ATM_VBR_RT 6 +#define ATM_UBR_PLUS 7 +#define ATM_GFR 8 +#endif + +#ifdef CONFIG_MACH_FUSIV +#define ATM_UBR_PLUS 6 +#define ATM_NRTVBR 7 /* FUSIV specefic */ +#endif + #define ATM_MAX_PCR -1 /* maximum available PCR */ struct atm_trafprm { @@ -139,6 +151,17 @@ int min_pcr; /* minimum PCR in cells per second */ int max_cdv; /* maximum CDV in microseconds */ int max_sdu; /* maximum SDU in bytes */ + +#if defined(CONFIG_AR9) || defined(CONFIG_VR9) + /* extra params for VBR(NRT-VBR) and RT-VBR */ + int scr; /* sustained rate in cells per second */ + int mbs; /* maximum burst size (MBS) in cells */ + int cdv; /* Cell delay varition */ +#endif + +#ifdef CONFIG_MACH_FUSIV + int mbs; /* FUSIV maximum burst in cells */ +#endif /* extra params for ABR */ unsigned int icr; /* Initial Cell Rate (24-bit) */ unsigned int tbe; /* Transient Buffer Exposure (24-bit) */