ChangeSet 1.1019.1.29, 2003/08/05 16:30:14-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       Thu Aug 28 14:50:11 2003
+++ b/drivers/usb/serial/pl2303.c       Thu Aug 28 14:50:11 2003
@@ -266,12 +266,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;
@@ -405,9 +399,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 is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to