]> git.karo-electronics.de Git - linux-beck.git/commit
iwlwifi: simplify scheduler memory clearing
authorJohannes Berg <johannes.berg@intel.com>
Tue, 8 Jan 2013 23:47:07 +0000 (00:47 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 16 Jan 2013 13:19:14 +0000 (14:19 +0100)
commit22dc3c9561825a7c2cd18d01b01358c2141a8e16
tree85e7001820ab48ec8bd648862cd3a8ffb7c59595
parent01387ffd19f37b4026fd0e4c32260bc25f6469d4
iwlwifi: simplify scheduler memory clearing

Writing 130 dwords into the device one by one is
rather inefficient, every one needs to lock, grab
NIC access (a few register reads/writes) and then
write the address and data registers.

Use the new memory clearing function to make this
easier and faster.

Reviewed-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/iwlwifi/pcie/tx.c