11 Mar, 2008
1 commit
-
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
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
10 Feb, 2008
1 commit
-
Sony MemoryStick cards are used in many products manufactured by Sony.
They are available both as storage and as IO expansion cards. Currently,
only MemoryStick Pro storage cards are supported via TI FlashMedia
MemoryStick interface.[mboton@gmail.com: biuld fix]
[akpm@linux-foundation.org: build fix]
Signed-off-by: Alex Dubov
Signed-off-by: Miguel Boton
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
25 Jan, 2008
1 commit
-
Signed-off-by: Tony Jones
Cc: Alex Dubov
Cc: Kay Sievers
Signed-off-by: Greg Kroah-Hartman
09 May, 2007
1 commit
-
Socket power must be fully controlled by adapter driver. This also prevents
unnecessary power-off of the socket when media driver is unloaded, yet
media remains in the socket.Signed-off-by: Alex Dubov
Signed-off-by: Pierre Ossman
01 May, 2007
9 commits
-
Cosmetic changes to the code.
Signed-off-by: Alex Dubov
Signed-off-by: Pierre Ossman -
It was found that delays associated with issue and completion of the commands
severely limit performance of the new, fast SD cards. To alleviate this issue
scatter-gather emulation in software is implemented for both dma and pio
transfer modes. Non-block aligned and high memory sg entries are accounted
for.Signed-off-by: Alex Dubov
Signed-off-by: Pierre Ossman -
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
Signed-off-by: Pierre Ossman -
Some details of the device management (create, add, remove) are really
belong to the tifm_core, as they are not hardware specific.Signed-off-by: Alex Dubov
Signed-off-by: Pierre Ossman -
Some details of the adapter management (create, add, remove) are really
belong to the tifm_core, as they are not hardware specific.Signed-off-by: Alex Dubov
Signed-off-by: Pierre Ossman -
Freezeable workqueue makes sure that adapter work items (device insertions
and removals) would be handled after the system is fully resumed. Previously
this was achieved by explicit freezing of the kthread.Signed-off-by: Alex Dubov
Signed-off-by: Pierre Ossman -
Remove code duplicating the kernel functionality and clean up data
structures involved in driver matching.Signed-off-by: Alex Dubov
Signed-off-by: Pierre Ossman -
Signed-off-by: Alex Dubov
Signed-off-by: Pierre Ossman -
Instead of passing transformed value of adapter interrupt status to
socket drivers, implement two separate callbacks - one for card events
and another for dma events.Signed-off-by: Alex Dubov
Signed-off-by: Pierre Ossman
05 Feb, 2007
5 commits
-
Signed-off-by: Alex Dubov
Signed-off-by: Pierre Ossman -
As there's only one work item (media_switcher) to handle and it's effectively
serialized with itself, I found it more convenient to use kthread instead of
workqueue. This also allows for a working implementation of suspend/resume,
which were totally broken in the past version.Signed-off-by: Alex Dubov
Signed-off-by: Pierre Ossman -
Hardware does not say whether card was inserted or removed when reporting
socket events. Moreover, during suspend, media can be removed or switched
to some other card type without notification. Therefore, for each socket
in the change set the following is performed:
1. If there's active device in the socket it's unregistered
2. Media detection is performed
3. If detection recognizes supportable media, new device is registeredThis patch also alters some macros and variable names to enhance clarity.
Signed-off-by: Alex Dubov
Signed-off-by: Pierre Ossman -
Signed-off-by: Alex Dubov
Signed-off-by: Pierre Ossman -
In order to support correct suspend and resume several changes were needed:
1. Switch from work_struct to tasklet for command handling. When device
suspend is called workqueues are already frozen and can not be used.
2. Separate host initialization code from driver's probe and don't rely
on interrupts for host initialization. This, in turn, addresses two
problems:
a) Resume needs to re-initialize the host, but can not assume that
device interrupts were already re-armed.
b) Previously, probe will return successfully before really knowing
the state of the host, as host interrupts were not armed in time.
Now it uses polling to determine the real host state before returning.
3. Separate termination code from driver's remove. Termination may be caused
by resume, if media changed type or became unavailable during suspend.Signed-off-by: Alex Dubov
Signed-off-by: Pierre Ossman
09 Oct, 2006
1 commit
-
Signed-off-by: Al Viro
Signed-off-by: Linus Torvalds
04 Oct, 2006
1 commit
-
Driver for TI Flash Media card reader. At present, only MMC/SD cards are
supported.[akpm@osdl.org: cleanups, build fixes]
Signed-off-by: Alex Dubov
Cc: Daniel Qarras
Acked-by: Pierre Ossman
Cc: Russell King
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds