Skip to contentSkip to conversation

usb: core: update usb devices for write cache quirk in quirk list.

PATCH Superseded Namjae Jeon 2 participants 2 messages Jun 6, 2012

Subsystems (2)

v1 of 4 Superseded Latest is v4 →

lore
Share & tools
lore
#0 lore raw

PATCH 3/3 usb: core: update usb devices for write cache quirk in quirk list.

Update Product ID and Vendor ID of Segate Portable HDD and WD My Passport HDD in quirk list.

---
 drivers/usb/core/quirks.c |    6 ++++++
 1 file changed, 6 insertions(+)
drivers/usb/core/quirks.c +6 -0
index 32d3adc..624d111 100644
@@ -153,6 +153,12 @@ static const struct usb_device_id usb_quirk_list[] = {
 	/* INTEL VALUE SSD */
 	{ USB_DEVICE(0x8086, 0xf1a5), .driver_info = USB_QUIRK_RESET_RESUME },
 
+	/* Seagate Portable Hdd */
+	{ USB_DEVICE(0x0BC2, 0x2300), .driver_info = USB_QUIRK_WRITE_CACHE },
+
+	/* My Passport Hdd (WD) */
+	{ USB_DEVICE(0x1058, 0x070A), .driver_info = USB_QUIRK_WRITE_CACHE },
+
 	{ }  /* terminating entry must be last */
 };
 
Signature · 1 line
1.7.9.5
#1 lore raw
Quoted 14 lines · Namjae Jeon

Update Product ID and Vendor ID of Segate Portable HDD and WD My Passport HDD in quirk list.

---
 drivers/usb/core/quirks.c |    6 ++++++
 1 file changed, 6 insertions(+)
drivers/usb/core/quirks.c +0 -0
index 32d3adc..624d111 100644

drivers/usb/core/quirks.c static const struct usb_device_id usb_quirk_list[] = { · line 161

Quoted 9 lines
drivers/usb/core/quirks.c +6 -0
@@ -153,6 +153,12 @@ static const struct usb_device_id usb_quirk_list[] = {
 	/* INTEL VALUE SSD */
 	{ USB_DEVICE(0x8086, 0xf1a5), .driver_info = USB_QUIRK_RESET_RESUME },
 
+	/* Seagate Portable Hdd */
+	{ USB_DEVICE(0x0BC2, 0x2300), .driver_info = USB_QUIRK_WRITE_CACHE },
+
+	/* My Passport Hdd (WD) */
+	{ USB_DEVICE(0x1058, 0x070A), .driver_info = USB_QUIRK_WRITE_CACHE },
+

These entries belong in drivers/usb/storage/unusual_devs.h, not here.

Alan Stern