summaryrefslogtreecommitdiffstats
path: root/drivers/mmc/host/s3cmci.h
diff options
context:
space:
mode:
authorBen Dooks <ben@simtec.co.uk>2009-10-02 00:44:18 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2009-10-02 01:11:15 +0200
commitc225889375fea2a542f1c9dedffec4c7b8ebc9ab (patch)
tree8ade1de61fa0286cfc32ef4e5c62ebaa821059c0 /drivers/mmc/host/s3cmci.h
parents3cmci: add debugfs support for examining driver and hardware state (diff)
downloadlinux-c225889375fea2a542f1c9dedffec4c7b8ebc9ab.tar.xz
linux-c225889375fea2a542f1c9dedffec4c7b8ebc9ab.zip
s3cmci: add SDIO IRQ support
The controller supports SDIO IRQ detection so add support for hardware assisted SDIO interrupt detection for the SDIO core. This improves the response time for SDIO interrupts and thus the transfer rate from devices such as the Marvel 8686. As a note, it does seem that the controller will miss an IRQ than is held asserted, so there are some manual checks to see if the SDIO interrupt is active after a transfer. Major testing on the S3C2440. Signed-off-by: Ben Dooks <ben@simtec.co.uk> Cc: <linux-mmc@vger.kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/mmc/host/s3cmci.h')
-rw-r--r--drivers/mmc/host/s3cmci.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/mmc/host/s3cmci.h b/drivers/mmc/host/s3cmci.h
index fc96194a06f4..62fac6602306 100644
--- a/drivers/mmc/host/s3cmci.h
+++ b/drivers/mmc/host/s3cmci.h
@@ -42,6 +42,11 @@ struct s3cmci_host {
int dodma;
int dmatogo;
+ bool irq_disabled;
+ bool irq_enabled;
+ bool irq_state;
+ int sdio_irqen;
+
struct mmc_request *mrq;
int cmd_is_stop;