1. 19 6月, 2006 1 次提交
    • R
      [MMC] Convert all hosts except mmci to use data->blksz · a3fd4a1b
      Russell King 提交于
      The MMC specification allows non-power of two block sizes.  As such,
      we should not pass the log2 block size to host drivers, but instead
      pass the byte size.
      
      However, ARM MMCI can only work with log2 block size, so continue to
      pass both the log2 block size and byte block size.  This means that
      for the moment, the byte block size must remain a power of two, but
      this is the first stage of removing this restriction for other hosts.
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      a3fd4a1b
  2. 13 6月, 2006 1 次提交
  3. 05 6月, 2006 1 次提交
  4. 24 5月, 2006 1 次提交
  5. 20 5月, 2006 1 次提交
  6. 05 5月, 2006 1 次提交
  7. 04 5月, 2006 1 次提交
  8. 03 5月, 2006 3 次提交
  9. 30 4月, 2006 1 次提交
  10. 24 4月, 2006 1 次提交
  11. 03 4月, 2006 2 次提交
  12. 29 3月, 2006 2 次提交
  13. 26 3月, 2006 1 次提交
  14. 24 3月, 2006 1 次提交
  15. 21 3月, 2006 1 次提交
  16. 05 3月, 2006 3 次提交
  17. 17 2月, 2006 1 次提交
  18. 09 2月, 2006 1 次提交
  19. 02 2月, 2006 1 次提交
  20. 14 1月, 2006 2 次提交
  21. 13 1月, 2006 1 次提交
  22. 10 1月, 2006 1 次提交
  23. 09 1月, 2006 2 次提交
    • C
      [PATCH] Add block_device_operations.getgeo block device method · a885c8c4
      Christoph Hellwig 提交于
      HDIO_GETGEO is implemented in most block drivers, and all of them have to
      duplicate the code to copy the structure to userspace, as well as getting
      the start sector.  This patch moves that to common code [1] and adds a
      ->getgeo method to fill out the raw kernel hd_geometry structure.  For many
      drivers this means ->ioctl can go away now.
      
      [1] the s390 block drivers are odd in this respect.  xpram sets ->start
          to 4 always which seems more than odd, and the dasd driver shifts
          the start offset around, probably because of it's non-standard
          sector size.
      Signed-off-by: NChristoph Hellwig <hch@lst.de>
      Cc: Jens Axboe <axboe@suse.de>
      Cc: <mike.miller@hp.com>
      Cc: Jeff Dike <jdike@addtoit.com>
      Cc: Paolo Giarrusso <blaisorblade@yahoo.it>
      Cc: Bartlomiej Zolnierkiewicz <B.Zolnierkiewicz@elka.pw.edu.pl>
      Cc: Neil Brown <neilb@cse.unsw.edu.au>
      Cc: Markus Lidel <Markus.Lidel@shadowconnect.com>
      Cc: Russell King <rmk@arm.linux.org.uk>
      Cc: David Woodhouse <dwmw2@infradead.org>
      Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
      Cc: James Bottomley <James.Bottomley@steeleye.com>
      Signed-off-by: NAdrian Bunk <bunk@stusta.de>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      a885c8c4
    • P
      [MMC] Lindent wbsd driver · cfa7f521
      Pierre Ossman 提交于
      Fix the coding style in the wbsd driver once and for all.
      Signed-off-by: NPierre Ossman <drzeus@drzeus.cx>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      cfa7f521
  24. 08 1月, 2006 3 次提交
  25. 07 1月, 2006 1 次提交
  26. 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
  27. 05 1月, 2006 3 次提交
  28. 04 1月, 2006 1 次提交