LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH] cypress_m8: added UPS Powercom (0d9f:0002)
@ 2008-02-06 16:42 Dmitry Shapin
  0 siblings, 0 replies; only message in thread
From: Dmitry Shapin @ 2008-02-06 16:42 UTC (permalink / raw)
  To: linux-kernel

Added support for UPS Powercom USB interface (0d9f:0002) in chip CY7C63723.
In my case, this Powercom BNT800AP.

Signed-off-by: Dmitry Shapin <shapin@gmail.com>

--- linux.orig/drivers/usb/serial/cypress_m8.h  2008-01-25 00:58:37.000000000 +0200
+++ linux/drivers/usb/serial/cypress_m8.h       2008-02-06 17:07:08.000000000 +0200
@@ -19,6 +19,10 @@
 #define VENDOR_ID_CYPRESS               0x04b4
 #define PRODUCT_ID_CYPHIDCOM            0x5500
 
+/* Powercom UPS, chip CY7C63723 */
+#define VENDOR_ID_POWERCOM              0x0d9f
+#define PRODUCT_ID_UPS                  0x0002
+
 /* Nokia CA-42 USB to serial cable */
 #define VENDOR_ID_DAZZLE               0x07d0
 #define PRODUCT_ID_CA42                        0x4101
--- linux.orig/drivers/usb/serial/cypress_m8.c  2008-02-06 13:44:45.000000000 +0200
+++ linux/drivers/usb/serial/cypress_m8.c       2008-02-06 17:47:25.000000000 +0200
@@ -94,6 +94,7 @@
 
 static struct usb_device_id id_table_cyphidcomrs232 [] = {
        { USB_DEVICE(VENDOR_ID_CYPRESS, PRODUCT_ID_CYPHIDCOM) },
+       { USB_DEVICE(VENDOR_ID_POWERCOM, PRODUCT_ID_UPS) },
        { }                                             /* Terminating entry */
 };
 
@@ -106,6 +107,7 @@
        { USB_DEVICE(VENDOR_ID_DELORME, PRODUCT_ID_EARTHMATEUSB) },
        { USB_DEVICE(VENDOR_ID_DELORME, PRODUCT_ID_EARTHMATEUSB_LT20) },
        { USB_DEVICE(VENDOR_ID_CYPRESS, PRODUCT_ID_CYPHIDCOM) },
+       { USB_DEVICE(VENDOR_ID_POWERCOM, PRODUCT_ID_UPS) },
        { USB_DEVICE(VENDOR_ID_DAZZLE, PRODUCT_ID_CA42) },
        { }                                             /* Terminating entry */
 };


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-02-06 16:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-02-06 16:42 [PATCH] cypress_m8: added UPS Powercom (0d9f:0002) Dmitry Shapin

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).