diff options
author | Jitendra Bhivare <jitendra.bhivare@broadcom.com> | 2017-10-10 12:48:17 +0200 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2017-10-11 20:18:29 +0200 |
commit | 1cb3c3fd60361f0e900af8e7ecdcd65bed70ab08 (patch) | |
tree | eff13dca27f01e88471b4a04d5ddfd2ecfb824bf /drivers/scsi/be2iscsi/be_main.c | |
parent | scsi: be2iscsi: Modify IOCTL to fetch user configured IQN (diff) | |
download | linux-1cb3c3fd60361f0e900af8e7ecdcd65bed70ab08.tar.xz linux-1cb3c3fd60361f0e900af8e7ecdcd65bed70ab08.zip |
scsi: be2iscsi: Add cmd to set host data
Provide driver version in host data to FW.
Signed-off-by: Jitendra Bhivare <jitendra.bhivare@broadcom.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/be2iscsi/be_main.c')
-rw-r--r-- | drivers/scsi/be2iscsi/be_main.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/scsi/be2iscsi/be_main.c b/drivers/scsi/be2iscsi/be_main.c index 8f7e394ec964..02144c5a2b93 100644 --- a/drivers/scsi/be2iscsi/be_main.c +++ b/drivers/scsi/be2iscsi/be_main.c @@ -5325,6 +5325,7 @@ static int beiscsi_enable_port(struct beiscsi_hba *phba) be2iscsi_enable_msix(phba); beiscsi_get_params(phba); + beiscsi_set_host_data(phba); /* Re-enable UER. If different TPE occurs then it is recoverable. */ beiscsi_set_uer_feature(phba); @@ -5623,6 +5624,7 @@ static int beiscsi_dev_probe(struct pci_dev *pcidev, } beiscsi_get_port_name(&phba->ctrl, phba); beiscsi_get_params(phba); + beiscsi_set_host_data(phba); beiscsi_set_uer_feature(phba); be2iscsi_enable_msix(phba); |