scsi: fnic: Enable fnic devcmd2 interface
authorSatish Kharat <satishkh@cisco.com>
Fri, 18 Jan 2019 22:51:44 +0000 (14:51 -0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 23 Jan 2019 02:18:35 +0000 (21:18 -0500)
commite119d14ca38c146846e400182252c22df002db56
tree29726272192aad724e094c46cb08714cbf231d5b
parent0a2fdd2215e1fa3b417792bd6e9cb719822cbfb6
scsi: fnic: Enable fnic devcmd2 interface

This patch adds changes to check if fnic devcmd2 interface is exported by
the firmware. If devcmd2 interfaces is exported, driver starts using it
else falls back to fnic devcmd1 interface.

Signed-off-by: Satish Kharat <satishkh@cisco.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/fnic/fnic_main.c
drivers/scsi/fnic/vnic_dev.c
drivers/scsi/fnic/vnic_dev.h