: add Ever UPS vendor/product id to ftdi_sio driver
PATCH 1/1 : add Ever UPS vendor/product id to ftdi_sio driver
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 <[email protected]>
usb/serial/ftdi_sio.h 2005-01-13 16:37:33.000000000 +0100 renamed from usb/serial/ftdi_sio.h.org 2005-01-13 16:32:21.000000000 +0100 +6 -0
@@ -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 */
usb/serial/ftdi_sio.c 2005-01-13 17:04:12.000000000 +0100 renamed from usb/serial/ftdi_sio.c.org 2005-01-13 16:32:26.000000000 +0100 +3 -0
@@ -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 */ };
Signature · 2 lines
Arkadiusz Miśkiewicz PLD/Linux Team http://www.t17.ds.pwr.wroc.pl/~misiek/ http://ftp.pld-linux.org/
Quoted 4 lines · Arkadiusz Miskiewicz
Hi,
This patch allows to use
ftdi_siodriver 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
Quoted 1 line · Greg KH
Your email client got hungry and ate all of the tabs for lunch.
Hungry bastard.
Quoted 2 lines
Care to
resend it?
This time as attachment.
Quoted 2 lines
thanks,
greg k-h
Signature · 2 lines
Arkadiusz Miśkiewicz PLD/Linux Team http://www.t17.ds.pwr.wroc.pl/~misiek/ http://ftp.pld-linux.org/
usb/serial/ftdi_sio.h renamed from usb/serial/ftdi_sio.h.org +6 -0
@@ -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 */
usb/serial/ftdi_sio.c renamed from usb/serial/ftdi_sio.c.org +3 -0
@@ -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 */ };
Quoted 8 lines · Arkadiusz Miskiewicz
Quoted 1 line · Greg KH
Your email client got hungry and ate all of the tabs for lunch.
Hungry bastard.
Quoted 2 lines
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
Quoted 2 lines · Greg KH
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 <[email protected]>
Quoted 1 line
greg k-h
Thanks,
Signature · 2 lines
Arkadiusz Miśkiewicz PLD/Linux Team http://www.t17.ds.pwr.wroc.pl/~misiek/ http://ftp.pld-linux.org/
;
; 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 <[email protected]>
;
usb/serial/ftdi_sio.h renamed from usb/serial/ftdi_sio.h.org +6 -0
@@ -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 */
usb/serial/ftdi_sio.c renamed from usb/serial/ftdi_sio.c.org +3 -0
@@ -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 */ };
Greg KH
AppliedQuoted 4 lines · Arkadiusz Miskiewicz
Quoted 2 lines · Greg KH
But you lost the description of the patch and the Signed-off-by: line :( Third time's a charm.
Quoted 8 lines
Copy from first mail?
Ok, here it goes once again with description everywhere.
This patch allows to use
ftdi_siodriver with Ever ECO Pro CDS UPS. Patch was tested on pre-2.6.10 kernel.Signed-Off: Arkadiusz Miskiewicz <[email protected]>
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
Greg KH
AppliedQuoted 4 lines · Arkadiusz Miskiewicz
Quoted 2 lines · Greg KH
But you lost the description of the patch and the Signed-off-by: line :( Third time's a charm.
Quoted 8 lines
Copy from first mail?
Ok, here it goes once again with description everywhere.
This patch allows to use
ftdi_siodriver with Ever ECO Pro CDS UPS. Patch was tested on pre-2.6.10 kernel.Signed-Off: Arkadiusz Miskiewicz <[email protected]>
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