lkml.org 
[lkml]   [2019]   [Jun]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/2] Honor VPD check in usb/storage for SanDisk device
Date
Before this patch, USB storage devices disabled VPD check by always setting
skip_vpd_check.

The first patch add a new entry to scsi_static_device_list related to SanDisk
Cruzer Blade, which have VPD, adding BLIST_TRY_VPD_PAGES flag, which implies
try_vpd_pages.

The second patch check try_vpd_pages, and only set skip_vpd_pages if
try_vpd_pages is not set.

This patches along the wwid one [1], makes SanDisk Cruzer Blade device to
present correctly wwid, vpd_pg80 and vpd_pg83 in sysfs, and let the window open
to support another USB storage devices to support and present VPD.

[1]: https://lkml.org/lkml/2019/6/11/1408

Marcos Paulo de Souza (2):
scsi: devinfo: BLIST_TRY_VPD_PAGES for SanDisk Cruzer Blade
usb: storage: scsiglue: Do not skip VPD if try_vpd_pages is set

drivers/scsi/scsi_devinfo.c | 2 ++
drivers/usb/storage/scsiglue.c | 7 +++++--
2 files changed, 7 insertions(+), 2 deletions(-)

--
2.21.0

\
 
 \ /
  Last update: 2019-06-18 03:31    [W:0.118 / U:0.228 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site