1. 24 9月, 2006 1 次提交
    • R
      [MMC] MMC_CAP_BYTEBLOCK flag for non-log2 block sizes capable hosts · 42431acb
      Russell King 提交于
      Some MMC hosts can only handle log2 block sizes.  Unfortunately,
      the MMC password support needs to be able to send non-log2 block
      sizes.  Provide a capability so that the MMC password support can
      decide whether it should use this support or not.
      
      The unfortunate side effect of this host limitation is that any
      MMC card protected by a password which is not a log2 block size
      can not be accessed on a host which only allows a log2 block size.
      
      This change just adds the flag.  The MMC password support code
      needs updating to use it (if and when it is finally submitted.)
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      42431acb
  2. 16 9月, 2006 1 次提交
    • R
      [MMC] Add multi block-write capability · db53f28b
      Russell King 提交于
      Add a capability flag for drivers to set when they can perform multi-
      block transfers to cards _and_ correctly report the number of bytes
      transferred should an error occur.
      
      The last point is very important - if a driver reports more bytes than
      were actually accepted by the card and an error occurs, there is the
      possibility for data loss.
      
      Pierre Ossman provided the patch for wbsd and sdhci.
      Signed-off-by: NPierre Ossman <drzeus@drzeus.cx>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      db53f28b
  3. 07 9月, 2006 1 次提交
  4. 09 9月, 2005 2 次提交
  5. 08 9月, 2005 3 次提交
    • P
      [PATCH] sd: SD 4-bit bus · f218278a
      Pierre Ossman 提交于
      Infrastructure for 4-bit bus transfers with SD cards.
      Signed-off-by: NPierre Ossman <drzeus@drzeus.cx>
      Cc: Russell King <rmk@arm.linux.org.uk>
      Cc: David Brownell <david-b@pacbell.net>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      f218278a
    • P
      [PATCH] sd: read-only switch · a00fc090
      Pierre Ossman 提交于
      Support for the read-only switch on SD cards which must be enforced by the
      host.
      Signed-off-by: NPierre Ossman <drzeus@drzeus.cx>
      Cc: Russell King <rmk@arm.linux.org.uk>
      Cc: David Brownell <david-b@pacbell.net>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      a00fc090
    • P
      [PATCH] sd: initialize SD cards · 335eadf2
      Pierre Ossman 提交于
      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.pdf
      
      This 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: NPierre Ossman <drzeus@drzeus.cx>
      Cc: Russell King <rmk@arm.linux.org.uk>
      Cc: David Brownell <david-b@pacbell.net>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      335eadf2
  6. 03 9月, 2005 1 次提交
  7. 19 8月, 2005 4 次提交
  8. 17 4月, 2005 2 次提交