1. 29 3月, 2006 2 次提交
  2. 26 3月, 2006 1 次提交
  3. 24 3月, 2006 1 次提交
  4. 21 3月, 2006 1 次提交
  5. 05 3月, 2006 3 次提交
  6. 17 2月, 2006 1 次提交
  7. 09 2月, 2006 1 次提交
  8. 02 2月, 2006 1 次提交
  9. 14 1月, 2006 2 次提交
  10. 13 1月, 2006 1 次提交
  11. 10 1月, 2006 1 次提交
  12. 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
  13. 08 1月, 2006 3 次提交
  14. 07 1月, 2006 1 次提交
  15. 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
  16. 05 1月, 2006 3 次提交
  17. 04 1月, 2006 4 次提交
  18. 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
  19. 14 12月, 2005 1 次提交
  20. 05 12月, 2005 1 次提交
  21. 29 11月, 2005 1 次提交
  22. 13 11月, 2005 1 次提交
  23. 10 11月, 2005 4 次提交
  24. 08 11月, 2005 1 次提交
  25. 07 11月, 2005 1 次提交