[PATCH 1/1] USB: Unusual devs patch for Nokia 5310 Music Xpress

From: David Almaroad
Date: Fri Sep 19 2008 - 02:54:38 EST


>From David Almaroad <dalmaroad@xxxxxxxxx>

The Nokia 5310 Music Xpress phone reports one too many sectors in
usb-storage mode. This patch resolves that.

Signed-off-by: David Almaroad <dalmaroad@xxxxxxxxx>
---

--- a/drivers/usb/storage/unusual_devs.h 2008-09-10 07:49:40.000000000 -0500
+++ b/drivers/usb/storage/unusual_devs.h 2008-09-17 01:48:35.000000000 -0500
@@ -232,6 +232,13 @@
US_SC_DEVICE, US_PR_DEVICE, NULL,
US_FL_FIX_CAPACITY ),

+/* Patch for Nokia 5310 capacity */
+UNUSUAL_DEV( 0x0421, 0x006a, 0x0000, 0x0591,
+ "Nokia",
+ "5310",
+ US_SC_DEVICE, US_PR_DEVICE, NULL,
+ US_FL_FIX_CAPACITY ),
+
/* Reported by Olaf Hering <olh@xxxxxxx> from novell bug #105878 */
UNUSUAL_DEV( 0x0424, 0x0fdc, 0x0210, 0x0210,
"SMSC",
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/