diff options
author | Alex Dubov <oakad@yahoo.com> | 2008-03-10 11:43:40 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-03-10 18:01:18 -0700 |
commit | 92b22d935fed1e4d88b9b6f9a674ab2a4272ee78 (patch) | |
tree | 021bfaaf98ce4af76c6761142fe6bcf3621fbd01 /include/linux/tifm.h | |
parent | 2a4f2568c22a381d7568314052c1dd40f6d3680a (diff) | |
download | linux-92b22d935fed1e4d88b9b6f9a674ab2a4272ee78.tar.gz linux-92b22d935fed1e4d88b9b6f9a674ab2a4272ee78.tar.bz2 linux-92b22d935fed1e4d88b9b6f9a674ab2a4272ee78.zip |
tifm: fix the MemoryStick host fifo handling code
Additional input received from JMicron on MemoryStick host interfaces showed
that some assumtions in fifo handling code were incorrect. This patch also
fixes data corruption used to occure during PIO transfers.
Signed-off-by: Alex Dubov <oakad@yahoo.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/tifm.h')
-rw-r--r-- | include/linux/tifm.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/tifm.h b/include/linux/tifm.h index da76ed85f595..848c0f392541 100644 --- a/include/linux/tifm.h +++ b/include/linux/tifm.h @@ -70,9 +70,9 @@ enum { #define TIFM_FIFO_ENABLE 0x00000001 #define TIFM_FIFO_READY 0x00000001 +#define TIFM_FIFO_MORE 0x00000008 #define TIFM_FIFO_INT_SETALL 0x0000ffff #define TIFM_FIFO_INTMASK 0x00000005 -#define TIFM_FIFO_SIZE 0x00000200 #define TIFM_DMA_RESET 0x00000002 #define TIFM_DMA_TX 0x00008000 |