summaryrefslogtreecommitdiffstats
path: root/include/scsi/iscsi_if.h
diff options
context:
space:
mode:
authorEddie Wai2013-06-20 19:21:26 +0200
committerJames Bottomley2013-06-27 03:04:11 +0200
commit3b9373e95a6019cf89abe6c8b17c07828db96ad4 (patch)
treee3d97d87fb7c960b0da5e67acb74cf2c5470a420 /include/scsi/iscsi_if.h
parent[SCSI] aacraid: Fix for arrays are going offline in the system. System hangs (diff)
downloadkernel-qcow2-linux-3b9373e95a6019cf89abe6c8b17c07828db96ad4.tar.gz
kernel-qcow2-linux-3b9373e95a6019cf89abe6c8b17c07828db96ad4.tar.xz
kernel-qcow2-linux-3b9373e95a6019cf89abe6c8b17c07828db96ad4.zip
[SCSI] libiscsi: Added new boot entries in the session sysfs
This is the kernel part of the modification to extract the net params from the ibft sysfs to the iface struct used for the connection request upon sync_session in the open-iscsi util. Three new session sysfs params are defined: boot_root - holds the name of the /sys/firmware/ibft or iscsi_rootN boot_nic - holds the ethernetN name boot_target - holds the targetN name Signed-off-by: Eddie Wai <eddie.wai@broadcom.com> Reviewed-by: Mike Christie <michaelc@cs.wisc.edu> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'include/scsi/iscsi_if.h')
-rw-r--r--include/scsi/iscsi_if.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/scsi/iscsi_if.h b/include/scsi/iscsi_if.h
index fe7f06c86f68..9d28ded2a3f4 100644
--- a/include/scsi/iscsi_if.h
+++ b/include/scsi/iscsi_if.h
@@ -489,6 +489,11 @@ enum iscsi_param {
ISCSI_PARAM_CHAP_IN_IDX,
ISCSI_PARAM_CHAP_OUT_IDX,
+
+ ISCSI_PARAM_BOOT_ROOT,
+ ISCSI_PARAM_BOOT_NIC,
+ ISCSI_PARAM_BOOT_TARGET,
+
/* must always be last */
ISCSI_PARAM_MAX,
};