Oh, don't do that. We already have a patch that fixes it properly, and then anyone can add any ID they wish on the command line. That seems a much better solution. The onyl issue is we didn't submit it to the maintainers.

Steve

Oleg Verych wrote:

usb-serial: ti_usb, TI ez430 development tool ID

Cc: Greg KH <[email protected]>
Signed-off-by: Oleg Verych <[email protected]>
---
Please apply to stable and rc kernels (:ASAP;). Thanks.

drivers/usb/serial/ti_usb_3410_5052.c |    2 ++
drivers/usb/serial/ti_usb_3410_5052.h |    1 +
2 files changed, 3 insertions(+)

Index: linux-source-2.6.18/drivers/usb/serial/ti_usb_3410_5052.c
===================================================================
*** linux-source-2.6.18.orig/drivers/usb/serial/ti_usb_3410_5052.c      
2006-11-17 08:54:28.378314000 +0100
--- linux-source-2.6.18/drivers/usb/serial/ti_usb_3410_5052.c   2006-11-17 
07:10:45.000000000 +0100
***************
*** 228,233 ****
--- 228,234 ----
 /* null entry */
 static struct usb_device_id ti_id_table_3410[1+TI_EXTRA_VID_PID_COUNT+1] = {
        { USB_DEVICE(TI_VENDOR_ID, TI_3410_PRODUCT_ID) },
+         { USB_DEVICE(TI_VENDOR_ID, TI_3410_EZ430_ID) },
 };
static struct usb_device_id ti_id_table_5052[4+TI_EXTRA_VID_PID_COUNT+1] = {
***************
*** 239,244 ****
--- 240,246 ----
static struct usb_device_id ti_id_table_combined[] = {
        { USB_DEVICE(TI_VENDOR_ID, TI_3410_PRODUCT_ID) },
+         { USB_DEVICE(TI_VENDOR_ID, TI_3410_EZ430_ID) },
        { USB_DEVICE(TI_VENDOR_ID, TI_5052_BOOT_PRODUCT_ID) },
        { USB_DEVICE(TI_VENDOR_ID, TI_5152_BOOT_PRODUCT_ID) },
        { USB_DEVICE(TI_VENDOR_ID, TI_5052_EEPROM_PRODUCT_ID) },
Index: linux-source-2.6.18/drivers/usb/serial/ti_usb_3410_5052.h
===================================================================
*** linux-source-2.6.18.orig/drivers/usb/serial/ti_usb_3410_5052.h      
2006-11-17 08:54:25.402128000 +0100
--- linux-source-2.6.18/drivers/usb/serial/ti_usb_3410_5052.h   2006-11-17 
08:49:40.000000000 +0100
***************
*** 28,33 ****
--- 28,34 ----
 /* Vendor and product ids */
 #define TI_VENDOR_ID                   0x0451
 #define TI_3410_PRODUCT_ID             0x3410
+ #define TI_3410_EZ430_ID              0xF430  /* TI ez430 development tool */
 #define TI_5052_BOOT_PRODUCT_ID                0x5052  /* no EEPROM, no 
firmware */
 #define TI_5152_BOOT_PRODUCT_ID                0x5152  /* no EEPROM, no 
firmware */
 #define TI_5052_EEPROM_PRODUCT_ID      0x505A  /* EEPROM, no firmware */

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Mspgcc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mspgcc-users



Reply via email to