diff options
author | James Bottomley <James.Bottomley@steeleye.com> | 2006-03-13 13:50:04 -0600 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.il.steeleye.com> | 2006-03-14 12:36:19 -0600 |
commit | 79cb1819e231f811211133a09a5382cb89d7ec67 (patch) | |
tree | 2bc36e3165fe15614283f628e825e9320ca7ab8e /net | |
parent | c829c394165f981d49f05a9be228404d7a9398d4 (diff) | |
download | op-kernel-dev-79cb1819e231f811211133a09a5382cb89d7ec67.zip op-kernel-dev-79cb1819e231f811211133a09a5382cb89d7ec67.tar.gz |
[SCSI] add preliminary expander support to the sas transport class
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: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions