1. 13 4月, 2006 1 次提交
  2. 20 3月, 2006 1 次提交
  3. 15 3月, 2006 1 次提交
    • J
      [SCSI] add preliminary expander support to the sas transport class · 79cb1819
      James Bottomley 提交于
      This patch makes expanders appear as labelled objects with properties in
      the SAS tree.
      
      I've also modified the phy code to make expander phys appear labelled by
      host number, expander number and phy index.
      
      So, for my current config, you see something like this in sysfs:
      
      /sys/class/scsi_host/host1/device/phy-1:4/expander-1:0/phy-1-0:12/rphy-1:0-12/target1:0:1
      
      And the expander properties are:
      
      jejb@sparkweed> cd /sys/class/sas_expander/expander-1\:0/
      jejb@sparkweed> for f in *; do echo -n $f ": "; cat $f; done
      component_id : 29024
      component_revision_id : 4
      component_vendor_id : VITESSE
      device : cat: device: Is a directory
      level : 0
      product_id : VSC7160 Eval Brd
      product_rev : 4
      uevent : cat: uevent: Permission denied
      vendor_id : VITESSE
      Signed-off-by: NJames Bottomley <James.Bottomley@SteelEye.com>
      79cb1819
  4. 10 3月, 2006 1 次提交
  5. 06 3月, 2006 1 次提交
  6. 03 3月, 2006 2 次提交
  7. 28 2月, 2006 2 次提交
  8. 01 2月, 2006 1 次提交
  9. 15 1月, 2006 3 次提交
  10. 13 1月, 2006 1 次提交
  11. 07 11月, 2005 1 次提交
  12. 29 10月, 2005 3 次提交
  13. 26 9月, 2005 1 次提交
  14. 10 9月, 2005 2 次提交
    • J
    • C
      [SCSI] SAS transport class · c7ebbbce
      Christoph Hellwig 提交于
      The SAS transport class contains common code to deal with SAS HBAs, an
      aproximated representation of SAS topologies in the driver model,
      and various sysfs attributes to expose these topologies and managment
      interfaces to userspace.
      
      In addition to the basic SCSI core objects this transport class introduces
      two additional intermediate objects:  The SAS PHY as represented by struct
      sas_phy defines an "outgoing" PHY on a SAS HBA or Expander, and the SAS
      remote PHY represented by struct sas_rphy defines an "incoming" PHY on a
      SAS Expander or end device.  Note that this is purely a software concept, the
      underlying hardware for a PHY and a remote PHY is the exactly the same.
      
      There is no concept of a SAS port in this code, users can see what PHYs
      form a wide port based on the port_identifier attribute, which is the same
      for all PHYs in a port.
      
      This submission doesn't handle hot-plug addition or removal of SAS devices
      and thus doesn't do scanning in a workqueue yet, that will be added in
      phase2 after this submission.  In a third phase I will add additional
      managment infrastructure.
      
      I think this submission is ready for 2.6.14, but additional comments are
      of course very welcome.
      
      I'd like to thanks James Smart a lot for his very useful input on the
      design.
      Signed-off-by: NChristoph Hellwig <hch@lst.de>
      Signed-off-by: NJames Bottomley <James.Bottomley@SteelEye.com>
      c7ebbbce