All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Tosoni" <jp.tosoni@acksys.fr>
To: 'Krzysztof Halasa' <khc@pm.waw.pl>
Cc: linux-serial@vger.kernel.org
Subject: RE: should RTS init in serial core be tied to CRTSCTS
Date: Wed, 14 Mar 2007 14:45:35 +0100	[thread overview]
Message-ID: <002001c7663f$0bc45ee0$2e01a8c0@acksys.local> (raw)
In-Reply-To: <m3slc8c7vo.fsf@maximus.localdomain>

Krzysztof Halasa wrote:

> It's just reality. If your IC in question does this in hardware
> - fine, but you still have to support it in the driver, adding
> a #define XXX doesn't help.
<sigh>
The reality is: the need exists, it does not break the driver, other OSs
support it, Linux does not, I personally wrote support for it in the
existing 8250 driver, other people wrote similar code in similar Linux
drivers.

But for some reason maintainers did not want to hear about this work. So I
must reinsert it over and over again with each new version of the kernel.
</sigh>

> "Code talks".
Indeed, please listen to drivers/serial/crisv10.c function rs_ioctl() (not
my code)
I can show you my own code also, if you care.

> > But
> > obviously neither of you used half duplex devices before.
>
> This is your "not true". I was using them, though they weren't
> modems.
>
> > There is no need for handshake, since half duplex is used
> > in master/slave situations.
>
> Not necesarily, there are CSMA/CD-style designs as well as token-ring
> style.

We talk about RTS use don't we ? What I talk about, is a way to toggle RTS
around transmit data with acceptable delays. This can only reside in the
serial driver, not in a line discipline.

A line discipline would have a hard time to switch on the OXFORD behaviour
without serial driver support wouldn't it ?

>
> > And I can insure you, that Windows handles this very well, using
> > only the above-mentioned RTS_TOGGLE flag.
>
> That means the DCE does all the buffering and handshaking. I'd say
> it's not common, most devices are simpler.

Of course !
That simply means that buffer management is a link-level function.
I do not want to remove the existing behaviour for RTS, I want to add a
optional "new" one to handle the original standard, and I do believe that I
am not alone to need this.

Best regards


  reply	other threads:[~2007-03-14 13:45 UTC|newest]

Thread overview: 51+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-02  0:03 should RTS init in serial core be tied to CRTSCTS Mike Frysinger
2007-03-04 16:20 ` Robin Getz
2007-03-04 19:46 ` Russell King
2007-03-04 20:42   ` Robin Getz
2007-03-04 20:42     ` Robin Getz
2007-03-05  8:39     ` Russell King
2007-03-05  8:39       ` Russell King
2007-03-05 17:09   ` Mike Frysinger
2007-03-05 17:39     ` Tosoni
2007-03-05 17:56     ` Russell King
2007-03-05 18:13       ` Mike Frysinger
2007-03-06 20:40 ` Krzysztof Halasa
2007-03-06 23:24   ` Robin Getz
2007-03-06 23:24     ` Robin Getz
2007-03-07 12:46     ` Krzysztof Halasa
2007-03-07 13:38       ` Oleksiy Kebkal
2007-03-07 15:19       ` Robin Getz
2007-03-07 21:30         ` Oleksiy Kebkal
2007-03-08 13:44           ` Robin Getz
2007-03-08 13:48             ` Russell King
2007-03-08 14:16               ` Carl-Daniel Hailfinger
2007-03-08 14:20                 ` Russell King
2007-03-08 16:51                 ` Krzysztof Halasa
2007-03-08 18:43                   ` Tosoni
2007-03-08 18:43                     ` Tosoni
2007-03-09 20:39                     ` Krzysztof Halasa
2007-03-09 20:39                       ` Krzysztof Halasa
2007-03-12  9:22                       ` Tosoni
2007-03-12  9:22                         ` Tosoni
2007-03-12 12:59                         ` Krzysztof Halasa
2007-03-12 12:59                           ` Krzysztof Halasa
2007-03-14 11:07                           ` Tosoni
2007-03-14 12:44                             ` Krzysztof Halasa
2007-03-14 13:45                               ` Tosoni [this message]
2007-03-14 23:59                                 ` Krzysztof Halasa
2007-03-08 14:23               ` Oleksiy Kebkal
2007-03-08 14:28                 ` Russell King
2007-03-08 14:40                   ` Oleksiy Kebkal
2007-03-08 14:25               ` Oleksiy Kebkal
2007-03-08 14:25                 ` Oleksiy Kebkal
2007-03-08 20:23               ` Robin Getz
2007-03-08 20:40                 ` Russell King
2007-03-08 23:32                   ` Robin Getz
2007-03-09  8:57                     ` Russell King
2007-03-09 14:18                   ` Oleksiy Kebkal
2007-03-07 12:54     ` Oleksiy Kebkal
2007-03-07 13:03       ` Krzysztof Halasa
2007-03-07 20:04         ` Mike Frysinger
2007-03-07  5:13   ` Oleksiy Kebkal
2007-03-07 12:48     ` Krzysztof Halasa
  -- strict thread matches above, loose matches on Subject: below --
2007-03-05  8:23 Oleksiy Kebkal

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='002001c7663f$0bc45ee0$2e01a8c0@acksys.local' \
    --to=jp.tosoni@acksys.fr \
    --cc=khc@pm.waw.pl \
    --cc=linux-serial@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.