linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 3/3] usb: core: update usb devices for write cache quirk in quirk list.
@ 2012-06-06 12:21 Namjae Jeon
  2012-06-06 15:33 ` Alan Stern
  0 siblings, 1 reply; 2+ messages in thread
From: Namjae Jeon @ 2012-06-06 12:21 UTC (permalink / raw)
  To: James.Bottomley, gregkh, mdharm-usb
  Cc: linux-usb, linux-scsi, linux-kernel, Namjae Jeon, Namjae Jeon,
	Pankaj Kumar, Amit Sahrawat

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

Signed-off-by: Namjae Jeon <namjae.jeon@samsung.com>
Signed-off-by: Pankaj Kumar <pankaj.km@samsung.com>
Signed-off-by: Amit Sahrawat <a.sahrawat@samsung.com>
---
 drivers/usb/core/quirks.c |    6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/drivers/usb/core/quirks.c b/drivers/usb/core/quirks.c
index 32d3adc..624d111 100644
--- a/drivers/usb/core/quirks.c
+++ b/drivers/usb/core/quirks.c
@@ -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 */
 };
 
-- 
1.7.9.5


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH 3/3] usb: core: update usb devices for write cache quirk in quirk list.
  2012-06-06 12:21 [PATCH 3/3] usb: core: update usb devices for write cache quirk in quirk list Namjae Jeon
@ 2012-06-06 15:33 ` Alan Stern
  0 siblings, 0 replies; 2+ messages in thread
From: Alan Stern @ 2012-06-06 15:33 UTC (permalink / raw)
  To: Namjae Jeon
  Cc: James.Bottomley, gregkh, mdharm-usb, linux-usb, linux-scsi,
	linux-kernel, Namjae Jeon, Pankaj Kumar, Amit Sahrawat

On Wed, 6 Jun 2012, Namjae Jeon wrote:

> Update Product ID and Vendor ID of Segate Portable HDD and WD My Passport HDD in quirk list.
> 
> Signed-off-by: Namjae Jeon <namjae.jeon@samsung.com>
> Signed-off-by: Pankaj Kumar <pankaj.km@samsung.com>
> Signed-off-by: Amit Sahrawat <a.sahrawat@samsung.com>
> ---
>  drivers/usb/core/quirks.c |    6 ++++++
>  1 file changed, 6 insertions(+)
> 
> diff --git a/drivers/usb/core/quirks.c b/drivers/usb/core/quirks.c
> index 32d3adc..624d111 100644
> --- a/drivers/usb/core/quirks.c
> +++ b/drivers/usb/core/quirks.c
> @@ -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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-06-06 15:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-06-06 12:21 [PATCH 3/3] usb: core: update usb devices for write cache quirk in quirk list Namjae Jeon
2012-06-06 15:33 ` Alan Stern

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).