public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* FTDI custom VID/PID patch
@ 2013-11-01 13:26 Алексей Крамаренко
  2013-11-01 16:24 ` Greg Kroah-Hartman
  0 siblings, 1 reply; 2+ messages in thread
From: Алексей Крамаренко @ 2013-11-01 13:26 UTC (permalink / raw)
  To: Greg Kroah-Hartman, linux-kernel

Hello Greg.

It's my first patch, sorry if something wrong.

Custom VID/PID for Z3X Box device, popular tool for cellphone flashing.

diff -uprN -X linux-3.11.6-vanilla/Documentation/dontdiff
linux-3.11.6-vanilla/drivers/usb/serial/ftdi_sio.c
linux-3.11.6-devel/drivers/usb/serial/ftdi_sio.c
--- linux-3.11.6-vanilla/drivers/usb/serial/ftdi_sio.c  2013-10-18
22:24:16.000000000 +0400
+++ linux-3.11.6-devel/drivers/usb/serial/ftdi_sio.c    2013-11-01
16:53:25.518999202 +0400
@@ -906,6 +906,7 @@ static struct usb_device_id id_table_com
        { USB_DEVICE(FTDI_VID, FTDI_LUMEL_PD12_PID) },
        /* Crucible Devices */
        { USB_DEVICE(FTDI_VID, FTDI_CT_COMET_PID) },
+       { USB_DEVICE(FTDI_VID, FTDI_Z3X_PID) },
        { },                                    /* Optional parameter
entry */
        { }                                     /* Terminating entry */
 };
diff -uprN -X linux-3.11.6-vanilla/Documentation/dontdiff
linux-3.11.6-vanilla/drivers/usb/serial/ftdi_sio_ids.h
linux-3.11.6-devel/drivers/usb/serial/ftdi_sio_ids.h
--- linux-3.11.6-vanilla/drivers/usb/serial/ftdi_sio_ids.h     
2013-10-18 22:24:16.000000000 +0400
+++ linux-3.11.6-devel/drivers/usb/serial/ftdi_sio_ids.h       
2013-11-01 16:52:37.288999208 +0400
@@ -1307,3 +1307,9 @@
  * Manufacturer: Crucible Technologies
  */
 #define FTDI_CT_COMET_PID      0x8e08
+
+/*
+ * Product: Z3X Box
+ * Manufacturer: Smart GSM Team
+ */
+#define FTDI_Z3X_PID    0x0011

Signed-off-by: Alexey E. Kramarenko <alexeyk13@yandex.ru>


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

* Re: FTDI custom VID/PID patch
  2013-11-01 13:26 FTDI custom VID/PID patch Алексей Крамаренко
@ 2013-11-01 16:24 ` Greg Kroah-Hartman
  0 siblings, 0 replies; 2+ messages in thread
From: Greg Kroah-Hartman @ 2013-11-01 16:24 UTC (permalink / raw)
  To: Алексей Крамаренко
  Cc: linux-kernel

On Fri, Nov 01, 2013 at 05:26:38PM +0400, Алексей Крамаренко wrote:
> Hello Greg.
> 
> It's my first patch, sorry if something wrong.
> 
> Custom VID/PID for Z3X Box device, popular tool for cellphone flashing.

A few meta-comments.  Your patch had the tabs turned into spaces, the
lines were line-wrapped, and you put the Signed-off-by: at the bottom of
the patch, not up here in the changelog area.  I've fixed it up by hand,
but in the future, please work to fix your email client to not mutilate
patches.

thanks,

greg k-h

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

end of thread, other threads:[~2013-11-01 16:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-01 13:26 FTDI custom VID/PID patch Алексей Крамаренко
2013-11-01 16:24 ` Greg Kroah-Hartman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox