aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath10k/pci.h
diff options
context:
space:
mode:
authorMichal Kazior <michal.kazior@tieto.com>2013-11-25 14:06:26 +0100
committerKalle Valo <kvalo@qca.qualcomm.com>2013-11-27 16:45:33 +0200
commitab977bd04bd56edf473e0317eb2370abba04356c (patch)
tree024170cc7853daaa16fba7bca5d4f2a5f6349e6c /drivers/net/wireless/ath/ath10k/pci.h
parentath10k: extract functions for legacy irq handling (diff)
downloadlinux-dev-ab977bd04bd56edf473e0317eb2370abba04356c.tar.xz
linux-dev-ab977bd04bd56edf473e0317eb2370abba04356c.zip
ath10k: re-add support for early fw indication
It's possible for FW to panic during early boot. The patch re-introduces support to detect and print those crashes. This introduces an additional irq handler that is set for the duration of early boot and shutdown. The handler is then overriden with regular handlers upon hif start(). Signed-off-by: Michal Kazior <michal.kazior@tieto.com> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath10k/pci.h')
-rw-r--r--drivers/net/wireless/ath/ath10k/pci.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath10k/pci.h b/drivers/net/wireless/ath/ath10k/pci.h
index 73a3d4ee6ebf..a4f32038c440 100644
--- a/drivers/net/wireless/ath/ath10k/pci.h
+++ b/drivers/net/wireless/ath/ath10k/pci.h
@@ -198,6 +198,7 @@ struct ath10k_pci {
struct tasklet_struct intr_tq;
struct tasklet_struct msi_fw_err;
+ struct tasklet_struct early_irq_tasklet;
int started;