Re: [Patch] new serial flow control

From: Alan Cox (alan_at_lxorguk.ukuu.org.uk)
Date: 10/07/04

  • Next message: Fabiano Ramos: "Re: strange AMD x Intel Behaviour in 2.4.26"
    To: Samuel Thibault <samuel.thibault@ens-lyon.org>
    Date:	Thu, 07 Oct 2004 20:08:56 +0100
    
    

    On Maw, 2004-10-05 at 18:25, Samuel Thibault wrote:
    > No: data actually pass _after_ CTS and RTS are lowered back: the flow control
    > only indicate the beginning of one frame.

    Ok I've pondered this somewhat. I don't think the hack proposed is the
    right answer for this. I believe you should implement a simple line
    discipline for this device so that it stays out of the general code.

    Right now that poses a challenge but if drivers were to implement
    ldisc->modem_change() or a similar callback for such events an ldisc
    could then handle many of the grungy suprises and handle them once and
    in one place.

    Thoughts ?

    Alan

    -
    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: Fabiano Ramos: "Re: strange AMD x Intel Behaviour in 2.4.26"

    Relevant Pages

    • Re: [PATCH] Xen/i386 cleanups - AGP bus/phys cleanups
      ... > Converting to the DMA mapping API doesn't make sense at all in this context ... > Does Xen break w/o them? ... On native x86, x86-64 and others, the page frame number ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: 2.4.23 Boot failure
      ... I have this problem with an acer laptop, if you have apic selected you ... If you have frame ... > 2.4.23 Hangs just after the boot loader. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [PATCH] Xen/i386 cleanups - AGP bus/phys cleanups
      ... Rik van Riel writes: ... So fix the places that are using virt_to_phys to get the page frame ... memory isolation between partitions you might have been trying to ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [PATCH] i386: Selectable Frequency of the Timer Interrupt
      ... Say you need to deliver a frame of audio or video every ... You have a rendering thread and a display thread that communicate ... complete rendering or for the deadline to expire. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [Patch] new serial flow control
      ... >> only indicate the beginning of one frame. ... > discipline for this device so that it stays out of the general code. ... wonder whether moving some of the usual modem line status change ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)