[PATCH] USB: cypress_m8: add support for the DeLorme Earthmate lt-20

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>

authored by

Lonnie Mendez and committed by
Greg KH
25b6f08e 4756ae5b

+3
+2
drivers/usb/serial/cypress_m8.c
··· 89 89 90 90 static struct usb_device_id id_table_earthmate [] = { 91 91 { USB_DEVICE(VENDOR_ID_DELORME, PRODUCT_ID_EARTHMATEUSB) }, 92 + { USB_DEVICE(VENDOR_ID_DELORME, PRODUCT_ID_EARTHMATEUSB_LT20) }, 92 93 { } /* Terminating entry */ 93 94 }; 94 95 ··· 100 99 101 100 static struct usb_device_id id_table_combined [] = { 102 101 { USB_DEVICE(VENDOR_ID_DELORME, PRODUCT_ID_EARTHMATEUSB) }, 102 + { USB_DEVICE(VENDOR_ID_DELORME, PRODUCT_ID_EARTHMATEUSB_LT20) }, 103 103 { USB_DEVICE(VENDOR_ID_CYPRESS, PRODUCT_ID_CYPHIDCOM) }, 104 104 { } /* Terminating entry */ 105 105 };
+1
drivers/usb/serial/cypress_m8.h
··· 13 13 /* DeLorme Earthmate USB - a GPS device */ 14 14 #define VENDOR_ID_DELORME 0x1163 15 15 #define PRODUCT_ID_EARTHMATEUSB 0x0100 16 + #define PRODUCT_ID_EARTHMATEUSB_LT20 0x0200 16 17 17 18 /* Cypress HID->COM RS232 Adapter */ 18 19 #define VENDOR_ID_CYPRESS 0x04b4