Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Alan Stern and committed by
Greg Kroah-Hartman
5126a267 c332b4e1

+2 -2
+2 -2
drivers/usb/storage/unusual_devs.h
··· 907 907 "Genesys Logic", 908 908 "USB to IDE Optical", 909 909 US_SC_DEVICE, US_PR_DEVICE, NULL, 910 - US_FL_GO_SLOW | US_FL_MAX_SECTORS_64 ), 910 + US_FL_GO_SLOW | US_FL_MAX_SECTORS_64 | US_FL_IGNORE_RESIDUE ), 911 911 912 912 UNUSUAL_DEV( 0x05e3, 0x0702, 0x0000, 0xffff, 913 913 "Genesys Logic", 914 914 "USB to IDE Disk", 915 915 US_SC_DEVICE, US_PR_DEVICE, NULL, 916 - US_FL_GO_SLOW | US_FL_MAX_SECTORS_64 ), 916 + US_FL_GO_SLOW | US_FL_MAX_SECTORS_64 | US_FL_IGNORE_RESIDUE ), 917 917 918 918 /* Reported by Ben Efros <ben@pc-doctor.com> */ 919 919 UNUSUAL_DEV( 0x05e3, 0x0723, 0x9451, 0x9451,