summaryrefslogtreecommitdiffstats
path: root/include/linux/tifm.h
diff options
context:
space:
mode:
authorAlex Dubov <oakad@yahoo.com>2007-04-12 17:05:23 +1000
committerPierre Ossman <drzeus@drzeus.cx>2007-05-01 13:04:14 +0200
commit72dc9d9619dd4682f4197e7a7f19af22fd6516a7 (patch)
treefc761d3189979ddfec88848fb744d8275cf812c3 /include/linux/tifm.h
parentdfef26d9aad4f983da232b259ee7f7faec479b2d (diff)
downloadop-kernel-dev-72dc9d9619dd4682f4197e7a7f19af22fd6516a7.zip
op-kernel-dev-72dc9d9619dd4682f4197e7a7f19af22fd6516a7.tar.gz
tifm_sd: replace command completion state machine with full checking
State machine used to to track mmc command state was found to be fragile and unreliable, making many cards unusable. The safer solution is to perform all needed checks at every card event. Signed-off-by: Alex Dubov <oakad@yahoo.com> Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
Diffstat (limited to 'include/linux/tifm.h')
-rw-r--r--include/linux/tifm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/tifm.h b/include/linux/tifm.h
index 82da028..c8449fc 100644
--- a/include/linux/tifm.h
+++ b/include/linux/tifm.h
@@ -67,6 +67,7 @@ enum {
#define TIFM_SOCK_STATE_POWERED 0x00000080
#define TIFM_FIFO_ENABLE 0x00000001 /* Meaning of this constant is unverified */
+#define TIFM_FIFO_READY 0x00000001 /* Meaning of this constant is unverified */
#define TIFM_FIFO_INT_SETALL 0x0000ffff
#define TIFM_FIFO_INTMASK 0x00000005 /* Meaning of this constant is unverified */
OpenPOWER on IntegriCloud