aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi
diff options
context:
space:
mode:
authorMike Christie <michaelc@cs.wisc.edu>2011-10-17 23:42:13 -0400
committerJames Bottomley <JBottomley@Parallels.com>2011-10-20 11:28:16 -0400
commit590134fa78fbdbe5fea78c7ae0b2c3364bc9572f (patch)
tree24e041002c1f35e9e7440a09f12029f7e0dff783 /drivers/scsi
parent4c647e909fceb9df8ec8f06016dd56244045a929 (diff)
[SCSI] qla4xxx: export address/port of connection (fix udev disk names)
Udev uses the connection's persistent address/port in the /dev/disk/by-path name. qla4xxx is not exporting this value so its iscsi disk names have been lacking the iscsi info. In the old driver we did not have this information but we do now and can fix this by just setting the flags to tell libiscsi/scsi_transport_iscsi to export this info in sysfs. Signed-off-by: Mike Christie <michaelc@cs.wisc.edu> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi')
-rw-r--r--drivers/scsi/qla4xxx/ql4_os.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/scsi/qla4xxx/ql4_os.c b/drivers/scsi/qla4xxx/ql4_os.c
index ba6a8f3ee6f..30f31b127f3 100644
--- a/drivers/scsi/qla4xxx/ql4_os.c
+++ b/drivers/scsi/qla4xxx/ql4_os.c
@@ -203,6 +203,8 @@ static mode_t ql4_attr_is_visible(int param_type, int param)
203 } 203 }
204 case ISCSI_PARAM: 204 case ISCSI_PARAM:
205 switch (param) { 205 switch (param) {
206 case ISCSI_PARAM_PERSISTENT_ADDRESS:
207 case ISCSI_PARAM_PERSISTENT_PORT:
206 case ISCSI_PARAM_CONN_ADDRESS: 208 case ISCSI_PARAM_CONN_ADDRESS:
207 case ISCSI_PARAM_CONN_PORT: 209 case ISCSI_PARAM_CONN_PORT:
208 case ISCSI_PARAM_TARGET_NAME: 210 case ISCSI_PARAM_TARGET_NAME: