megaraid_sas: Make tape drives visible on PERC5 controllers
authorSumit Saxena <sumit.saxena@avagotech.com>
Thu, 5 Nov 2015 15:47:37 +0000 (21:17 +0530)
committerMartin K. Petersen <martin.petersen@oracle.com>
Mon, 9 Nov 2015 16:06:12 +0000 (11:06 -0500)
commitaed335eecf8f09c28588b01c7f7e24ee78156e28
treed4ed8436b5800f0acc7c8060c0eac6a846c73cd4
parentf3951a3709ff50990bf3e188c27d346792103432
megaraid_sas: Make tape drives visible on PERC5 controllers

The DELL PERC5 controller firmware does not list tape drives in response
to MR_DCMD_PD_LIST_QUERY. This causes tape drives not be exposed to the
OS when connected to a PERC5 controller.

This patch permits detection of tape drives connected to a PERC5
controller by exposing non-TYPE_DISK devices unconditionally.

Signed-off-by: Kashyap Desai <kashyap.desai@avagotech.com>
Signed-off-by: Sumit Saxena <sumit.saxena@avagotech.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/megaraid/megaraid_sas.h
drivers/scsi/megaraid/megaraid_sas_base.c