Skip to contentSkip to conversation

scsi: Add 'AIX VDASD' to blacklist

PATCH Applied Hannes Reinecke 2 participants 2 messages Oct 17, 2017 – Oct 18, 2017 SCSI

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 scsi: Add 'AIX VDASD' to blacklist

The AIX VDASD devices do support VPD pages, but implement only SPC. So set BLIST_TRY_VPD_PAGS to correctly display the VPD information in sysfs.

---
 drivers/scsi/scsi_devinfo.c | 1 +
 1 file changed, 1 insertion(+)
drivers/scsi/scsi_devinfo.c +1 -0
index d39b27c..ae2ad84 100644
@@ -134,6 +134,7 @@ struct scsi_dev_info_list_table {
 	{"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},
Signature · 1 line
1.8.5.6
#1 lore raw

Hannes,

Quoted 3 lines

The AIX VDASD devices do support VPD pages, but implement only SPC. So set BLIST_TRY_VPD_PAGS to correctly display the VPD information in sysfs.

Applied to 4.15/scsi-queue.

Signature · 1 line
Martin K. Petersen	Oracle Linux Engineering