On Mon, 11 Dec 2006, Alan wrote:
> On Sun, 10 Dec 2006 19:23:54 -0600
> Corey Minyard <[email protected]> wrote:
>
> > Nothing has come of this yet. But we have these two requests and a
> > request from Russell Doty at Redhat.
> >
> > It would be nice to know if this type of thing was acceptable or not,
> > and the problems with the patch. The patch is at
> > http://home.comcast.net/~minyard
>
> This looks wrong. You already have a kernel interface to serial drivers.
> It is called a line discipline. We use it for ppp, we use it for slip, we
> use it for a few other things such as attaching sync drivers to some
> devices.
Alan, my understanding might be wrong, but, I think, line disciplines are
there as "protocols" for user-tty interfaces, i.e., you need a user, that
opens a tty, sets a line discipline to it, and does io (read/write) over
it, and NOT to be completely initialised and driven from the kernel.
Whereas, what some users need is a complete in-kernel interface, when
either another driver (like in case with the previous poster), or the
platform code (linkstation) know that there's a device attached to this
UART, know how and WHEN to operate it, and the user doesn't care about it
at all. Think of it as about, say, i2c devices, that have user device
interface and in-kernel interface, to which you can connect rtc, USB
transceivers, that get controlled completely from the kernel TRANSPARENTLY
for the user.
Thanks
Guennadi
---
Guennadi Liakhovetski
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]