hello,
        this is a bk export -tpatch followed by a bk send -wgzip_uu -r+
fixed a (possible) panic caused by the line discipline echoing characters. it
also fixes a problem where the echoing messes up ppp chat.

thanks,
ganesh

# This is a BitKeeper generated patch for the following project:
# Project Name: greg k-h's linux 2.5 USB kernel tree
# This patch format is intended for GNU patch command version 2.5 or higher.
# This patch includes the following deltas:
#                  ChangeSet    1.368   -> 1.369  
#       drivers/usb/serial/ipaq.c       1.6     -> 1.7    
#
# The following is the BitKeeper ChangeSet Log
# --------------------------------------------
# 02/03/08      [EMAIL PROTECTED]       1.369
# Fixed a panic caused by the line discipline echoing characters. It
# also fixes a problem where the echoing messes up ppp chat.
# --------------------------------------------
#
diff -Nru a/drivers/usb/serial/ipaq.c b/drivers/usb/serial/ipaq.c
--- a/drivers/usb/serial/ipaq.c Sat Mar  9 05:22:08 2002
+++ b/drivers/usb/serial/ipaq.c Sat Mar  9 05:22:08 2002
@@ -9,6 +9,16 @@
  *     the Free Software Foundation; either version 2 of the License, or
  *     (at your option) any later version.
  *
+ * (8/3/2002) ganesh
+ *     The ipaq sometimes emits a '\0' before the CLIENT string. At this
+ *     point of time, the ppp ldisc is not yet attached to the tty, so
+ *     n_tty echoes "^ " to the ipaq, which messes up the chat. In 2.5.6-pre2
+ *     this causes a panic because echo_char() tries to sleep in interrupt
+ *     context.
+ *     The fix is to tell the upper layers that this is a raw device so that
+ *     echoing is suppressed. Thanks to Lyle Lindholm for a detailed bug
+ *     report.
+ *
  * (25/2/2002) ganesh
  *     Added support for the HP Jornada 548 and 568. Completely untested.
  *     Thanks to info from Heath Robinson and Arieh Davidoff.
@@ -148,6 +158,8 @@
                 */
 
                port->tty->low_latency = 1;
+               port->tty->raw = 1;
+               port->tty->real_raw = 1;
 
                /*
                 * Lose the small buffers usbserial provides. Make larger ones.
This BitKeeper patch contains the following changesets:
+
## Wrapped with gzip_uu ##


begin 664 bkpatch1261
M'XL(`.1.B3P``[66VV[;.!"&K\VG&+07/<42#Y9\6#A(-]O=!@W:(&W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'$;S$)B<4.!D,PLKP&.LX/`YGSX']<6=5R?)J
<O[7_0X`]R=:NV<SS9)E,\JD@WP!?"^,MF@@`````
`
end

_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to