1. 27 Oct, 2002 3 commits
  2. 26 Oct, 2002 3 commits
  3. 25 Oct, 2002 3 commits
    • Christoph Hellwig's avatar
      [PATCH] back out bogus init.h change · 55ce6346
      Christoph Hellwig authored
      sorry, the last patch I sent you contained a bogus change
      for include/linux/init.h (to get around a local compile problem).
      
      This patch backs it out.
      55ce6346
    • James Bottomley's avatar
      [PATCH scsi] use sector_div in scsicam.c · db7aff0b
      James Bottomley authored
      Thanks to Patrick Mansfield for pointing this out.
      db7aff0b
    • Christoph Hellwig's avatar
      [PATCH] sanitize ->bios_param prototype · 496a57cb
      Christoph Hellwig authored
      Currnetly the ->bios_param for host drivers exposes struct scsi_disk
      (aka Scsi_Disk or Disk) to each and every lowlevel driver, although
      this structure should be privated to the sd driver.
      
      All bios_param implementation do only use two fields:  .device and
      .capacity.  This patch passes down those two directly and gets
      rid of 99% of the sd.h inclusions (*).
      
      I've tried to not break any driver with this patch, but given the
      number of compiler errors in the current tree I might have missed
      one or two.
      
      (*) a bunch of drivers needed sd.h to get to scsi.h, I've fixed those.
      496a57cb
  4. 24 Oct, 2002 2 commits
  5. 22 Oct, 2002 6 commits
  6. 21 Oct, 2002 3 commits
    • Doug Ledford's avatar
      Update for new TCQ scheme · 9ccb0cb5
      Doug Ledford authored
      9ccb0cb5
    • Mike Anderson's avatar
      [PATCH] scsi sync caches w/ dev offline · 84a26cf5
      Mike Anderson authored
      When a scsi device is offlined and then the system is shutdown it will
      hang during the synchronizing SCSI caches task. The error handler was
      activated during this step, but post recovery the system did not
      complete the shutdown.
      
      This patch just adds a check for online before sending the command. The
      better approach appeared to be to use scsi_block_when_processing_errors,
      but I was concerned that we might block to long in a shutdown case.
      
      -andmike
      --
      Michael Anderson
      andmike@us.ibm.com
      
       sd.c |    3 +++
       1 files changed, 3 insertions(+)
      84a26cf5
    • Mike Anderson's avatar
      [PATCH] scsi_error device offline fix · 6532af8c
      Mike Anderson authored
      This patch corrects a problem in scsi error handling.
      
      When a device is offlined indicated by a message like ...Device offlined
      - not ready...
      
      the command return status was not being updated with a failure status if
      the IO was a timeout.
      
      I tested the patch on system with ips, aic, and qlogic fc adapters, but
      was unable to generate a satisfactory device offline test case.
      
      I did test this fix on uml with scsi_debug and generated a device
      offline condition with verified this fix was working correctly.
      
      -andmike
      --
      Michael Anderson
      andmike@us.ibm.com
      
       scsi_error.c |    8 ++++++--
       1 files changed, 6 insertions(+), 2 deletions(-)
      6532af8c
  7. 20 Oct, 2002 3 commits
    • John W. Fort's avatar
      In patch-2.5.44 Mike Anderson <andmike@us.ibm.com> made a cleanup to the · 6eadbe0c
      John W. Fort authored
      Scsi Host setup.
      
      This caused the following errors on trying to compile.
      
      drivers/scsi/inia100.c:98: unknown field `next' specified in initializer
      drivers/scsi/inia100.c:98: warning: missing braces around initializer
      drivers/scsi/inia100.c:98: warning: (near initialization for `driver_template.shtp_list')
      drivers/scsi/inia100.c:98: unknown field `module' specified in initializer
      drivers/scsi/inia100.c:98: unknown field `proc_name' specified in initializer
      drivers/scsi/inia100.c:98: warning: initialization from incompatible pointer type
      make[2]: *** [drivers/scsi/inia100.o] Error 1
      
      Several of the drivers Mike modified only had the one-line change to remove
      the 'next' field.  I tried it and bingo, it works and passed my tests.
      
      The version change is what Doug Ledford intended in patch-2.5.25 back in
      June 2002.  (See inia100.c "inia100_Version")
      
      6eadbe0c
    • Mike Anderson's avatar
      [PATCH] fix module unload of sg · f259cb39
      Mike Anderson authored
      	It looks like sg.c was missed in the update from put_device to
      	device_unregister.
      f259cb39
    • Christoph Hellwig's avatar
      [PATCH] remove dead EH methods · b980fa6f
      Christoph Hellwig authored
      break at compiletime instead of runtime
      
      
      ===== drivers/scsi/hosts.h 1.19 vs edited =====
      b980fa6f
  8. 18 Oct, 2002 17 commits
    • Linus Torvalds's avatar
      Linux v2.5.44 · ecf2c214
      Linus Torvalds authored
      ecf2c214
    • Patrick Mochel's avatar
      [PATCH] device removal · a49c4f6a
      Patrick Mochel authored
      The problem was that when the refcount hit 0, it was unconditionally
      assuming that it had been added, which is wrong.  The patch below
      corrects that, and fixes the Oops when loading the floppy driver.
      a49c4f6a
    • Linus Torvalds's avatar
      Merge bk://linuxusb.bkbits.net/pnp-2.5 · 441a964b
      Linus Torvalds authored
      into home.transmeta.com:/home/torvalds/v2.5/linux
      441a964b
    • Linus Torvalds's avatar
      Merge home.transmeta.com:/home/torvalds/v2.5/x86-64 · 76dd2761
      Linus Torvalds authored
      into home.transmeta.com:/home/torvalds/v2.5/linux
      76dd2761
    • Andi Kleen's avatar
      [PATCH] add linux/ioctl32.h header for 2.5.43 · 1a19232d
      Andi Kleen authored
      Several ports (x86-64,ppc64,sparc64) which do 32bit ioctl emulation
      have functions for drivers to let them define their own translation
      handlers. So far it was a bit complicated to use because there
      was no standard include file that declares the prototypes for this
      stuff. Then drivers and other subsystems can start to declare their own
      ioctl translation handlers.
      
      This patch add include/linux/ioctl32.h to fix this.
      
      The actual implementation is in arch specific code. It has been coordinated
      with DaveM and Anton.
      
      This patch is needed for the x86-64 merge I sent in separate mail.
      
      There is currently no preprocessor symbol that the drivers can test
      to see if they should use this. So far they have to check arch symbols.
      This will be fixed later when all 64bit ports that need it add the dynamic
      ioctl registration API too (that's ia64,s390x,mips64)
      1a19232d
    • Andi Kleen's avatar
      [PATCH] x86-64 updates for 2.5.43 · 3428c8d1
      Andi Kleen authored
      This fixes a few files that got lost with the last merge and merges
      with 2.5.43/i386.  Only changes architecture specific files.
      
      It depends on one other patch (for linux/ioctl32.h) which I'm sending
      separately.
      
      Changes:
      - Include missing files (pageattr.c) and Makefile changes
      - Update IA32 subsystem. Various small fixes and a big merge
        with sparc64.
      - Change HZ to 1000
      - Merge some of the 2.5.43/i386 profiling changes. No full oprofile yet.
      - Fix many warnings
      - Update defconfig
      - Various other smaller cleanups and bugfixes.
      3428c8d1
    • Alexander Viro's avatar
      [PATCH] stram switched to private queue · 1e215a63
      Alexander Viro authored
              * switched to private queues
              * set ->queue
      1e215a63
    • Linus Torvalds's avatar
      Merge master.kernel.org:/home/davem/BK/sparc-2.5 · 50fbecd2
      Linus Torvalds authored
      into home.transmeta.com:/home/torvalds/v2.5/linux
      50fbecd2
    • Alexander Viro's avatar
      [PATCH] nbd converted to private queue · 646fdb02
      Alexander Viro authored
              * switched to private queues
              * set ->queue and ->private_data
              * switched to use of ->bd_disk/->rq_disk
              * merged private blocksize, etc. arrays into nbd_dev[]
              * cleaned up
      646fdb02
    • Alexander Viro's avatar
      [PATCH] jsfd converted to use of private queue · 45552206
      Alexander Viro authored
              * switched to private queues
              * set ->queue and ->private_data
      	* switched to use of ->rq_disk
      45552206
    • Alexander Viro's avatar
      [PATCH] compile fixes · dceb2f49
      Alexander Viro authored
      	sbpcd.c: removes bogus duplicate definition of sbpcd_lock, use of
      CURRENT (we are using private queue) and call of invalidate_buffers() in
      ->media_changed() (caller does it itself).  That went in a changeset from
      davej - looks like a merge problem...
      	sr.c: braino in ifdefed printk - s/disk/cd->disk/.  Thanks to jejb
      for spotting that one...
      dceb2f49
    • Linus Torvalds's avatar
      Merge bk://linux-bt.bkbits.net/bt-2.5 · b1084bc3
      Linus Torvalds authored
      into home.transmeta.com:/home/torvalds/v2.5/linux
      b1084bc3
    • Linus Torvalds's avatar
      Merge master.kernel.org:/home/davem/BK/net-2.5 · f8735053
      Linus Torvalds authored
      into home.transmeta.com:/home/torvalds/v2.5/linux
      f8735053
    • David S. Miller's avatar
      Merge nuts.ninka.net:/home/davem/src/BK/sparcwork-2.5 · 07a6661a
      David S. Miller authored
      into nuts.ninka.net:/home/davem/src/BK/sparc-2.5
      07a6661a
    • David S. Miller's avatar
      50652320
    • Linus Torvalds's avatar
      Merge · ddd11110
      Linus Torvalds authored
      ddd11110
    • Dipankar Sarma's avatar
      [PATCH] RCU helper patchset 2/2 · a0b6c9c1
      Dipankar Sarma authored
      This adds a set of list macros that make handling of list protected
      by RCU simpler. The interfaces added are -
      
      list_add_rcu
      list_add_tail_rcu
      	- Adds an element by taking care of memory barrier (wmb()).
      
      list_del_rcu
      	- Deletes an element but doesn't re-initialize the pointers in
      	  the element for supporting RCU based traversal.
      
      list_for_each_rcu
      __list_for_each_rcu
      	- Traversal of RCU protected list - takes care of memory barriers
      	  transparently.
      a0b6c9c1