scsi: scsi_devinfo: Add 'AIX VDASD' to blacklist
authorHannes Reinecke <hare@suse.de>
Tue, 17 Oct 2017 07:10:26 +0000 (09:10 +0200)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 18 Oct 2017 02:42:58 +0000 (22:42 -0400)
The AIX VDASD devices do support VPD pages, but implement only SPC. So
set BLIST_TRY_VPD_PAGES to correctly display the VPD information in
sysfs.

[mkp: typo]

Signed-off-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/scsi_devinfo.c

index d39b27c..ae2ad84 100644 (file)
@@ -134,6 +134,7 @@ static struct {
        {"3PARdata", "VV", NULL, BLIST_REPORTLUN2},
        {"ADAPTEC", "AACRAID", NULL, BLIST_FORCELUN},
        {"ADAPTEC", "Adaptec 5400S", NULL, BLIST_FORCELUN},
+       {"AIX", "VDASD", NULL, BLIST_TRY_VPD_PAGES},
        {"AFT PRO", "-IX CF", "0.0>", BLIST_FORCELUN},
        {"BELKIN", "USB 2 HS-CF", "1.95",  BLIST_FORCELUN | BLIST_INQUIRY_36},
        {"BROWNIE", "1200U3P", NULL, BLIST_NOREPORTLUN},