.. | .. |
---|
296 | 296 | * possible, the driver should only write the valid vnics into the internal |
---|
297 | 297 | * ram according to the appropriate port mode. |
---|
298 | 298 | */ |
---|
299 | | -#define BITS_TO_BYTES(x) ((x)/8) |
---|
300 | 299 | |
---|
301 | 300 | /* CMNG constants, as derived from system spec calculations */ |
---|
302 | 301 | |
---|
.. | .. |
---|
449 | 448 | ccd[cos] = |
---|
450 | 449 | (u32)input_data->cos_min_rate[cos] * 100 * |
---|
451 | 450 | (T_FAIR_COEF / (8 * 100 * cosWeightSum)); |
---|
452 | | - if (ccd[cos] < pdata->fair_vars.fair_threshold |
---|
| 451 | + if (ccd[cos] < pdata->fair_vars.fair_threshold |
---|
453 | 452 | + MIN_ABOVE_THRESH) { |
---|
454 | 453 | ccd[cos] = |
---|
455 | 454 | pdata->fair_vars.fair_threshold + |
---|