]> git.baikalelectronics.ru Git - kernel.git/commit
usb-storage: add new no_read_capacity_16 quirk
authorHans de Goede <hdegoede@redhat.com>
Fri, 1 Oct 2010 21:20:11 +0000 (14:20 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 22 Oct 2010 17:22:05 +0000 (10:22 -0700)
commitf276a482d909e964cdcc0461f81666a7ed9ec0b0
tree0cd74cdf181c1bb3a6dbfbecea7d5e6ed8a3d028
parent8fb90e37f57dc55c6c65eb25354224f3e588f23f
usb-storage: add new no_read_capacity_16 quirk

Some Rockbox based mp4 players will crash when ever they see a
read_capacity_16 scsi command.  So add a new US_FL which tells the scsi sd
driver to not issue any read_capacity_16 scsi commands.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Cc: James Bottomley <James.Bottomley@HansenPartnership.com>
Cc: Alan Stern <stern@rowland.harvard.edu>
Cc: Matthew Dharm <mdharm-usb@one-eyed-alien.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/storage/scsiglue.c
drivers/usb/storage/unusual_devs.h
include/linux/usb_usual.h