summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/wl12xx/wl1271.h
diff options
context:
space:
mode:
authorJuuso Oikarinen2010-02-22 07:38:37 +0100
committerJohn W. Linville2010-03-09 21:03:03 +0100
commit1e73eb62cec7cf78b7295769b6e51a915518f5a1 (patch)
tree3a9cafedbe96d9953a9bcaee86bad9510c04dadf /drivers/net/wireless/wl12xx/wl1271.h
parentwl1271: Don't mask interrupts while handling interrupt (diff)
downloadkernel-qcow2-linux-1e73eb62cec7cf78b7295769b6e51a915518f5a1.tar.gz
kernel-qcow2-linux-1e73eb62cec7cf78b7295769b6e51a915518f5a1.tar.xz
kernel-qcow2-linux-1e73eb62cec7cf78b7295769b6e51a915518f5a1.zip
wl1271: Implement looped IRQ handling
This patch implements looped IRQ handling. In essence, if a new interrupt is asserted by the FW while the host is processing the previous one, the host will directly proceed processing the new IRQ without leaving the handling function. Signed-off-by: Juuso Oikarinen <juuso.oikarinen@nokia.com> Reviewed-by: Teemu Paasikivi <ext-teemu.3.paasikivi@nokia.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/wl12xx/wl1271.h')
-rw-r--r--drivers/net/wireless/wl12xx/wl1271.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/wl12xx/wl1271.h b/drivers/net/wireless/wl12xx/wl1271.h
index 7f03f899b2b0..457ce725027a 100644
--- a/drivers/net/wireless/wl12xx/wl1271.h
+++ b/drivers/net/wireless/wl12xx/wl1271.h
@@ -371,6 +371,8 @@ struct wl1271 {
#define WL1271_FLAG_IN_ELP (6)
#define WL1271_FLAG_PSM (7)
#define WL1271_FLAG_PSM_REQUESTED (8)
+#define WL1271_FLAG_IRQ_PENDING (9)
+#define WL1271_FLAG_IRQ_RUNNING (10)
unsigned long flags;
struct wl1271_partition_set part;