]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: give PCIe its own lock
authorJohannes Berg <johannes.berg@intel.com>
Sun, 5 Feb 2012 21:55:11 +0000 (13:55 -0800)
committerWey-Yi Guy <wey-yi.w.guy@intel.com>
Fri, 17 Feb 2012 18:11:52 +0000 (10:11 -0800)
commita7908119b8d78d17c2365b06974ad2322428dc1d
treea826ecf0ced428dffaf06cf3a0d4a0ae3e38ecc0
parent2ad20df5ab812f3f5cfb6a747a43bf2dd3c7befa
iwlwifi: give PCIe its own lock

Instead of using a global lock, the PCIe transport
can use an own lock for its IRQ. This will make it
possible to not disable IRQs for the shared lock.
The lock is currently used throughout the code but
this can be improved even further by splitting up
the locking for the queues.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Reviewed-by: Wey-Yi W Guy <wey-yi.w.guy@intel.com>
drivers/net/wireless/iwlwifi/iwl-trans-pcie-int.h
drivers/net/wireless/iwlwifi/iwl-trans-pcie-rx.c
drivers/net/wireless/iwlwifi/iwl-trans-pcie-tx.c
drivers/net/wireless/iwlwifi/iwl-trans-pcie.c