summaryrefslogtreecommitdiffstats
path: root/drivers/scsi
diff options
context:
space:
mode:
authorK. Y. Srinivasan <kys@microsoft.com>2013-06-04 12:05:08 -0700
committerJames Bottomley <JBottomley@Parallels.com>2013-07-08 07:11:21 +0100
commitbde6d0f9877e19fc9d309bbd624da422b18cdc3d (patch)
treee4d4288c49be7e67d9f5efcdbd21395f879c6650 /drivers/scsi
parent6f94d5de090947eb41efe9d3841d75ad91fd6dc7 (diff)
downloadop-kernel-dev-bde6d0f9877e19fc9d309bbd624da422b18cdc3d.zip
op-kernel-dev-bde6d0f9877e19fc9d309bbd624da422b18cdc3d.tar.gz
[SCSI] storvsc: Support FC devices
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com> Reviewed-by: Haiyang Zhang <haiyangz@microsoft.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi')
-rw-r--r--drivers/scsi/storvsc_drv.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/scsi/storvsc_drv.c b/drivers/scsi/storvsc_drv.c
index 1d4d425..b864e7c 100644
--- a/drivers/scsi/storvsc_drv.c
+++ b/drivers/scsi/storvsc_drv.c
@@ -1702,6 +1702,7 @@ static struct scsi_host_template scsi_driver = {
enum {
SCSI_GUID,
IDE_GUID,
+ SFC_GUID,
};
static const struct hv_vmbus_device_id id_table[] = {
@@ -1713,6 +1714,11 @@ static const struct hv_vmbus_device_id id_table[] = {
{ HV_IDE_GUID,
.driver_data = IDE_GUID
},
+ /* Fibre Channel GUID */
+ {
+ HV_SYNTHFC_GUID,
+ .driver_data = SFC_GUID
+ },
{ },
};
OpenPOWER on IntegriCloud