1. 19 Sep, 2005 5 commits
    • Moore, Eric Dean's avatar
      [SCSI] fusion SAS support (mptsas driver) updates · 466544d8
      Moore, Eric Dean authored
      Summary of Changes:
      * splitting mpt_interrupt per Christophs suggestion
      about a month ago
      * rename ScsiCfgData to SpiCfgData structure,
      then move all the raid related info into
      new structure called RaidCfgData.  This is
      done because SAS supports RAID, as well as SPI,
      so the raid stuff should be seperate.
      * incorrect timeout calculation for cntdn
      inside WaitForDoorbellAck and WaitForDoortbellInt
      * add support for interpreting SAS Log Info
      * Increase Event Log Size from 0xA to 0x32
      * Fix bug in mptsas/mptfc/mptspi - when controller
      has Initiator Mode Disabled, and only running in
      TargetMode, the mptctl would panic when loading.
      The fix is to return 0, instead of -ENODEV, in
      SCSI LLD respective probe routines
      * Fix bug in mptlan.c - driver will panic if
      there is host reset, due to dev being set to
      zero in mpt_lan_ioc_reset
      * Fix's for SPI - Echo Buffer
      * Several fix's in mptscsih_io_done - FCP Response
      info, RESIDUAL_MISMATCH, Data Underrun, etc.
      * Cleanup Error Handling - EH handlers,
      mptscsih_flush_cmds, and zeroing out ScsiLookup
      from mptscsih_qcmd
      * Cleanup asyn event handling from
      mptscsih -> mptscsih_event_process.  Also
      added support for SAS Persistent Table Full,
      an asyn event
      Signed-off-by: default avatarEric Moore <Eric.Moore@lsil.com>
      Signed-off-by: default avatarJames Bottomley <James.Bottomley@SteelEye.com>
      466544d8
    • Christoph Hellwig's avatar
      [SCSI] fusion SAS support (mptsas driver) · 0c33b27d
      Christoph Hellwig authored
      Adds the actual mptsas driver, based upon the LSI driver with new work
      for SAS transport class integration from Eric Moore and me.
      
      This obviously depends on the SAS transport class.
      Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
      Signed-off-by: default avatarJames Bottomley <James.Bottomley@SteelEye.com>
      0c33b27d
    • Christoph Hellwig's avatar
      [SCSI] fusion core changes for SAS support · 82ffb671
      Christoph Hellwig authored
       - various bits for SAS support from the LSI driver.
       - use the device private data for the fusion target private data.
         this should be using the midlayer target data framework, but we
         can't move over to that until fusion has been switched to the
         generic DV code
       - use target ID and channel from the fusion target private data,
         because those in scsi_device will be different for mptsas
      Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
      Signed-off-by: default avatarJames Bottomley <James.Bottomley@SteelEye.com>
      82ffb671
    • James Bottomley's avatar
      [SCSI] Fix thread termination for the SCSI error handle · 3ed7a470
      James Bottomley authored
      From: 	Alan Stern <stern@rowland.harvard.edu>
      
      This patch (as561) fixes the error handler's thread-exit code.  The
      kthread_stop call won't wake the thread from a down_interruptible, so
      the patch gets rid of the semaphore and simply does
      
              set_current_state(TASK_INTERRUPTIBLE);
      Signed-off-by: default avatarAlan Stern <stern@rowland.harvard.edu>
      
      Modified to simplify the termination loop and correct the sleep condition.
      Signed-off-by: default avatarJames Bottomley <James.Bottomley@SteelEye.com>
      3ed7a470
    • James Bottomley's avatar
      [SCSI] fix oops on usb storage device disconnect · 939647ee
      James Bottomley authored
      We fix the oops by enforcing the host state model.  There have also
      been two extra states added: SHOST_CANCEL_RECOVERY and
      SHOST_DEL_RECOVERY so we can take the model through host removal while
      the recovery thread is active.
      Signed-off-by: default avatarJames Bottomley <James.Bottomley@SteelEye.com>
      939647ee
  2. 18 Sep, 2005 1 commit
    • Alan Stern's avatar
      [SCSI] SCSI scanning and removal fixes · a64358db
      Alan Stern authored
      This patch (as545) fixes the list traversals in __scsi_remove_target and
      scsi_forget_host.  In each case the existing code list_for_each_entry_safe
      in an _unsafe_ manner, because the list was not protected from outside
      modification while the iteration was running.
      
      The new scsi_forget_host routine takes the moderately controversial step
      of iterating over devices for removal rather than iterating over targets.
      This makes more sense to me because the current scheme treats targets as
      second-class citizens, created and removed on demand, rather than as
      objects corresponding to actual hardware.  (Also I couldn't figure out any
      safe way to iterate over the target list, since it's not so easy to tell
      when a target has already been removed.)
      Signed-off-by: default avatarAlan Stern <stern@rowland.harvard.edu>
      Signed-off-by: default avatarJames Bottomley <James.Bottomley@SteelEye.com>
      a64358db
  3. 17 Sep, 2005 1 commit
  4. 16 Sep, 2005 2 commits
  5. 15 Sep, 2005 1 commit
  6. 14 Sep, 2005 3 commits
  7. 13 Sep, 2005 9 commits
  8. 12 Sep, 2005 18 commits