aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/scsi/qla4xxx/ql4_os.c1
-rw-r--r--include/scsi/iscsi_if.h2
2 files changed, 3 insertions, 0 deletions
diff --git a/drivers/scsi/qla4xxx/ql4_os.c b/drivers/scsi/qla4xxx/ql4_os.c
index 7502bb4808d6..315ab691056f 100644
--- a/drivers/scsi/qla4xxx/ql4_os.c
+++ b/drivers/scsi/qla4xxx/ql4_os.c
@@ -102,6 +102,7 @@ static struct scsi_host_template qla4xxx_driver_template = {
102static struct iscsi_transport qla4xxx_iscsi_transport = { 102static struct iscsi_transport qla4xxx_iscsi_transport = {
103 .owner = THIS_MODULE, 103 .owner = THIS_MODULE,
104 .name = DRIVER_NAME, 104 .name = DRIVER_NAME,
105 .caps = CAP_FW_DB | CAP_SENDTARGETS_OFFLOAD,
105 .param_mask = ISCSI_CONN_PORT | ISCSI_CONN_ADDRESS | 106 .param_mask = ISCSI_CONN_PORT | ISCSI_CONN_ADDRESS |
106 ISCSI_TARGET_NAME | ISCSI_TPGT, 107 ISCSI_TARGET_NAME | ISCSI_TPGT,
107 .host_param_mask = ISCSI_HOST_HWADDRESS | 108 .host_param_mask = ISCSI_HOST_HWADDRESS |
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 {
299#define CAP_MULTI_CONN 0x40 299#define CAP_MULTI_CONN 0x40
300#define CAP_TEXT_NEGO 0x80 300#define CAP_TEXT_NEGO 0x80
301#define CAP_MARKERS 0x100 301#define CAP_MARKERS 0x100
302#define CAP_FW_DB 0x200
303#define CAP_SENDTARGETS_OFFLOAD 0x400
302 304
303/* 305/*
304 * These flags describes reason of stop_conn() call 306 * These flags describes reason of stop_conn() call