lkml.org 
[lkml]   [2006]   [Feb]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] SIIG 8-port serial boards support
On Fri, Feb 17, 2006 at 02:39:42PM +0300, Andrey Panin wrote:
> On 034, 02 03, 2006 at 09:24:36 +0000, Russell King wrote:
> > On Fri, Feb 03, 2006 at 12:13:08PM +0300, Andrey Panin wrote:
> > > On 033, 02 02, 2006 at 08:17:35 +0000, Russell King wrote:
> > > > As I've said many a time, we need a generic way to set different hand-
> > > > shaking modes. I've suggested using some spare bits in termios in the
> > > > past, but nothing ever came of that - folk lose interest at that point.
>
> No wonder they do. Extra bits are not a problem, but for 8250.c we need some
> way to glue subdrivers with serial8250_set_termios(). Callback in uart_port
> structure ?

They lose interest because they want to solve only their own small
little problem without looking at the bigger picture. That's not
what I'm interested in, so as far as I'm concerned (and I hope this
is clear) I have _zero_ interest in solving their small little
problems.

By only solving the small little problem, we end up with lots of
drivers doing their own stupid implementation of the same feature,
which results in multiple differing ways to enable said same
feature from userspace.

Plus, there is more to handshaking than just the standard protocol
we implement today - yes there's RS485-using-RTS flavour, but there's
also an alternative interpretation of RTS to mean "I am requesting
to send something" rather than the conventional "it is okay for you
to send me something".

And yes, someone has already requested this alternative RTS
interpretation.

So, there are three distinct flow control scenarios:

- conventional RTS/CTS
- alternative RTS/CTS
- RS485

As I've said above, if folk wish to bury their heads and just address
RS485 in isolation, I'm just plain not interested. Let's do the job
properly or not at all.

--
Russell King
Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/
maintainer of: 2.6 Serial core
-
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/

\
 
 \ /
  Last update: 2006-02-17 21:04    [W:0.047 / U:0.368 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site