]> git.baikalelectronics.ru Git - kernel.git/commit
USB: unusual_devs.h: Fix capacity for SL11R-IDE 2.6c
authorOndrej Zary <linux@rainbow-software.org>
Sat, 27 Feb 2010 21:56:28 +0000 (22:56 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 19 Mar 2010 14:24:04 +0000 (07:24 -0700)
commit19046ab28e8b63cda135d28f8c1ad09a3752bc72
treeeb0359dd1673f7a6a5d154a693bf2d9ec73e6158
parentbed1ca4c6a394fb08004712523690fcedda49538
USB: unusual_devs.h: Fix capacity for SL11R-IDE 2.6c

SL11R-IDE 2.6c (at least) reports wrong capacity (one sector more).
Reading that last sector causes the device not to work anymore (and looks
like HAL or something does that automatically after plugging in):
sd 5:0:0:0: [sdc] Device not ready
sd 5:0:0:0: [sdc] Result: hostbyte=0x00 driverbyte=0x08
sd 5:0:0:0: [sdc] Sense Key : 0x2 [current]
sd 5:0:0:0: [sdc] ASC=0x0 ASCQ=0x0
sd 5:0:0:0: [sdc] CDB: cdb[0]=0x28: 28 00 04 a8 b5 70 00 00 01 00

Add unusual_devs entry to fix the capacity.

Signed-off-by: Ondrej Zary <linux@rainbow-software.org>
Signed-off-by: Phil Dibowitz <phil@ipom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/storage/unusual_devs.h