mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-03-20 16:51:46 +07:00
USB: usb-storage: add IGNORE_RESIDUE flag for Genesys Logic adapters
This patch (as1219) adds the IGNORE_RESIDUE flag to the unusual_devs entries for Genesys Logic's USB-IDE adapter. Although this device usually gets the residue correct, there is one command crucial to the operation of CD and DVD drives which it messes up. Tested-by: Mike Lampard <mike@mtgambier.net> Signed-off-by: Alan Stern <stern@rowland.harvard.edu> Cc: stable <stable@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
c332b4e1bf
commit
5126a2674d
@ -907,13 +907,13 @@ UNUSUAL_DEV( 0x05e3, 0x0701, 0x0000, 0xffff,
|
|||||||
"Genesys Logic",
|
"Genesys Logic",
|
||||||
"USB to IDE Optical",
|
"USB to IDE Optical",
|
||||||
US_SC_DEVICE, US_PR_DEVICE, NULL,
|
US_SC_DEVICE, US_PR_DEVICE, NULL,
|
||||||
US_FL_GO_SLOW | US_FL_MAX_SECTORS_64 ),
|
US_FL_GO_SLOW | US_FL_MAX_SECTORS_64 | US_FL_IGNORE_RESIDUE ),
|
||||||
|
|
||||||
UNUSUAL_DEV( 0x05e3, 0x0702, 0x0000, 0xffff,
|
UNUSUAL_DEV( 0x05e3, 0x0702, 0x0000, 0xffff,
|
||||||
"Genesys Logic",
|
"Genesys Logic",
|
||||||
"USB to IDE Disk",
|
"USB to IDE Disk",
|
||||||
US_SC_DEVICE, US_PR_DEVICE, NULL,
|
US_SC_DEVICE, US_PR_DEVICE, NULL,
|
||||||
US_FL_GO_SLOW | US_FL_MAX_SECTORS_64 ),
|
US_FL_GO_SLOW | US_FL_MAX_SECTORS_64 | US_FL_IGNORE_RESIDUE ),
|
||||||
|
|
||||||
/* Reported by Ben Efros <ben@pc-doctor.com> */
|
/* Reported by Ben Efros <ben@pc-doctor.com> */
|
||||||
UNUSUAL_DEV( 0x05e3, 0x0723, 0x9451, 0x9451,
|
UNUSUAL_DEV( 0x05e3, 0x0723, 0x9451, 0x9451,
|
||||||
|
Loading…
Reference in New Issue
Block a user