Re: [PATCH] Re: Move of input drivers, some word needed from you

From: Linus Torvalds (torvalds@transmeta.com)
Date: Tue Aug 22 2000 - 17:26:49 EST


On Wed, 23 Aug 2000, Rogier Wolff wrote:
>
> However, (for example:) the fact that every serial driver in Linux has
> to do its own hangup and carrier detect logic stinks.

Oh, I agree.

But this is a code interface issue, in my opinion. I suspect the
interfaces in the serial case are just not very good, and a bad interface
will force people to duplicate code (possibly with small changes) just
because it's a bad interface.

Getting to a good interface is non-trivial, but in the end it's the most
important thing anybody can do. Once you have good interfaces, you can
then get to the point where sharing is easy without having the potential
downsides.

I definitely wouldn't argue about some tty layer and serial code changes.

                        Linus

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



This archive was generated by hypermail 2b29 : Wed Aug 23 2000 - 21:00:08 EST