]> 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)
commit61ffbe8c9c34105905a430bcd3f6efd5ed0bcf3c
treea826ecf0ced428dffaf06cf3a0d4a0ae3e38ecc0
parenta1247b5e11d405d8821781bb9294e8099ac33fe9
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