mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-26 00:21:17 +00:00
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>
This commit is contained in:
parent
2a4f2568c2
commit
92b22d935f
2 changed files with 271 additions and 269 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue