Re: [PATCH] implement TIOCGSERIAL in sn_serial.c

From: Christoph Hellwig
Date: Wed May 19 2004 - 10:33:55 EST


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.

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