diff mbox

scsi_devinfo: apply to HP XP the same flags as Hitachi VSP

Message ID 20171117203136.8833-1-xose.vazquez@gmail.com (mailing list archive)
State Accepted
Headers show

Commit Message

Xose Vazquez Perez Nov. 17, 2017, 8:31 p.m. UTC
56f3d383f modified some Hitachi entries:

   HITACHI is always supporting VPD pages, even though it's claiming to
   support SCSI Revision 3 only.
~~~

The same should have been done also for HP-rebranded.

Cc: Hannes Reinecke <hare@suse.de>
Cc: Takahiro Yasui <takahiro.yasui@hds.com>
Cc: Matthias Rudolph <Matthias.Rudolph@hitachivantara.com>
Cc: Martin K. Petersen <martin.petersen@oracle.com>
Cc: James E.J. Bottomley <jejb@linux.vnet.ibm.com>
Cc: SCSI ML <linux-scsi@vger.kernel.org>
Signed-off-by: Xose Vazquez Perez <xose.vazquez@gmail.com>
---
 drivers/scsi/scsi_devinfo.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Martin K. Petersen Dec. 8, 2017, 2:34 a.m. UTC | #1
Xose,

> 56f3d383f modified some Hitachi entries:
>
>    HITACHI is always supporting VPD pages, even though it's claiming to
>    support SCSI Revision 3 only.
> ~~~
>
> The same should have been done also for HP-rebranded.

Applied to 4.16/scsi-queue.
diff mbox

Patch

diff --git a/drivers/scsi/scsi_devinfo.c b/drivers/scsi/scsi_devinfo.c
index 320d0a81358d..3ab4d337bf55 100644
--- a/drivers/scsi/scsi_devinfo.c
+++ b/drivers/scsi/scsi_devinfo.c
@@ -182,7 +182,7 @@  static struct {
 	{"HITACHI", "6586-", "*", BLIST_SPARSELUN | BLIST_LARGELUN},
 	{"HITACHI", "6588-", "*", BLIST_SPARSELUN | BLIST_LARGELUN},
 	{"HP", "A6189A", NULL, BLIST_SPARSELUN | BLIST_LARGELUN},	/* HP VA7400 */
-	{"HP", "OPEN-", "*", BLIST_REPORTLUN2}, /* HP XP Arrays */
+	{"HP", "OPEN-", "*", BLIST_REPORTLUN2 | BLIST_TRY_VPD_PAGES}, /* HP XP Arrays */
 	{"HP", "NetRAID-4M", NULL, BLIST_FORCELUN},
 	{"HP", "HSV100", NULL, BLIST_REPORTLUN2 | BLIST_NOSTARTONADD},
 	{"HP", "C1557A", NULL, BLIST_FORCELUN},