1. 20 9月, 2005 4 次提交
    • M
      [SCSI] fusion SAS support (mptsas driver) minor fix · e0fc15be
      Moore, Eric Dean 提交于
      On Thursday, September 15, 2005 6:22 AM, Christoph Hellwig wrote:
      > Looks good to me, except for the spurious scsi_print_command prototype
      > in mptscsih.h.
      
      The attached patch addresses that concern.
      Signed-off-by: NEric Moore <Eric.Moore@lsil.com>
      Signed-off-by: NJames Bottomley <James.Bottomley@SteelEye.com>
      e0fc15be
    • M
      [SCSI] fusion SAS support (mptsas driver) updates · 466544d8
      Moore, Eric Dean 提交于
      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: NEric Moore <Eric.Moore@lsil.com>
      Signed-off-by: NJames Bottomley <James.Bottomley@SteelEye.com>
      466544d8
    • C
      [SCSI] fusion SAS support (mptsas driver) · 0c33b27d
      Christoph Hellwig 提交于
      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: NChristoph Hellwig <hch@lst.de>
      Signed-off-by: NJames Bottomley <James.Bottomley@SteelEye.com>
      0c33b27d
    • C
      [SCSI] fusion core changes for SAS support · 82ffb671
      Christoph Hellwig 提交于
       - 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: NChristoph Hellwig <hch@lst.de>
      Signed-off-by: NJames Bottomley <James.Bottomley@SteelEye.com>
      82ffb671
  2. 19 9月, 2005 3 次提交
    • J
      [SCSI] Fix thread termination for the SCSI error handle · 3ed7a470
      James Bottomley 提交于
      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: NAlan Stern <stern@rowland.harvard.edu>
      
      Modified to simplify the termination loop and correct the sleep condition.
      Signed-off-by: NJames Bottomley <James.Bottomley@SteelEye.com>
      3ed7a470
    • J
      [SCSI] fix oops on usb storage device disconnect · 939647ee
      James Bottomley 提交于
      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: NJames Bottomley <James.Bottomley@SteelEye.com>
      939647ee
    • A
      [SCSI] SCSI scanning and removal fixes · a64358db
      Alan Stern 提交于
      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: NAlan Stern <stern@rowland.harvard.edu>
      Signed-off-by: NJames Bottomley <James.Bottomley@SteelEye.com>
      a64358db
  3. 18 9月, 2005 1 次提交
  4. 16 9月, 2005 2 次提交
  5. 15 9月, 2005 4 次提交
  6. 14 9月, 2005 1 次提交
  7. 13 9月, 2005 25 次提交