1. 28 7月, 2009 1 次提交
    • J
      iwlwifi: fix up command sending · c2acea8e
      Johannes Berg 提交于
      The current command sending in iwlwifi is a bit of a mess:
       1) there is a struct, iwl_cmd, that contains both driver
          and device data in a single packed structure -- this
          is very confusing
       2) the on-stack data and the command metadata share a
          structure by embedding the latter in the former, which
          is also rather confusing because it leads to weird
          unions and similarly odd constructs
       3) each txq always has enough space for 256 commands,
          even if only 32 end up being used
      
      This patch fixes these things:
       1) rename iwl_cmd to iwl_device_cmd and keep track of
          command metadata and device command separately, in
          two arrays in each tx queue
       2) remove the 'meta' member from iwl_host_cmd and only
          put in the required members
       3) allocate the cmd/meta arrays separately instead of
          embedding them into the txq structure
      Signed-off-by: NJohannes Berg <johannes@sipsolutions.net>
      Signed-off-by: NReinette Chatre <reinette.chatre@intel.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      c2acea8e
  2. 25 7月, 2009 2 次提交
  3. 04 6月, 2009 1 次提交
  4. 10 2月, 2009 2 次提交
  5. 30 1月, 2009 2 次提交
  6. 20 12月, 2008 1 次提交
  7. 13 12月, 2008 2 次提交
  8. 01 11月, 2008 1 次提交
  9. 30 8月, 2008 1 次提交
  10. 24 8月, 2008 1 次提交
  11. 05 8月, 2008 2 次提交
  12. 30 7月, 2008 1 次提交
    • A
      drivers/net/wireless/iwlwifi/iwl-led.c: printk fix · 03121104
      Andrew Morton 提交于
      ia64:
      
      drivers/net/wireless/iwlwifi/iwl-led.c: In function `iwl_get_blink_rate':
      drivers/net/wireless/iwlwifi/iwl-led.c:271: warning: long long int format, s64 arg (arg 6)
      drivers/net/wireless/iwlwifi/iwl-led.c:271: warning: long long int format, u64 arg (arg 7)
      
      We do not know what type the architecture uses to impement u64 and s64,
      hence we must cast the variables for printing.
      
      Cc: Tomas Winkler <tomas.winkler@intel.com>
      Cc: John W. Linville <linville@tuxdriver.com>
      Cc: Zhu Yi <yi.zhu@intel.com>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      03121104
  13. 15 7月, 2008 3 次提交
  14. 08 5月, 2008 1 次提交
  15. 09 4月, 2008 1 次提交
  16. 02 4月, 2008 1 次提交
  17. 28 3月, 2008 2 次提交