Re: [patch]two more usb ids for ti_usb_3410_5052

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Once upon a time, Oliver Neukum <oliver@xxxxxxxxxx> said:
> This adds two more IDs to the ti_usb_3410_5052 driver. They are for
> two barcode scanners unimaginatively named "USBSCANNER".

When you add entries to those lists, you need to increase the size of
the lists as well.
-- 
Chris Adams <cmadams@xxxxxxxxxx>
Systems and Network Administrator - HiWAAY Internet Services
I don't speak for anybody but myself - that's enough trouble.


> Signed-off-by: Oliver Neukum <oneukum@xxxxxxx>
> 
> 	Regards
> 		Oliver
> 
> ---
> 
> commit 39dc7695381ae2a45d6b36ff5b15a9e2d13ec11b
> Author: Oliver Neukum <oneukum@xxxxxxx>
> Date:   Tue Feb 3 15:16:13 2009 +0100
> 
>     added ids of two barcoede scanners to ti_usb driver
> 
> diff --git a/drivers/usb/serial/ti_usb_3410_5052.c b/drivers/usb/serial/ti_usb_3410_5052.c
> index baf5911..1583f9b 100644
> --- a/drivers/usb/serial/ti_usb_3410_5052.c
> +++ b/drivers/usb/serial/ti_usb_3410_5052.c
> @@ -185,6 +185,8 @@ static struct usb_device_id ti_id_table_3410[7+TI_EXTRA_VID_PID_COUNT+1] = {
>  	{ USB_DEVICE(MTS_VENDOR_ID, MTS_GSM_PRODUCT_ID) },
>  	{ USB_DEVICE(MTS_VENDOR_ID, MTS_EDGE_PRODUCT_ID) },
>  	{ USB_DEVICE(IBM_VENDOR_ID, IBM_4543_PRODUCT_ID) },
> +	{ USB_DEVICE(IBM_VENDOR_ID, IBM_454B_PRODUCT_ID) },
> +	{ USB_DEVICE(IBM_VENDOR_ID, IBM_454C_PRODUCT_ID) },
>  };
>  
>  static struct usb_device_id ti_id_table_5052[4+TI_EXTRA_VID_PID_COUNT+1] = {
> @@ -208,6 +210,8 @@ static struct usb_device_id ti_id_table_combined[6+2*TI_EXTRA_VID_PID_COUNT+1] =
>  	{ USB_DEVICE(TI_VENDOR_ID, TI_5052_EEPROM_PRODUCT_ID) },
>  	{ USB_DEVICE(TI_VENDOR_ID, TI_5052_FIRMWARE_PRODUCT_ID) },
>  	{ USB_DEVICE(IBM_VENDOR_ID, IBM_4543_PRODUCT_ID) },
> +	{ USB_DEVICE(IBM_VENDOR_ID, IBM_454B_PRODUCT_ID) },
> +	{ USB_DEVICE(IBM_VENDOR_ID, IBM_454C_PRODUCT_ID) },
>  	{ }
>  };
>  
> diff --git a/drivers/usb/serial/ti_usb_3410_5052.h b/drivers/usb/serial/ti_usb_3410_5052.h
> index b7ea5db..f323c60 100644
> --- a/drivers/usb/serial/ti_usb_3410_5052.h
> +++ b/drivers/usb/serial/ti_usb_3410_5052.h
> @@ -30,6 +30,8 @@
>  #define IBM_VENDOR_ID			0x04b3
>  #define TI_3410_PRODUCT_ID		0x3410
>  #define IBM_4543_PRODUCT_ID		0x4543
> +#define IBM_454B_PRODUCT_ID		0x454b
> +#define IBM_454C_PRODUCT_ID		0x454c
>  #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 */
> --
> To unsubscribe from this list: send the line "unsubscribe linux-usb" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux