1. 10 Apr, 2004 1 commit
    • James Bottomley's avatar
      Convert sd to kref and fix sd_open/sd_remove race · c23510ca
      James Bottomley authored
      We actually fix this race by mediating the object release/get race
      (i.e. we destroy the scsi_disk object when its reference count goes
      1->0, we use a semaphore to prevent something else trying to get a
      reference after or during this).
      
      The open/remove race is actually irrelevant because even if we open an
      already removed object, all that will happen is that we get a
      reference to a device that always returns EIO.
      c23510ca
  2. 08 Apr, 2004 1 commit
  3. 07 Apr, 2004 1 commit
  4. 06 Apr, 2004 1 commit
  5. 04 Apr, 2004 3 commits
    • Matthew Wilcox's avatar
      [PATCH] sym 2.1.18j · 05b649fb
      Matthew Wilcox authored
      sym 2.1.18j:
       - Add SPI transport attributes (James Bottomley)
       - Use generic code to do Domain Validation (James Bottomley)
       - Stop using scsi_to_pci_dma_dir() (Christoph Hellwig)
       - Change some constants to their symbolic names (Grant Grundler)
       - Handle a race between a postponed command completing and the EH retrying
         it (James Bottomley)
       - If the auto request sense fails, issue a device reset (James Bottomley)
      05b649fb
    • James Bottomley's avatar
      Fix scsi_device_get to allow NULL devices · be71c730
      James Bottomley authored
      Modification of patch from SLES-9
      be71c730
    • Kurt Garloff's avatar
      [PATCH] SCSI sense buffer size -> 96 · 8378b9c6
      Kurt Garloff authored
      some SCSI devices need more than 64bytes of sense buffer.
      I know about one: The IBM MagStar tapes report the necessity to be
      cleaned at bytes 70 and report 96 bytes in total.
      
      Attached patch increases the sense buffer size to 96 bytes.
      8378b9c6
  6. 02 Apr, 2004 1 commit
    • James Bottomley's avatar
      [PATCH] sd_shutdown cannot be called when in state SDEV_DEL · 7d613cda
      James Bottomley authored
      sd_remove calls sd_shutdown to finish I/O to the disc.  However, the
      state model puts the device in SDEV_DEL before triggering the
      sd_remove (which won't allow any further I/O at all).
      
      Fix by making SDEV_CANCEL the intermediate state and only transitioning to 
      SDEV_DEL after calling device_del().
      7d613cda
  7. 31 Mar, 2004 1 commit
  8. 30 Mar, 2004 1 commit
  9. 29 Mar, 2004 1 commit
  10. 27 Mar, 2004 5 commits
    • James Bottomley's avatar
      ServeRAID ( ips ) 7.00.15 · 73e07d1f
      James Bottomley authored
      ith the completion of testing at Adaptec and IBM, the latest version of
      the ServeRAID Linux device driver ( ips Version 7.00.15 )is now
      available. Attached is the patches against the previous ServeRAID
      releases.  Basically, this is a convergence to a common ips driver code
      base for the 2.4 and 2.6 kernels.  
      
      This driver is based on the driver currently in 2.6, so you while there
      appears to be lots of changes to the 2.4 driver,  the changes to the
      current 2.6 driver are trivial ( the only changes are  version number
      changes and the addition of some new adapter ID's ).  For 2.4, this was
      primarily a testing effort to ensure that the 2.6 driver code was stable
      when built for a 2.4 kernel. 
      73e07d1f
    • James Bottomley's avatar
      MPT Fusion driver 3.01.03 update · 547e26c1
      James Bottomley authored
      From: "Moore, Eric Dean" <Emoore@lsil.com>
      
      Changelog for mpt version 3.01.03:
      
      (1)  Fix fifo memory allocation under 64bit systems
      by merging 3 seperate memory allocations into one call.
      Before this fix, it was possible that these seperate 
      pci_alloc_consistent() calls were crossing the 4GB 
      hardware boundary.
      Delete the MPTBASE_MEM_ALLOC_FIFO_FIX logic.
      Backout recent ak@muc.de workaround.
      
      (2) Replace wrappers for CHIPREG_XXX with defines;
      per request from Jeff Garzik [jgarzik@pobox.com]
      
      (3) Remove support for FC909.
      
      (4) Remove PortIo modules parameter.
      
      (5) Move procmpt_destroy function before pci_unregister_driver,
      as the memory allocated for the proc was not being deallocated.
      
      (6) Remove mptscshi_reset_timeouts function. The timer was
      already expired when mod_timer is called.
      
      (7) Fix small bug in slave_destroy, which could prevent domain
      validation on hidden drive in a RAID volume.
      
      ----------------------------------------------------------------------
      
      Changelog for mpt version 3.01.02:
      
      (1) Andi Kleen[ak@suse.de]
      put warning "Device (0:0:0) reported QUEUE_FULL!" into debug messages
      
      (2) Alexander Stohr[Alexander.Stohr@gmx.de]
      fix warnings from mptscsih_setup when driver isn't compiled as module
      
      (3) Randy.Dunlap[rddunlap@osdl.org]
      Remove unnecessary min/max macros and change calls to 
      use kernel.h macros instead.
      547e26c1
    • Martin Hicks's avatar
      [PATCH] Add FC transport attributes support to qla2xxx · db2a43a6
      Martin Hicks authored
      Here is a patch that adds FC transport attributes to the qla2xxx driver.
      The patch should apply cleanly to a recent 2.6 kernel with the FC
      attributes update that I just sent to linux-scsi.
      db2a43a6
    • Martin Hicks's avatar
      [PATCH] Update FC transport attributes API · 632f641d
      Martin Hicks authored
      This patch brings the FC transport attributes up to date with the SPI
      attributes API.
      
      The only major change I made was to separate read-only attributes
      from read-write attributes.
      632f641d
    • Andrew Morton's avatar
      [PATCH] stack reduction: aic7xxx_old · 946c4a7f
      Andrew Morton authored
      From: Arjan van de Ven <arjanv@redhat.com>
      
      aic7xxx_old: constant array of PCI ID's can be static since it's read only
      946c4a7f
  11. 21 Mar, 2004 3 commits
    • James Bottomley's avatar
      [PATCH] More domain validation fixes and additions · cd06e33f
      James Bottomley authored
      Following testing in more extreme situations, the following problems
      turned up:
      
      - The error handler can offline the device during DV (most particularly
      true when transport parameters are undetectably mismatched).  Fixed by
      modifying the state model to allow this and then having DV set the
      device back online for the retry.
      
      - DV needs to be serialised.  Fixed by introducing a per device
      semaphore.
      
      - Cosmetically, it's nice to trigger DV from userland, so added a
      revalidate sysfs entry.
      cd06e33f
    • James Bottomley's avatar
      Merge mulgrave.(none):/home/jejb/BK/scsi-for-linus-2.6 · 1606be01
      James Bottomley authored
      into mulgrave.(none):/home/jejb/BK/scsi-misc-2.6
      1606be01
    • Andi Kleen's avatar
      [PATCH] Hack mptfusion to work on >4GB machines · 4ad1e20a
      Andi Kleen authored
      fusion needs several separately allocated coherent regions and
      requires that they all be in the same 4GB segment.  Obviously this may
      fail.  The hack is to force the coherent_dma_mask to 0xffffffff thus
      ensuring that all the allocations occur within the first 4GB.  This
      hack breaks Altix entirely.
      4ad1e20a
  12. 20 Mar, 2004 4 commits
  13. 19 Mar, 2004 17 commits