ChangeSet 1.1119.1.1, 2003/08/06 13:40:52-07:00, [EMAIL PROTECTED]

[PATCH] USB: remove some vendor specific stuff from the pl2303 driver to get other 
devices to work.


 drivers/usb/serial/pl2303.c |    9 ---------
 1 files changed, 9 deletions(-)


diff -Nru a/drivers/usb/serial/pl2303.c b/drivers/usb/serial/pl2303.c
--- a/drivers/usb/serial/pl2303.c       Fri Aug  8 17:06:30 2003
+++ b/drivers/usb/serial/pl2303.c       Fri Aug  8 17:06:30 2003
@@ -285,12 +285,6 @@
             buf[0], buf[1], buf[2], buf[3], buf[4], buf[5], buf[6]);
 
 
-       i = usb_control_msg (serial->dev, usb_sndctrlpipe (serial->dev, 0),
-                            VENDOR_WRITE_REQUEST, VENDOR_WRITE_REQUEST_TYPE,
-                            0, 1, NULL, 0, 100);
-
-       dbg ("0x40:1:0:1  %d", i);
-
        if (cflag & CSIZE) {
                switch (cflag & CSIZE) {
                        case CS5:       buf[6] = 5;     break;
@@ -428,9 +422,6 @@
        SOUP (VENDOR_WRITE_REQUEST_TYPE, VENDOR_WRITE_REQUEST, 0x0404, 1);
        FISH (VENDOR_READ_REQUEST_TYPE, VENDOR_READ_REQUEST, 0x8484, 0);
        FISH (VENDOR_READ_REQUEST_TYPE, VENDOR_READ_REQUEST, 0x8383, 0);
-       SOUP (VENDOR_WRITE_REQUEST_TYPE, VENDOR_WRITE_REQUEST, 0, 1);
-       SOUP (VENDOR_WRITE_REQUEST_TYPE, VENDOR_WRITE_REQUEST, 1, 0xc0);
-       SOUP (VENDOR_WRITE_REQUEST_TYPE, VENDOR_WRITE_REQUEST, 2, 4);
 
        /* Setup termios */
        if (port->tty) {



-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to