scsi: storvsc: Set up correct queue depth values for IDE devices
authorLong Li <longli@microsoft.com>
Thu, 22 Mar 2018 21:47:18 +0000 (14:47 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 20 Jun 2018 19:02:46 +0000 (04:02 +0900)
commit12f9bb1a273e29c0b51b5894803f8076dc5e4a8e
tree797e7a95c7264c0ba53f95ab236e907380a7f2b9
parentfc0d99fde0d2439ac7802efcb2f390013198db3b
scsi: storvsc: Set up correct queue depth values for IDE devices

[ Upstream commit f286299c1d0ba5e2ca0377610307b370fe178767 ]

Unlike SCSI and FC, we don't use multiple channels for IDE.  Also fix
the calculation for sub-channels.

Signed-off-by: Long Li <longli@microsoft.com>
Reviewed-by: Michael Kelley <mikelley@microsoft.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/scsi/storvsc_drv.c