Re: [PATCH] implement TIOCGSERIAL in sn_serial.c

From: Jesse Barnes
Date: Wed May 19 2004 - 10:47:16 EST


On Wednesday, May 19, 2004 11:31 am, Christoph Hellwig wrote:
> On Wed, May 19, 2004 at 11:09:51AM -0400, Jesse Barnes wrote:
> > The sn2 console driver behaves something like a serial port, but was
> > missing some of the ioctls that userland apps expected. This patch
> > implements the TIOCGSERIAL ioctl, which allows applications to identify
> > the console as a serial port.
>
> And whats the point for this one? TIOCGSERIAL is just some messy internals
> of the old serial.c driver (and serial_core now) that's exposed for the
> sake of setserial. Given that the sn console is quite different I don't
> see the point to emulate all the mess of a real serial driver - and if you
> want to do so use the serial_core framework.

Pat is working on that and should have a patch ready to post soon (is that
right Pat?). In the meantime, we need this little bit.

Jesse
-
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/