diff options
author | Martin K. Petersen <martin.petersen@oracle.com> | 2009-07-29 14:06:53 -0400 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2009-07-30 12:37:50 -0400 |
commit | ffd4bc2a984fab40ed969163efdff321490e8032 (patch) | |
tree | 4e2cfd73dbf40c08094e134777bc6c0038f227de /sound/oss/aedsp16.c | |
parent | 19252de6818ced0def0551d64a0a2975f52a523d (diff) |
[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: Martin K. Petersen <martin.petersen@oracle.com>
[jejb: added comment]
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'sound/oss/aedsp16.c')
0 files changed, 0 insertions, 0 deletions