mgetty and kernel 2.1

"Theodore Y. Ts'o" (tytso@MIT.EDU)
Thu, 22 Oct 1998 21:04:24 +0200


   Date: Thu, 22 Oct 1998 12:54:58 +0200
   From: Gert Doering <gert@greenie.muc.de>

   I agree, didn't look closely enough.  Well, if the kernel says "don't use
   setserial", then don't do it, neh?

   What might trigger this message is the fact that mgetty *queries* the
   state of the SPD_* flags -- and mgetty will also log a warning if the 
   port is set to 115200/57600 with setserial.  

   Ted, without looking at the source, could querying the "setserial" state
   cause the above warning?

Querying the setserial state will not cause the warning.  The warning
only occurs when the driver is setting the baud rate and the SPD_* flags
are set.  (See tty_get_baud_rate() in tty_io.c; it's called by
change_speed() in serial.c, and in other low-level drivers.)

						- Ted