projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9062507
)
USB: storage: Add MicroVault Flash Drive to unusual_devs
author
Ren Bigcren
<
[email protected]
>
Tue, 2 Jul 2013 11:34:30 +0000
(13:34 +0200)
committer
Greg Kroah-Hartman
<
[email protected]
>
Mon, 22 Jul 2013 18:29:26 +0000
(11:29 -0700)
The device report an error capacity when read_capacity_16().
Using read_capacity_10() can get the correct capacity.
Signed-off-by: Ren Bigcren <
[email protected]
>
Cc: Matthew Dharm <
[email protected]
>
Signed-off-by: Oskar Andero <
[email protected]
>
Cc: stable <
[email protected]
>
Signed-off-by: Greg Kroah-Hartman <
[email protected]
>
drivers/usb/storage/unusual_devs.h
patch
|
blob
|
history
diff --git
a/drivers/usb/storage/unusual_devs.h
b/drivers/usb/storage/unusual_devs.h
index 1799335288bd5e60522a60def1c311f07df62286..c015f2c16729c5b4030fc829fae9a3cfb90acde6 100644
(file)
--- a/
drivers/usb/storage/unusual_devs.h
+++ b/
drivers/usb/storage/unusual_devs.h
@@
-665,6
+665,13
@@
UNUSUAL_DEV( 0x054c, 0x016a, 0x0000, 0x9999,
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
US_FL_FIX_INQUIRY ),
+/* Submitted by Ren Bigcren <
[email protected]
> */
+UNUSUAL_DEV( 0x054c, 0x02a5, 0x0100, 0x0100,
+ "Sony Corp.",
+ "MicroVault Flash Drive",
+ USB_SC_DEVICE, USB_PR_DEVICE, NULL,
+ US_FL_NO_READ_CAPACITY_16 ),
+
/* floppy reports multiple luns */
UNUSUAL_DEV( 0x055d, 0x2020, 0x0000, 0x0210,
"SAMSUNG",