[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>
This commit is contained in:
committed by
James Bottomley
parent
d1d81c01f4
commit
0ab823db86
@ -102,6 +102,7 @@ static struct scsi_host_template qla4xxx_driver_template = {
|
||||
static struct iscsi_transport qla4xxx_iscsi_transport = {
|
||||
.owner = THIS_MODULE,
|
||||
.name = DRIVER_NAME,
|
||||
.caps = CAP_FW_DB | CAP_SENDTARGETS_OFFLOAD,
|
||||
.param_mask = ISCSI_CONN_PORT | ISCSI_CONN_ADDRESS |
|
||||
ISCSI_TARGET_NAME | ISCSI_TPGT,
|
||||
.host_param_mask = ISCSI_HOST_HWADDRESS |
|
||||
|
Reference in New Issue
Block a user