Skip to content
Commit ffd4bc2a authored by Martin K. Petersen's avatar Martin K. Petersen Committed by James Bottomley
Browse files

[SCSI] sd: Avoid sending extended inquiry to legacy devices



Some USB devices crash when we send them an inquiry with the EVPD bit
set, regardless of page requested (i.e. including page 0).

We only need the extended inquiry to gain access to VPD pages 0xB0 and
0xB1.  These appeared in SBC2 and SBC3 respectively, so we can restrict
sending the extended inquiry to devices reporting SPC3 or higher.

This fixes bugzilla.kernel.org #13657.

Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
[jejb: added comment]
Signed-off-by: default avatarJames Bottomley <James.Bottomley@HansenPartnership.com>
parent 19252de6
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment