Re: FTDI Driver Patch

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

 



Hi Ben, 

On Thu, Sep 23, 2010 at 04:42:47PM -0400, Ben Smith wrote:
> Johan,
>     Thank you for maintaining this driver, after a quick mod I was able to
> add support for my programing cable for my radio. I have created a patch for
> you off the git tree with the hope you can add support for my device in the
> future.

Your patch looks good, but we would require a descriptive subject line,
commit message and a Signed-off-by tag.

Please have a look at Documentation/SubmittingPatches for general
guidelines and perhaps also the log for ftdi_sio (for inspiration).

Since you're using git, you could find the git format-patch and
send-email commands useful.

You should then send the patch directly to Greg KH <greg@xxxxxxxxx> with
a CC to linux-usb@xxxxxxxxxxxxxxxx

Thanks,
Johan


> diff --git a/drivers/usb/serial/ftdi_sio.c b/drivers/usb/serial/ftdi_sio.c
> index 97cc87d..c07d438 100644
> --- a/drivers/usb/serial/ftdi_sio.c
> +++ b/drivers/usb/serial/ftdi_sio.c
> @@ -696,6 +696,7 @@ static struct usb_device_id id_table_combined [] = {
>  		.driver_info = (kernel_ulong_t)&ftdi_NDI_device_quirk },
>  	{ USB_DEVICE(TELLDUS_VID, TELLDUS_TELLSTICK_PID) },
>  	{ USB_DEVICE(RTSYSTEMS_VID, RTSYSTEMS_SERIAL_VX7_PID) },
> +	{ USB_DEVICE(RTSYSTEMS_VID, RTSYSTEMS_SERIAL_VX8GR_PID) },
>  	{ USB_DEVICE(FTDI_VID, FTDI_MAXSTREAM_PID) },
>  	{ USB_DEVICE(FTDI_VID, FTDI_PHI_FISCO_PID) },
>  	{ USB_DEVICE(TML_VID, TML_USB_SERIAL_PID) },
> diff --git a/drivers/usb/serial/ftdi_sio_ids.h b/drivers/usb/serial/ftdi_sio_ids.h
> index 15a4583..8444c70 100644
> --- a/drivers/usb/serial/ftdi_sio_ids.h
> +++ b/drivers/usb/serial/ftdi_sio_ids.h
> @@ -720,6 +720,7 @@
>   */
>  #define RTSYSTEMS_VID			0x2100	/* Vendor ID */
>  #define RTSYSTEMS_SERIAL_VX7_PID	0x9e52	/* Serial converter for VX-7 Radios using FT232RL */
> +#define RTSYSTEMS_SERIAL_VX8GR_PID	0x9e5b /* Serial converter for VX-8GR Radio*/
>  
>  /*
>   * Bayer Ascensia Contour blood glucose meter USB-converter cable.

--
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