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.

ganesh

# This is a BitKeeper generated patch for the following project:
# Project Name: greg k-h's linux 2.4 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.647   -> 1.648  
#       drivers/usb/serial/ipaq.c       1.2     -> 1.3    
#
# The following is the BitKeeper ChangeSet Log
# --------------------------------------------
# 02/03/09      [EMAIL PROTECTED]       1.648
# 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:20:59 2002
+++ b/drivers/usb/serial/ipaq.c Sat Mar  9 05:20:59 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.
@@ -154,6 +164,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 bkpatch1235
M'XL(`(E.B3P``[566V_;-A1^-G_%0?O06RSQHHOMP4&ZK.V"!EV0M6_#`DIB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--3G./T-.1>`OOA.ZN2S<WA
;Z/`?`7=2KEV_6<J4E?,DGY$_`6)I;RVM"```
`
end

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

Reply via email to