public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Ed Beroset <beroset@mindspring.com>
To: gregkh@suse.de, linux-usb@vger.kernel.org,
	linux-kernel@vger.kernel.org,
	linux-usb-devel@lists.sourceforge.net
Subject: [PATCH] usb-serial: ftdi driver- add support for optical probe device
Date: Thu, 17 Jan 2008 17:37:46 -0500	[thread overview]
Message-ID: <478FD8BA.6040604@mindspring.com> (raw)

This patch is for the 2.6.24-rc8 kernel.

Added support for the Elster Unicom III Optical Probe.
The device ID has already been added to the usb.ids file.

Signed-off-by:  Ed Beroset <beroset@mindspring.com>
---

diff -aur --exclude-from=a/.gitignore a/drivers/usb/serial/ftdi_sio.c
b/drivers/usb/serial/ftdi_sio.c
--- a/drivers/usb/serial/ftdi_sio.c	2008-01-16 10:03:24.000000000 -0500
+++ b/drivers/usb/serial/ftdi_sio.c	2008-01-16 10:59:22.000000000 -0500
@@ -17,6 +17,10 @@
   * See http://ftdi-usb-sio.sourceforge.net for upto date testing info
   *	and extra documentation
   *
+ * (16/Jan/2007) Ed Beroset
+ *      Added PID for Elster Unicom III Optical Probe
+ *      see http://www.elsterelectricity.com/ for product description
+ *
   * (21/Jul/2004) Ian Abbott
   *      Incorporated Steven Turner's code to add support for the
FT2232C chip.
   *      The prelimilary port to the 2.6 kernel was by Rus V.
Brushkoff.  I have
@@ -571,6 +575,7 @@
  	{ USB_DEVICE(TML_VID, TML_USB_SERIAL_PID) },
  	{ USB_DEVICE(OLIMEX_VID, OLIMEX_ARM_USB_OCD_PID),
  		.driver_info = (kernel_ulong_t)&ftdi_olimex_quirk },
+	{ USB_DEVICE(FTDI_VID, FTDI_ELSTER_UNICOM_PID) },
  	{ },					/* Optional parameter entry */
  	{ }					/* Terminating entry */
  };
diff -aur --exclude-from=a/.gitignore a/drivers/usb/serial/ftdi_sio.h
b/drivers/usb/serial/ftdi_sio.h
--- a/drivers/usb/serial/ftdi_sio.h	2008-01-16 10:03:24.000000000 -0500
+++ b/drivers/usb/serial/ftdi_sio.h	2008-01-16 11:01:44.000000000 -0500
@@ -534,6 +534,8 @@
  #define OLIMEX_VID			0x15BA
  #define OLIMEX_ARM_USB_OCD_PID		0x0003

+/* www.elsterelectricity.com Elster Unicom III Optical Probe */
+#define FTDI_ELSTER_UNICOM_PID 0xE700 /* Product Id */

  /*
   * The Mobility Lab (TML)


                 reply	other threads:[~2008-01-17 22:52 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=478FD8BA.6040604@mindspring.com \
    --to=beroset@mindspring.com \
    --cc=gregkh@suse.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb-devel@lists.sourceforge.net \
    --cc=linux-usb@vger.kernel.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