Re: [PATCH] Add the ability to layer another driver over the serialdriver

From: Alan
Date: Mon Dec 11 2006 - 12:32:43 EST


On Mon, 11 Dec 2006 17:58:29 +0100
Tilman Schmidt <tilman@xxxxxxx> wrote:

> On Mon, 11 Dec 2006 10:20:16 +0000, Alan wrote:
> > 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.
>
> I was under the impression that line disciplines need a user space
> process to open the serial device and push them onto it.

Yes that is correct. You need a way for the user to tell you which port
to use and to the permission and usage management for it anyway (as well
as load the module and configure settings), so this seems quite
reasonable.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/