Re: Serial driver hangs

From: Alan Cox (alan_at_lxorguk.ukuu.org.uk)
Date: 09/29/04

  • Next message: Alan Cox: "Re: processor affinity"
    To: Paul Fulghum <paulkf@microgate.com>
    Date:	Tue, 28 Sep 2004 23:12:44 +0100
    
    

    On Mer, 2004-09-29 at 00:03, Paul Fulghum wrote:
    > The alternative is to implement a flow control
    > mechanism between the flip buffer layer and
    > the tty drivers to (at the very least)
    > enable/disable receive interrupts.

    We have throttle()/unthrottle(). Drivers also know if they can't
    push data.

    > Since the flip buffer implementation is probably
    > going to need rework anyways (eventually) along
    > with the other tty locking issues, this may not
    > be a trivial task.

    TTY_DONT_FLIP has to die. It's already broken for many cases.
    Its basically a nasty quickfix someone did ages ago

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/


  • Next message: Alan Cox: "Re: processor affinity"

    Relevant Pages

    • RE: 2.4.30 - USB serial problem
      ... > Examining the packet that caused the problem showed it was ... That's a software flow control character, ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: 2.6.13-mm2
      ... > - Significant parport rework ... > - Many tty drivers still won't compile ... > - Lots of framebuffer driver updates ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: initcall ordering of driver w/respect to tty_init?
      ... Miles Bader writes: ... But what about all those tty drivers that are suppose to work as ... They use `module_init' to do their initialization, ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: Change number of tty devices
      ... > I came up with a quick patch to add it as an option under ... which means only 16 VCs can be accounted for on a VT. ... Most likely the serial tty drivers will be given a different major ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [PATCH] hvc_console fix to protect hvc_write against ldisc write after hvc_close
      ... > The current (I can't speak to what Alan Cox is going to change) rules ... > with tty drivers is that tty drivers are supposed to close the line ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)