On 2011-03-23 11:05 PM, Sam Leffler wrote: > On Wed, Mar 23, 2011 at 12:57 PM, Felix Fietkau <nbd@xxxxxxxxxxx> wrote: >> The EEPROM contains a field that can restrict the number of hardware queues, >> however this is not only useless (all the known chips contain the same >> number of hardware queues), but also potentially dangerous in case of a >> misprogrammed EEPROM (could trigger driver crashes), so let's just ignore >> it completely. > > I can't say if there will ever be h/w w/ different #'s of tx q's but I > think you're better off just capping any value read from eeprom to > guard against the very unlikely scenario of misprogramming. I think when chips with fewer or more tx queues show up, we should make that depend on the SREV, not the EEPROM data. - Felix -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html