]> git.karo-electronics.de Git - linux-beck.git/commit
iwlwifi: add IO function for continuous write of target memory
authorHsu, Kenny <kenny.hsu@intel.com>
Fri, 9 Dec 2011 11:11:18 +0000 (03:11 -0800)
committerWey-Yi Guy <wey-yi.w.guy@intel.com>
Fri, 16 Dec 2011 15:24:03 +0000 (07:24 -0800)
commitee8ba8800b4f20845aa542ce53f3bc29064674b5
treeabc12cfe25d5c26e2de19a11076611349b2cc660
parent7a0b3b08dfbf3f64e81e5ab2e60c4a1d2ad261b1
iwlwifi: add IO function for continuous write of target memory

Add new IO function _iwl_write_targ_mem_words() to support
target memory write for a continuous area. It will return
error code -EBUSY if iwl_grab_nic_access() fails to indicate
the memory write does not be performed. Meanwhile the existing
function iwl_write_targ_mem() also been updated by using
_iwl_write_targ_mem_words() in a single word case.

Signed-off-by: Kenny Hsu <kenny.hsu@intel.com>
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
drivers/net/wireless/iwlwifi/iwl-io.c
drivers/net/wireless/iwlwifi/iwl-io.h