[SCSI] scsi_transport_iscsi: Added support to show port_state and port_speed in sysfs
authorVikas Chaudhary <vikas.chaudhary@qlogic.com>
Thu, 19 Jan 2012 11:06:55 +0000 (03:06 -0800)
committerJames Bottomley <JBottomley@Parallels.com>
Sun, 19 Feb 2012 14:08:54 +0000 (08:08 -0600)
commitaeddde2978f8931740032880134039fb937bb07c
tree8df6317dcd09ba6d13f24fe67c25ab9bcecf7dac
parent6c1b8789b0dd0ceeb04229f059dde08d84f28221
[SCSI] scsi_transport_iscsi: Added support to show port_state and port_speed in sysfs

sysfs patch to view port_state:
    /sys/class/iscsi_host/host*/port_state

sysfs patch to view port_speed:
    /sys/class/iscsi_host/host*/port_speed

Signed-off-by: Vikas Chaudhary <vikas.chaudhary@qlogic.com>
Reviewed-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/scsi_transport_iscsi.c
include/scsi/iscsi_if.h
include/scsi/scsi_transport_iscsi.h