--- zzzz-none-000/linux-2.6.19.2/include/linux/atm.h 2007-01-10 19:10:37.000000000 +0000 +++ davinci-8020-5505/linux-2.6.19.2/include/linux/atm.h 2007-05-14 13:44:25.000000000 +0000 @@ -131,7 +131,19 @@ #define ATM_CBR 2 #define ATM_VBR 3 #define ATM_ABR 4 -#define ATM_ANYCLASS 5 /* compatible with everything */ + +// bk Adding support for the VBR for TI DSL chips +#ifdef CONFIG_MIPS_UR8 + + #define ATM_VBR_NRT ATM_VBR + #define ATM_VBR_RT 5 + #define ATM_ANYCLASS 6 /* compatible with everything */ + +#else + #define ATM_ANYCLASS 5 /* compatible with everything */ +#endif +// end bk + #define ATM_MAX_PCR -1 /* maximum available PCR */ @@ -142,7 +154,8 @@ int min_pcr; /* minimum PCR in cells per second */ int max_cdv; /* maximum CDV in microseconds */ int max_sdu; /* maximum SDU in bytes */ - /* extra params for ABR */ + + /* extra params for ABR */ unsigned int icr; /* Initial Cell Rate (24-bit) */ unsigned int tbe; /* Transient Buffer Exposure (24-bit) */ unsigned int frtt : 24; /* Fixed Round Trip Time (24-bit) */ @@ -154,9 +167,16 @@ unsigned int cdf_pres :1; /* cdf present bit*/ unsigned int nrm :3; /* Max # of Cells for each forward RM cell (3-bit) */ unsigned int trm :3; /* Time between forward RM cells (3-bit) */ - unsigned int adtf :10; /* ACR Decrease Time Factor (10-bit) */ - unsigned int cdf :3; /* Cutoff Decrease Factor (3-bit) */ + 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 */ + +// bk Adding support for the VBR for TI DSL chips which support this QoS +#ifdef CONFIG_MIPS_UR8 + unsigned int scr; +#endif +// end bk + }; struct atm_qos {