aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath6kl/htc.h
diff options
context:
space:
mode:
authorKalle Valo <kvalo@qca.qualcomm.com>2012-03-07 13:04:00 -0500
committerKalle Valo <kvalo@qca.qualcomm.com>2012-03-07 13:04:00 -0500
commit12eb9444a8df7ab4aa5f4c91f8e3049af5d9819b (patch)
treef41b0ec87bfefbec06da96a6679097f1a53c9f36 /drivers/net/wireless/ath/ath6kl/htc.h
parent8c9bb054f866cefd54bf7d551bf69a1ab3ff2089 (diff)
ath6kl: document all spinlocks
Also fixes quite a few checkpatch warnings like this: ath6kl/hif.h:226: CHECK: spinlock_t definition without comment Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath6kl/htc.h')
-rw-r--r--drivers/net/wireless/ath/ath6kl/htc.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath6kl/htc.h b/drivers/net/wireless/ath/ath6kl/htc.h
index 2de4d6fc1e32..5027ccc36b62 100644
--- a/drivers/net/wireless/ath/ath6kl/htc.h
+++ b/drivers/net/wireless/ath/ath6kl/htc.h
@@ -523,9 +523,16 @@ struct htc_target {
523 struct ath6kl_htc_credit_info *credit_info; 523 struct ath6kl_htc_credit_info *credit_info;
524 int tgt_creds; 524 int tgt_creds;
525 unsigned int tgt_cred_sz; 525 unsigned int tgt_cred_sz;
526
527 /* protects free_ctrl_txbuf and free_ctrl_rxbuf */
526 spinlock_t htc_lock; 528 spinlock_t htc_lock;
529
530 /* FIXME: does this protext rx_bufq and endpoint structures or what? */
527 spinlock_t rx_lock; 531 spinlock_t rx_lock;
532
533 /* protects endpoint->txq */
528 spinlock_t tx_lock; 534 spinlock_t tx_lock;
535
529 struct ath6kl_device *dev; 536 struct ath6kl_device *dev;
530 u32 htc_flags; 537 u32 htc_flags;
531 u32 rx_st_flags; 538 u32 rx_st_flags;