1. 06 1月, 2006 1 次提交
    • T
      [BLOCK] add @uptodate to end_that_request_last() and @error to rq_end_io_fn() · 8ffdc655
      Tejun Heo 提交于
      add @uptodate argument to end_that_request_last() and @error
      to rq_end_io_fn().  there's no generic way to pass error code
      to request completion function, making generic error handling
      of non-fs request difficult (rq->errors is driver-specific and
      each driver uses it differently).  this patch adds @uptodate
      to end_that_request_last() and @error to rq_end_io_fn().
      
      for fs requests, this doesn't really matter, so just using the
      same uptodate argument used in the last call to
      end_that_request_first() should suffice.  imho, this can also
      help the generic command-carrying request jens is working on.
      Signed-off-by: Ntejun heo <htejun@gmail.com>
      Signed-Off-By: NJens Axboe <axboe@suse.de>
      8ffdc655
  2. 23 12月, 2005 1 次提交
    • R
      [MMC] Set correct capacity for 1024-byte block cards · d2b18394
      Russell King 提交于
      We were passing set_capacity() the capacity we calculated in terms of
      the number of blocks on the card, which happened to be the right units
      for 512-byte block cards.  However, with 1024-byte block cards, we
      end up setting the capacity to half the number of blocks.  Fix this
      by shifting by the appropriate amount.
      
      Thanks to Todd Blumer for pointing this out.
      
      Use get_capacity() to report the card capacity, rather than
      recalculating it from the CSD information.
      
      Finally, use our chosen IO block size for the SET_BLOCKLEN command
      rather than the CSD read block size.  Currently these are equivalent,
      but will not be in the future.
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      d2b18394
  3. 05 11月, 2005 1 次提交
  4. 30 10月, 2005 1 次提交
  5. 08 9月, 2005 1 次提交
  6. 21 5月, 2005 1 次提交
    • P
      [PATCH] MMC: Proper MMC command classes support · 912490db
      Pierre Ossman 提交于
      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
      912490db
  7. 17 4月, 2005 1 次提交
    • L
      Linux-2.6.12-rc2 · 1da177e4
      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!
      1da177e4