1. 19 Sep, 2005 4 commits
  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 1 commit
    • Andreas Herrmann's avatar
      [SCSI] change port speed definitions for scsi_transport_fc · 1832a586
      Andreas Herrmann authored
      
      
      obviously FC Port Speeds in scsi_transport_fc.h are defined according
      to FC-HBA:
      
      #define FC_PORTSPEED_1GBIT              1
      #define FC_PORTSPEED_2GBIT              2
      #define FC_PORTSPEED_10GBIT             4
      #define FC_PORTSPEED_4GBIT              8
      
      Problem is, whoever invented FC-HBA did not care about FC-FS or
      FC-GS-x. Following FC-FS/FC-GS-x defintions of port speeds would look
      like:
      
      1 GBit: 0x0001
      2 GBit: 0x0002
      4 GBit: 0x0004
      10GBit: 0x0008
      
      (and new in FC-LS:
      8 Gbit: 0x0010
      16GBit: 0x0020)
      
      I really appreciate if scsi_transport_fc.h would define port speeds
      according to FC-GS-x/FC-FS. Thus mapping of port speed capabilities to
      values defined in scsi_transport_fc.h can be avoided in the LLDD.
      
      Attached is a patch to change the definitions.
      Signed-off-by: default avatarJames Bottomley <James.Bottomley@SteelEye.com>
      1832a586
  5. 15 Sep, 2005 2 commits
  6. 14 Sep, 2005 3 commits
  7. 13 Sep, 2005 3 commits
  8. 12 Sep, 2005 25 commits