public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH]: add Ever UPS vendor/product id to ftdi_sio driver
@ 2005-01-13 19:14 Arkadiusz Miskiewicz
  2005-01-13 19:25 ` Greg KH
  0 siblings, 1 reply; 7+ messages in thread
From: Arkadiusz Miskiewicz @ 2005-01-13 19:14 UTC (permalink / raw)
  To: Greg KH; +Cc: linux-kernel

Hi,

This patch allows to use ftdi_sio driver with Ever ECO Pro CDS UPS.
Patch was tested on pre-2.6.10 kernel.

Signed-Off: Arkadiusz Miskiewicz <arekm@pld-linux.org>

--- drivers/usb/serial/ftdi_sio.h.org 2005-01-13 16:32:21.000000000 +0100
+++ drivers/usb/serial/ftdi_sio.h 2005-01-13 16:37:33.000000000 +0100
@@ -240,6 +240,12 @@
 #define FTDI_RM_VID  0x0403 /* Vendor  Id */
 #define FTDI_RMCANVIEW_PID 0xfd60 /* Product Id */
 
+/*
+ * EVER Eco Pro UPS (http://www.ever.com.pl/)
+ */
+
+#define EVER_ECO_PRO_CDS 0xe520 /* RS-232 converter */
+
 /* Commands */
 #define FTDI_SIO_RESET   0 /* Reset the port */
 #define FTDI_SIO_MODEM_CTRL  1 /* Set the modem control register */
--- drivers/usb/serial/ftdi_sio.c.org 2005-01-13 16:32:26.000000000 +0100
+++ drivers/usb/serial/ftdi_sio.c 2005-01-13 17:04:12.000000000 +0100
@@ -372,6 +372,7 @@
  { USB_DEVICE_VER(BANDB_VID, BANDB_USOTL4_PID, 0, 0x3ff) },
  { USB_DEVICE_VER(BANDB_VID, BANDB_USTL4_PID, 0, 0x3ff) },
  { USB_DEVICE_VER(BANDB_VID, BANDB_USO9ML2_PID, 0, 0x3ff) },
+ { USB_DEVICE_VER(FTDI_VID, EVER_ECO_PRO_CDS, 0, 0x3ff) },
  { }      /* Terminating entry */
 };
 
@@ -486,6 +487,7 @@
  { USB_DEVICE_VER(BANDB_VID, BANDB_USOTL4_PID, 0x400, 0xffff) },
  { USB_DEVICE_VER(BANDB_VID, BANDB_USTL4_PID, 0x400, 0xffff) },
  { USB_DEVICE_VER(BANDB_VID, BANDB_USO9ML2_PID, 0x400, 0xffff) },
+ { USB_DEVICE_VER(FTDI_VID, EVER_ECO_PRO_CDS, 0x400, 0xffff) },
  { }      /* Terminating entry */
 };
 
@@ -608,6 +610,7 @@
  { USB_DEVICE(BANDB_VID, BANDB_USOTL4_PID) },
  { USB_DEVICE(BANDB_VID, BANDB_USTL4_PID) },
  { USB_DEVICE(BANDB_VID, BANDB_USO9ML2_PID) },
+ { USB_DEVICE(FTDI_VID, EVER_ECO_PRO_CDS) },
  { }      /* Terminating entry */
 };
 

-- 
Arkadiusz Miśkiewicz                    PLD/Linux Team
http://www.t17.ds.pwr.wroc.pl/~misiek/  http://ftp.pld-linux.org/

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH]: add Ever UPS vendor/product id to ftdi_sio driver
  2005-01-13 19:14 [PATCH]: add Ever UPS vendor/product id to ftdi_sio driver Arkadiusz Miskiewicz
@ 2005-01-13 19:25 ` Greg KH
  2005-01-13 19:30   ` Arkadiusz Miskiewicz
  0 siblings, 1 reply; 7+ messages in thread
From: Greg KH @ 2005-01-13 19:25 UTC (permalink / raw)
  To: Arkadiusz Miskiewicz; +Cc: linux-kernel

On Thu, Jan 13, 2005 at 08:14:34PM +0100, Arkadiusz Miskiewicz wrote:
> Hi,
> 
> This patch allows to use ftdi_sio driver with Ever ECO Pro CDS UPS.
> Patch was tested on pre-2.6.10 kernel.

Your email client got hungry and ate all of the tabs for lunch.  Care to
resend it?

thanks,

greg k-h

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH]: add Ever UPS vendor/product id to ftdi_sio driver
  2005-01-13 19:25 ` Greg KH
@ 2005-01-13 19:30   ` Arkadiusz Miskiewicz
  2005-01-13 19:34     ` Greg KH
  0 siblings, 1 reply; 7+ messages in thread
From: Arkadiusz Miskiewicz @ 2005-01-13 19:30 UTC (permalink / raw)
  To: Greg KH; +Cc: linux-kernel

[-- Attachment #1: Type: text/plain, Size: 350 bytes --]

On Thursday 13 of January 2005 20:25, Greg KH wrote:

> Your email client got hungry and ate all of the tabs for lunch. 
Hungry bastard.

> Care to 
> resend it?
This time as attachment.

> thanks,
> greg k-h

-- 
Arkadiusz Miśkiewicz                    PLD/Linux Team
http://www.t17.ds.pwr.wroc.pl/~misiek/  http://ftp.pld-linux.org/

[-- Attachment #2: ftdi_sio-ever.patch --]
[-- Type: text/x-diff, Size: 1535 bytes --]

--- drivers/usb/serial/ftdi_sio.h.org	2005-01-13 16:32:21.000000000 +0100
+++ drivers/usb/serial/ftdi_sio.h	2005-01-13 16:37:33.000000000 +0100
@@ -240,6 +240,12 @@
 #define FTDI_RM_VID		0x0403	/* Vendor  Id */
 #define FTDI_RMCANVIEW_PID	0xfd60	/* Product Id */
 
+/*
+ * EVER Eco Pro UPS (http://www.ever.com.pl/)
+ */
+
+#define	EVER_ECO_PRO_CDS	0xe520	/* RS-232 converter */
+
 /* Commands */
 #define FTDI_SIO_RESET 		0 /* Reset the port */
 #define FTDI_SIO_MODEM_CTRL 	1 /* Set the modem control register */
--- drivers/usb/serial/ftdi_sio.c.org	2005-01-13 16:32:26.000000000 +0100
+++ drivers/usb/serial/ftdi_sio.c	2005-01-13 17:04:12.000000000 +0100
@@ -372,6 +372,7 @@
 	{ USB_DEVICE_VER(BANDB_VID, BANDB_USOTL4_PID, 0, 0x3ff) },
 	{ USB_DEVICE_VER(BANDB_VID, BANDB_USTL4_PID, 0, 0x3ff) },
 	{ USB_DEVICE_VER(BANDB_VID, BANDB_USO9ML2_PID, 0, 0x3ff) },
+	{ USB_DEVICE_VER(FTDI_VID, EVER_ECO_PRO_CDS, 0, 0x3ff) },
 	{ }						/* Terminating entry */
 };
 
@@ -486,6 +487,7 @@
 	{ USB_DEVICE_VER(BANDB_VID, BANDB_USOTL4_PID, 0x400, 0xffff) },
 	{ USB_DEVICE_VER(BANDB_VID, BANDB_USTL4_PID, 0x400, 0xffff) },
 	{ USB_DEVICE_VER(BANDB_VID, BANDB_USO9ML2_PID, 0x400, 0xffff) },
+	{ USB_DEVICE_VER(FTDI_VID, EVER_ECO_PRO_CDS, 0x400, 0xffff) },
 	{ }						/* Terminating entry */
 };
 
@@ -608,6 +610,7 @@
 	{ USB_DEVICE(BANDB_VID, BANDB_USOTL4_PID) },
 	{ USB_DEVICE(BANDB_VID, BANDB_USTL4_PID) },
 	{ USB_DEVICE(BANDB_VID, BANDB_USO9ML2_PID) },
+	{ USB_DEVICE(FTDI_VID, EVER_ECO_PRO_CDS) },
 	{ }						/* Terminating entry */
 };
 

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH]: add Ever UPS vendor/product id to ftdi_sio driver
  2005-01-13 19:30   ` Arkadiusz Miskiewicz
@ 2005-01-13 19:34     ` Greg KH
  2005-01-13 19:49       ` Arkadiusz Miskiewicz
  0 siblings, 1 reply; 7+ messages in thread
From: Greg KH @ 2005-01-13 19:34 UTC (permalink / raw)
  To: Arkadiusz Miskiewicz; +Cc: linux-kernel

On Thu, Jan 13, 2005 at 08:30:33PM +0100, Arkadiusz Miskiewicz wrote:
> On Thursday 13 of January 2005 20:25, Greg KH wrote:
> 
> > Your email client got hungry and ate all of the tabs for lunch. 
> Hungry bastard.
> 
> > Care to 
> > resend it?
> This time as attachment.

But you lost the description of the patch and the Signed-off-by: line :(

Third time's a charm.

greg k-h

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH]: add Ever UPS vendor/product id to ftdi_sio driver
  2005-01-13 19:34     ` Greg KH
@ 2005-01-13 19:49       ` Arkadiusz Miskiewicz
  2005-01-13 21:32         ` Greg KH
  2005-01-14  0:17         ` Greg KH
  0 siblings, 2 replies; 7+ messages in thread
From: Arkadiusz Miskiewicz @ 2005-01-13 19:49 UTC (permalink / raw)
  To: Greg KH; +Cc: linux-kernel

[-- Attachment #1: Type: text/plain, Size: 562 bytes --]

On Thursday 13 of January 2005 20:34, Greg KH wrote:

> But you lost the description of the patch and the Signed-off-by: line :(
> Third time's a charm.
Copy from first mail?

Ok, here it goes once again with description everywhere.

This patch allows to use ftdi_sio driver with Ever ECO Pro CDS UPS.
Patch was tested on pre-2.6.10 kernel.

Signed-Off: Arkadiusz Miskiewicz <arekm@pld-linux.org>

> greg k-h

Thanks,
-- 
Arkadiusz Miśkiewicz                    PLD/Linux Team
http://www.t17.ds.pwr.wroc.pl/~misiek/  http://ftp.pld-linux.org/

[-- Attachment #2: ftdi_sio-ever.patch --]
[-- Type: text/x-diff, Size: 1709 bytes --]

;
; This patch allows to use ftdi_sio driver with Ever ECO Pro CDS UPS.
; Patch was tested on pre-2.6.10 kernel.
;
; Signed-Off: Arkadiusz Miskiewicz <arekm@pld-linux.org>
;
--- drivers/usb/serial/ftdi_sio.h.org	2005-01-13 16:32:21.000000000 +0100
+++ drivers/usb/serial/ftdi_sio.h	2005-01-13 16:37:33.000000000 +0100
@@ -240,6 +240,12 @@
 #define FTDI_RM_VID		0x0403	/* Vendor  Id */
 #define FTDI_RMCANVIEW_PID	0xfd60	/* Product Id */
 
+/*
+ * EVER Eco Pro UPS (http://www.ever.com.pl/)
+ */
+
+#define	EVER_ECO_PRO_CDS	0xe520	/* RS-232 converter */
+
 /* Commands */
 #define FTDI_SIO_RESET 		0 /* Reset the port */
 #define FTDI_SIO_MODEM_CTRL 	1 /* Set the modem control register */
--- drivers/usb/serial/ftdi_sio.c.org	2005-01-13 16:32:26.000000000 +0100
+++ drivers/usb/serial/ftdi_sio.c	2005-01-13 17:04:12.000000000 +0100
@@ -372,6 +372,7 @@
 	{ USB_DEVICE_VER(BANDB_VID, BANDB_USOTL4_PID, 0, 0x3ff) },
 	{ USB_DEVICE_VER(BANDB_VID, BANDB_USTL4_PID, 0, 0x3ff) },
 	{ USB_DEVICE_VER(BANDB_VID, BANDB_USO9ML2_PID, 0, 0x3ff) },
+	{ USB_DEVICE_VER(FTDI_VID, EVER_ECO_PRO_CDS, 0, 0x3ff) },
 	{ }						/* Terminating entry */
 };
 
@@ -486,6 +487,7 @@
 	{ USB_DEVICE_VER(BANDB_VID, BANDB_USOTL4_PID, 0x400, 0xffff) },
 	{ USB_DEVICE_VER(BANDB_VID, BANDB_USTL4_PID, 0x400, 0xffff) },
 	{ USB_DEVICE_VER(BANDB_VID, BANDB_USO9ML2_PID, 0x400, 0xffff) },
+	{ USB_DEVICE_VER(FTDI_VID, EVER_ECO_PRO_CDS, 0x400, 0xffff) },
 	{ }						/* Terminating entry */
 };
 
@@ -608,6 +610,7 @@
 	{ USB_DEVICE(BANDB_VID, BANDB_USOTL4_PID) },
 	{ USB_DEVICE(BANDB_VID, BANDB_USTL4_PID) },
 	{ USB_DEVICE(BANDB_VID, BANDB_USO9ML2_PID) },
+	{ USB_DEVICE(FTDI_VID, EVER_ECO_PRO_CDS) },
 	{ }						/* Terminating entry */
 };
 

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH]: add Ever UPS vendor/product id to ftdi_sio driver
  2005-01-13 19:49       ` Arkadiusz Miskiewicz
@ 2005-01-13 21:32         ` Greg KH
  2005-01-14  0:17         ` Greg KH
  1 sibling, 0 replies; 7+ messages in thread
From: Greg KH @ 2005-01-13 21:32 UTC (permalink / raw)
  To: Arkadiusz Miskiewicz; +Cc: linux-kernel

On Thu, Jan 13, 2005 at 08:49:29PM +0100, Arkadiusz Miskiewicz wrote:
> On Thursday 13 of January 2005 20:34, Greg KH wrote:
> 
> > But you lost the description of the patch and the Signed-off-by: line :(
> > Third time's a charm.
> Copy from first mail?
> 
> Ok, here it goes once again with description everywhere.
> 
> This patch allows to use ftdi_sio driver with Ever ECO Pro CDS UPS.
> Patch was tested on pre-2.6.10 kernel.
> 
> Signed-Off: Arkadiusz Miskiewicz <arekm@pld-linux.org>

Next time can you create the patch so I can apply it with -p1 on the
patch command line.  I fixed up this one already.

Applied, thanks.

greg k-h

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH]: add Ever UPS vendor/product id to ftdi_sio driver
  2005-01-13 19:49       ` Arkadiusz Miskiewicz
  2005-01-13 21:32         ` Greg KH
@ 2005-01-14  0:17         ` Greg KH
  1 sibling, 0 replies; 7+ messages in thread
From: Greg KH @ 2005-01-14  0:17 UTC (permalink / raw)
  To: Arkadiusz Miskiewicz; +Cc: linux-kernel

On Thu, Jan 13, 2005 at 08:49:29PM +0100, Arkadiusz Miskiewicz wrote:
> On Thursday 13 of January 2005 20:34, Greg KH wrote:
> 
> > But you lost the description of the patch and the Signed-off-by: line :(
> > Third time's a charm.
> Copy from first mail?
> 
> Ok, here it goes once again with description everywhere.
> 
> This patch allows to use ftdi_sio driver with Ever ECO Pro CDS UPS.
> Patch was tested on pre-2.6.10 kernel.
> 
> Signed-Off: Arkadiusz Miskiewicz <arekm@pld-linux.org>

Next time can you create the patch so I can apply it with -p1 on the
patch command line.  I fixed up this one already.

Applied, thanks.

greg k-h

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2005-01-14  0:32 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-13 19:14 [PATCH]: add Ever UPS vendor/product id to ftdi_sio driver Arkadiusz Miskiewicz
2005-01-13 19:25 ` Greg KH
2005-01-13 19:30   ` Arkadiusz Miskiewicz
2005-01-13 19:34     ` Greg KH
2005-01-13 19:49       ` Arkadiusz Miskiewicz
2005-01-13 21:32         ` Greg KH
2005-01-14  0:17         ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox