1. 20 4月, 2011 1 次提交
    • I
      rt2x00: Split rt2x00dev->flags · 7dab73b3
      Ivo van Doorn 提交于
      The number of flags defined for the rt2x00dev->flags field,
      has been growing over the years. Currently we are approaching
      the maximum number of bits which are available in the field.
      
      A secondary problem, is that one part of the field are initialized only
      during boot, because the driver requirements are initialized or device
      requirements are loaded from the EEPROM. In both cases, the flags are
      fixed and will not change during device operation. The other flags are
      the device state, and will change frequently. So far this resulted in the fact
      that for some flags, the atomic bit accessors are used, while for the others
      the non-atomic variants are used.
      
      By splitting the flags up into a "flags" and "cap_flags" we can put all flags
      which are fixed inside "cap_flags". This field can then be read non-atomically.
      In the "flags" field we keep the device state, which is going to be read atomically.
      
      This adds more room for more flags in the future, and sanitizes the field access methods.
      Signed-off-by: NIvo van Doorn <IvDoorn@gmail.com>
      Acked-by: NHelmut Schaa <helmut.schaa@googlemail.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      7dab73b3
  2. 05 4月, 2011 1 次提交
  3. 05 3月, 2011 6 次提交
  4. 01 2月, 2011 4 次提交
  5. 14 12月, 2010 4 次提交
  6. 16 11月, 2010 3 次提交
  7. 12 10月, 2010 1 次提交
  8. 15 9月, 2010 1 次提交
  9. 26 8月, 2010 2 次提交
  10. 18 8月, 2010 1 次提交
  11. 13 7月, 2010 5 次提交
  12. 01 7月, 2010 2 次提交
  13. 03 6月, 2010 2 次提交
  14. 25 5月, 2010 1 次提交
  15. 13 5月, 2010 2 次提交
  16. 11 5月, 2010 2 次提交
  17. 05 5月, 2010 1 次提交
  18. 07 4月, 2010 1 次提交