public inbox for linux-i2c@vger.kernel.org
 help / color / mirror / Atom feed
From: Till Harbaum / Lists <lists-RcHadlBFbzVAfugRpC6u6w@public.gmane.org>
To: i2c-GZX6beZjE8VD60Wz+7aTrA@public.gmane.org
Subject: [PATCH] New VID/PID pair for i2c-tiny-usb
Date: Mon, 24 Mar 2008 10:42:30 +0100	[thread overview]
Message-ID: <200803241042.31263.lists@harbaum.org> (raw)

I have recently bought some USB PIDs from EZPrototypes for my USB projects
and one will be for the i2c-tiny-usb. I have not yet started to use the new 
one in the official i2c-tiny-usb firmware since i think it makes sense to get 
the change into the kernel before releasing a modified firmware.

This patch adds support for the EZPrototypes USB vid/pid pair used in later
i2c-tiny-usb firmware versions (avrusb v1.06 and up, usbtiny v2.06 and up).

Signed-off-by: Till Harbaum <Till-zicpKgigMvpAfugRpC6u6w@public.gmane.org>

--- linux-2.6.24.3.orig/drivers/i2c/busses/i2c-tiny-usb.c	2008-02-26 
01:20:20.000000000 +0100
+++ linux-2.6.24.3/drivers/i2c/busses/i2c-tiny-usb.c	2008-03-24 
10:27:13.000000000 +0100
@@ -131,11 +131,13 @@
 
 /* ----- begin of usb layer ---------------------------------------------- */
 
-/* The usb i2c interface uses a vid/pid pair donated by */
-/* Future Technology Devices International Ltd. */
+/* Initially the usb i2c interface used a vid/pid pair donated by */
+/* Future Technology Devices International Ltd., later a pair was */
+/* bought from EZPrototypes */
 static struct usb_device_id i2c_tiny_usb_table [] = {
-	{ USB_DEVICE(0x0403, 0xc631) },
-	{ }			/* Terminating entry */
+	{ USB_DEVICE(0x0403, 0xc631) },   /* FTDI */
+	{ USB_DEVICE(0x1c40, 0x0534) },   /* EZPrototypes */
+	{ } /* Terminating entry */
 };
 
 MODULE_DEVICE_TABLE(usb, i2c_tiny_usb_table);

_______________________________________________
i2c mailing list
i2c-GZX6beZjE8VD60Wz+7aTrA@public.gmane.org
http://lists.lm-sensors.org/mailman/listinfo/i2c

             reply	other threads:[~2008-03-24  9:42 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-24  9:42 Till Harbaum / Lists [this message]
     [not found] ` <200803241042.31263.lists-RcHadlBFbzVAfugRpC6u6w@public.gmane.org>
2008-03-26 14:44   ` [PATCH] New VID/PID pair for i2c-tiny-usb Jean Delvare
     [not found]     ` <20080326154415.2981961a-ig7AzVSIIG7kN2dkZ6Wm7A@public.gmane.org>
2008-03-27 19:47       ` Till Harbaum / Lists
     [not found]         ` <200803272047.21505.lists-RcHadlBFbzVAfugRpC6u6w@public.gmane.org>
2008-03-30 12:31           ` Jean Delvare
     [not found]             ` <20080330143107.1575e1bf-ig7AzVSIIG7kN2dkZ6Wm7A@public.gmane.org>
2008-03-30 18:55               ` Till Harbaum / Lists
     [not found]                 ` <200803302055.15948.lists-RcHadlBFbzVAfugRpC6u6w@public.gmane.org>
2008-03-30 19:53                   ` Jean Delvare

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200803241042.31263.lists@harbaum.org \
    --to=lists-rchadlbfbzvafugrpc6u6w@public.gmane.org \
    --cc=i2c-GZX6beZjE8VD60Wz+7aTrA@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox