1. 11 1月, 2006 3 次提交
  2. 09 1月, 2006 1 次提交
    • 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
  3. 07 1月, 2006 16 次提交
  4. 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
  5. 05 1月, 2006 2 次提交
  6. 24 12月, 2005 3 次提交
    • F
      [PATCH] s390: remove redundant and useless code in qeth · 3df3cc6d
      Frank Pavlic 提交于
      [patch 3/3] s390: remove redundant and useless code in qeth
      
      From: Frank Pavlic <pavlic@de.ibm.com>
      	- remove redundant and useless code in qeth for
      	  procfs operations.
      	- update Revision numbers
      Signed-off-by: NFrank Pavlic <pavlic@de.ibm.com>
      
      diffstat:
       qeth_main.c |    6 -
       qeth_mpc.c  |    2
       qeth_mpc.h  |    2
       qeth_proc.c |  250 ++++++------------------------------------------------------
       qeth_sys.c  |    4
       qeth_tso.h  |    4
       6 files changed, 38 insertions(+), 230 deletions(-)
      Signed-off-by: NJeff Garzik <jgarzik@pobox.com>
      3df3cc6d
    • F
      [PATCH] s390: minor qeth network driver fixes · 4965e97f
      Frank Pavlic 提交于
      [patch 2/3] s390: minor qeth network driver fixes
      
      From: Frank Pavlic <pavlic@de.ibm.com>
      	- use netif_carrier_on/off calls to tell network stack
      	  link carrier state
      	- fix possible kfree on NULL
      	- PDU_LEN2 is at offset 0x29 otherwise OSN chpid won't initialize
      Signed-off-by: NFrank Pavlic <pavlic@de.ibm.com>
      
      diffstat:
       qeth_eddp.c |    3 ++-
       qeth_main.c |   17 +++++++----------
       qeth_mpc.h  |    2 +-
       3 files changed, 10 insertions(+), 12 deletions(-)
      Signed-off-by: NJeff Garzik <jgarzik@pobox.com>
      4965e97f
    • F
      [PATCH] s390: some minor qeth driver fixes · 6c6b3e7c
      Frank Pavlic 提交于
      [patch 1/3] s390: some minor qeth driver fixes
      
      From: Frank Pavlic <pavlic@de.ibm.com>
      	- let's have just one function for both ,input and output queue
      	  to check qdio errors
      	- add /proc/s390dbf/qeth_qerr entries for outbound processing
      	- check removed for layer2 device in qeth_add_multicast_ipv6
      	- NULL pointer dereference with bonding and VLAN device fixed
      	- minimum length check for portname fixed
      Signed-off-by: NFrank Pavlic <pavlic@de.ibm.com>
      
      diffstat:
      qeth_main.c |   42 +++++++++++++++++++++---------------------
      qeth_sys.c  |    6 +++---
      2 files changed, 24 insertions(+), 24 deletions(-)
      Signed-off-by: NJeff Garzik <jgarzik@pobox.com>
      6c6b3e7c
  7. 02 12月, 2005 4 次提交
  8. 18 11月, 2005 1 次提交
  9. 11 11月, 2005 7 次提交
  10. 09 11月, 2005 2 次提交