Re: [PATCH 3/3] usb console,usb-serial: pass initial console baudon to first tty open

From: Alan Cox
Date: Thu Sep 17 2009 - 12:01:20 EST


> Should the "struct console co*" get a new member for the baud, or should
> it get a termios? The source of the problem is how to inherit the
> termios setting from the first user (the console code in this case).

I think the console should probably have a ktermios structure and that is
something which in future could become more generic (arguably in a saner
world the termios would belong to the tty_port in the end as and when
everything is a tty port - which would make a whole ton of things a lot
lot more logical)
--
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/