13 Sep, 2005
2 commits
-
The wbsd driver's card detection routing is a bit of a mess. This
patch cleans up the routine and makes it a bit more comprihensible.Signed-off-by: Pierre Ossman
Signed-off-by: Russell King -
Remove timer that was left from earlier cleanup.
Signed-off-by: Pierre Ossman
Signed-off-by: Russell King
12 Sep, 2005
1 commit
-
Clean out trailing whitespace caused by not-so-great editor since it
generates a lot of problems with editors configured to automatically
strip whitespace.Signed-off-by: Pierre Ossman
Signed-off-by: Russell King
10 Sep, 2005
1 commit
-
Convert wbsd to use the new delay functionality in mmc_detect_change()
rather than implementing its own timer.Signed-off-by: Russell King
09 Sep, 2005
2 commits
-
Allow PXA platforms to pass an appropriate delay value to the
PXA MCI driver for delaying detection changes.Signed-Off-By: Richard Purdie
Signed-off-by: Russell King -
Change mmc_detect_change() to take a delay argument such that
the detection of card insertions and removals can be delayed
according to the requirements of the host driver or platform.Signed-off-by: Richard Purdie
Signed-off-by: Russell King
08 Sep, 2005
9 commits
-
Only show the scr file in sysfs for SD cards. Previously this was present
for all cards but had a contents of 0 for MMC cards.Signed-off-by: Pierre Ossman
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
Add support for Secure Digital specific features in the wbsd driver. Adds
support for read-only switch and wide bus transfers.Signed-off-by: Pierre Ossman
Cc: Russell King
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
Add a write protection switch handling code to the PXA MMC driver so
that platform specific code can provide it if available.Signed-off-by: Richard Purdie
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
Credit where credit is due.
Signed-off-by: Pierre Ossman
Cc: Russell King
Cc: David Brownell
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
Infrastructure for 4-bit bus transfers with SD cards.
Signed-off-by: Pierre Ossman
Cc: Russell King
Cc: David Brownell
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
Export the SCR register through sysfs.
Signed-off-by: Pierre Ossman
Cc: Russell King
Cc: David Brownell
Cc: Greg KH
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
Read the SD specific SCR register from the card.
Signed-off-by: Pierre Ossman
Cc: Russell King
Cc: David Brownell
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
Support for the read-only switch on SD cards which must be enforced by the
host.Signed-off-by: Pierre Ossman
Cc: Russell King
Cc: David Brownell
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
Support for the Secure Digital protocol in the MMC layer.
A summary of the legal issues surrounding SD cards, as understood by yours
truly:Members of the Secure Digital Association, hereafter SDA, are required to sign
a NDA[1] before given access to any specifications. It has been speculated
that including an SD implementation would forbid these members to redistribute
Linux. This is the basic problem with SD support so it is unclear if it even
is a problem since it has no effect on those of us that aren't members.The SDA doesn't seem to enforce these rules though since the patches included
here are based on documentation made public by some of the members. The most
complete specs[2] are actually released by Sandisk, one of the founding
companies of the SDA.Because of this the NDA is considered a non-issue by most involved in the
discussions concerning these patches. It might be that the SDA is only
interested in protecting the so called "secure" bits of SD, which so far
hasn't been found in any public spec. (The card is split into two sections,
one "normal" and one "secure" which has an access scheme similar to TPM:s).(As a side note, Microsoft is working to make things easier for us since they
want to be able to include the source code for a SD driver in one of their
development kits. HP is making sure that the new NDA will allow a Linux
implementation. So far only the SDIO specs have been opened up[3]. More will
hopefully follow.)[1] http://www.sdcard.org/membership/images/ippolicy.pdf
[2] http://www.sandisk.com/pdf/oem/ProdManualSDCardv1.9.pdf
[3] http://www.sdcard.org/sdio/Simplified%20SDIO%20Card%20Specification.pdfThis patch contains the central parts of the SD support. If no MMC cards are
found on a bus then the MMC layer proceeds looking for SD cards. Helper
functions are extended to handle the special needs of SD cards.Signed-off-by: Pierre Ossman
Cc: Russell King
Cc: David Brownell
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
03 Sep, 2005
2 commits
-
Use the chip select ios in the wbsd driver.
Signed-off-by: Pierre Ossman
Signed-off-by: Russell King -
Adds a new ios for setting the chip select pin on MMC cards. Needed on
SD controllers which use this pin for other things and therefore cannot
have it pulled high at all times.Signed-off-by: Pierre Ossman
Signed-off-by: Russell King
19 Aug, 2005
4 commits
-
Signed-off-by: Russell King
-
There's no point in having the host name duplicated between
the mmc_host structure and the encapsulated class device
structure.Signed-off-by: Russell King
-
Create a mmc_host class to allow enumeration of MMC host controllers
even though they have no card(s) inserted.Patch based on work by Pierre Ossman.
Signed-off-by: Russell King
-
mmc_hostname() returns a pointer to the hostname for the mmc_host.
Signed-off-by: Russell King
11 Aug, 2005
1 commit
-
Even though the changes are minor for the next release an increasing
version number simplifies my support issues.Signed-off-by: Pierre Ossman
Signed-off-by: Linus Torvalds
28 Jul, 2005
1 commit
-
`gcc -W' likes to complain if the static keyword is not at the beginning of
the declaration. This patch fixes all remaining occurrences of "inline
static" up with "static inline" in the entire kernel tree (140 occurrences in
47 files).While making this change I came across a few lines with trailing whitespace
that I also fixed up, I have also added or removed a blank line or two here
and there, but there are no functional changes in the patch.Signed-off-by: Jesper Juhl
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
01 Jul, 2005
3 commits
-
This patch contains the following possible cleanups:
- make some needlessly global code static
- remove the unneeded global function DBG_REGSigned-off-by: Adrian Bunk
Signed-off-by: Russell King -
Wait 0.5 seconds before scanning for cards after an insertion interrupt.
The electrical connection needs this time to stabilise for some cards.Signed-off-by: Pierre Ossman
Signed-off-by: Russell King -
Use do_div() instead.
Signed-off-by: Russell King
21 Jun, 2005
1 commit
-
… update device attribute callbacks
Signed-off-by: Yani Ioannou <yani.ioannou@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
21 May, 2005
1 commit
-
Defines for the different command classes as defined in the MMC and SD
specifications.Removes the check for high command classes and instead checks that the
command classes needed are present.
Previous solution killed forward compatibility at no apparent gain.Signed-of-by: Pierre Ossman
09 May, 2005
1 commit
-
Updates to the wbsd driver.
* Fix to handle DAT3 card detection.
* Fixed bug which could cause large writes to stall in FIFO mode.
* Plug 'n Play support. In most cases you need ACPI PNP for this to work.
* Uses generic DMA API (ISA dependency removed).
04 May, 2005
1 commit
-
Drivers that expect ISA DMA API are marked as such in Kconfig.
Signed-off-by: Al Viro
Signed-off-by: Linus Torvalds
17 Apr, 2005
2 commits
-
This fixes u32 vs. pm_message_t in drivers/mmc, drivers/mtd and
drivers/scsi.Signed-off-by: Pavel Machek
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
Initial git repository build. I'm not bothering with the full history,
even though we have it. We can create a separate "historical" git
archive of that later if we want to, and in the meantime it's about
3.2GB when imported into git - space that would just make the early
git days unnecessarily complicated, when we don't have a lot of good
infrastructure for it.Let it rip!