]> git.karo-electronics.de Git - linux-beck.git/commitdiff
[PATCH] USB: cypress_m8: add support for the DeLorme Earthmate lt-20
authorLonnie Mendez <lmendez19@austin.rr.com>
Tue, 10 May 2005 22:09:52 +0000 (17:09 -0500)
committerGreg KH <gregkh@suse.de>
Tue, 17 May 2005 04:44:26 +0000 (21:44 -0700)
This patch adds support for the DeLorme Earthmate lt-20 to the
cypress_m8 driver.  The device was tested and found to be compatible
with the cypress_m8 driver.  This is a resend with the complete patch
which properly compiles.

Adds support for the DeLorme Earthmate lt-20 to the cypress_m8 driver.

Signed-off-by: Lonnie Mendez <lmendez19@austin.rr.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/serial/cypress_m8.c
drivers/usb/serial/cypress_m8.h

index f34a9bb6a219a9b9ad0024e2ed57e0a5063aa0f0..012e63e05806076b06a42dc1d3d592fa45fc0fce 100644 (file)
@@ -89,6 +89,7 @@ static int interval;
 
 static struct usb_device_id id_table_earthmate [] = {
        { USB_DEVICE(VENDOR_ID_DELORME, PRODUCT_ID_EARTHMATEUSB) },
+       { USB_DEVICE(VENDOR_ID_DELORME, PRODUCT_ID_EARTHMATEUSB_LT20) },
        { }                                             /* Terminating entry */
 };
 
@@ -99,6 +100,7 @@ static struct usb_device_id id_table_cyphidcomrs232 [] = {
 
 static struct usb_device_id id_table_combined [] = {
        { 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) },
        { }                                             /* Terminating entry */
 };
index 1012ee6b19ce6dbbbeeb3c7672e7b2dc8d371558..1fa119efe41a0276c412a9a5ed8f5ff6ce1ecaf8 100644 (file)
@@ -13,6 +13,7 @@
 /* DeLorme Earthmate USB - a GPS device */
 #define        VENDOR_ID_DELORME                0x1163
 #define PRODUCT_ID_EARTHMATEUSB                 0x0100
+#define PRODUCT_ID_EARTHMATEUSB_LT20    0x0200
 
 /* Cypress HID->COM RS232 Adapter */
 #define VENDOR_ID_CYPRESS               0x04b4