aboutsummaryrefslogtreecommitdiffstats
path: root/include/scsi
diff options
context:
space:
mode:
authorMike Christie <michaelc@cs.wisc.edu>2007-05-30 12:57:22 -0500
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>2007-06-02 15:36:14 -0400
commit0ab823db869f1c9454c5b031a9b8f8812ccd0aa7 (patch)
tree389e496606f4a5936a325affb93ef586d9ae991f /include/scsi
parent[SCSI] iscsi_tcp: remove DMA alignment restriction (diff)
downloadlinux-dev-0ab823db869f1c9454c5b031a9b8f8812ccd0aa7.tar.xz
linux-dev-0ab823db869f1c9454c5b031a9b8f8812ccd0aa7.zip
[SCSI] qla4xxx: add iscsi_transport capps for fw capacilities
Userspace will want to know what the driver/FW/HW capabilites when it comes to some operations like if the hardware can do discovery or if it can store iscsi info like what target was used for boot. This patch adds some new caps so userspace can tell if the driver supports hardware/fw based sendtargets discovery and if the hardware has some flash which may be holding or can contain some iscsi target info . Signed-off-by: Mike Christie <michaelc@cs.wisc.edu> Cc: David C Somayajulu <david.somayajulu@qlogic.com> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'include/scsi')
-rw-r--r--include/scsi/iscsi_if.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/scsi/iscsi_if.h b/include/scsi/iscsi_if.h
index a046a329189c..81a542506dfe 100644
--- a/include/scsi/iscsi_if.h
+++ b/include/scsi/iscsi_if.h
@@ -299,6 +299,8 @@ enum iscsi_host_param {
#define CAP_MULTI_CONN 0x40
#define CAP_TEXT_NEGO 0x80
#define CAP_MARKERS 0x100
+#define CAP_FW_DB 0x200
+#define CAP_SENDTARGETS_OFFLOAD 0x400
/*
* These flags describes reason of stop_conn() call