aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/storage/debug.c
diff options
context:
space:
mode:
authorKai Mäkisara <[email protected]>2025-03-11 11:25:16 +0000
committerMartin K. Petersen <[email protected]>2025-03-18 02:04:22 +0000
commit8db816c6f176321e42254badd5c1a8df8bfcfdb4 (patch)
treeddd6a0f5b6e37b0261e4423f2d9eb5dfe42ff92d /drivers/usb/storage/debug.c
parentscsi: st: ERASE does not change tape location (diff)
downloadkernel-8db816c6f176321e42254badd5c1a8df8bfcfdb4.tar.gz
kernel-8db816c6f176321e42254badd5c1a8df8bfcfdb4.zip
scsi: st: Tighten the page format heuristics with MODE SELECT
In the days when SCSI-2 was emerging, some drives did claim SCSI-2 but did not correctly implement it. The st driver first tries MODE SELECT with the page format bit set to set the block descriptor. If not successful, the non-page format is tried. The test only tests the sense code and this triggers also from illegal parameter in the parameter list. The test is limited to "old" devices and made more strict to remove false alarms. Signed-off-by: Kai Mäkisara <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'drivers/usb/storage/debug.c')
0 files changed, 0 insertions, 0 deletions