[PATCH] USB: visor.c id for gspda smartphone
authorHendrik Schweppe <hendrik@somehost.de>
Sun, 19 Feb 2006 18:00:04 +0000 (19:00 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 28 Feb 2006 20:42:07 +0000 (12:42 -0800)
Added the USB vendorID of GSPDA and the productID of GSPDA's palm
smartphone 'xplore m68' to the list of known devices.

Signed-off-by: Hendrik Schweppe <linuxkpatch@hendrik.fam-schweppe.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/serial/visor.c
drivers/usb/serial/visor.h

index bce3d55affd8d1d410647191d754f1752ea4849d..11a48d8747526a31355eb306fdac9cbefa6103dd 100644 (file)
@@ -69,6 +69,8 @@ static struct usb_device_id id_table [] = {
                .driver_info = (kernel_ulong_t)&palm_os_4_probe },
        { USB_DEVICE(HANDSPRING_VENDOR_ID, HANDSPRING_TREO600_ID),
                .driver_info = (kernel_ulong_t)&palm_os_4_probe },
+       { USB_DEVICE(GSPDA_VENDOR_ID, GSPDA_XPLORE_M68_ID),
+               .driver_info = (kernel_ulong_t)&palm_os_4_probe },
        { USB_DEVICE(PALM_VENDOR_ID, PALM_M500_ID),
                .driver_info = (kernel_ulong_t)&palm_os_4_probe },
        { USB_DEVICE(PALM_VENDOR_ID, PALM_M505_ID),
@@ -139,6 +141,7 @@ static struct usb_device_id id_table_combined [] = {
        { USB_DEVICE(HANDSPRING_VENDOR_ID, HANDSPRING_VISOR_ID) },
        { USB_DEVICE(HANDSPRING_VENDOR_ID, HANDSPRING_TREO_ID) },
        { USB_DEVICE(HANDSPRING_VENDOR_ID, HANDSPRING_TREO600_ID) },
+       { USB_DEVICE(GSPDA_VENDOR_ID, GSPDA_XPLORE_M68_ID) },
        { USB_DEVICE(PALM_VENDOR_ID, PALM_M500_ID) },
        { USB_DEVICE(PALM_VENDOR_ID, PALM_M505_ID) },
        { USB_DEVICE(PALM_VENDOR_ID, PALM_M515_ID) },
index b84d1cb4c69393b40ede2929d9fd83746f533565..765118d83fb6c4a8ca693062a9d7e955348d38c6 100644 (file)
@@ -36,6 +36,9 @@
 #define PALM_ZIRE_ID                   0x0070
 #define PALM_M100_ID                   0x0080
 
+#define GSPDA_VENDOR_ID                0x115e
+#define GSPDA_XPLORE_M68_ID            0xf100
+
 #define SONY_VENDOR_ID                 0x054C
 #define SONY_CLIE_3_5_ID               0x0038
 #define SONY_CLIE_4_0_ID               0x0066