Cyclom Multi-Port Cards
Gert Doering (gert@greenie.muc.de)
Wed, 25 Nov 1998 11:27:32 +0100
Hi,
On Wed, Nov 25, 1998 at 04:09:08AM -0600, Robert Canary wrote:
> > It doesn't reset "setserial" follies, 'cause this is very much nonportable
> > and I refuse to add code for it. It *does* log a warning message if you
> > have used setserial, though.
>
> Hmmm, I am using it and I have never seen a warning message on it yet.
> At what debug level does show up in the log files.
#ifdef linux
/* if port speed is set to 38400, kernel flag might turn it into
* 57600 or 115200. Make sure the user knows about it!
*/
if ( portspeed == 38400 )
{
struct serial_struct serinfo;
if ( ioctl( STDIN, TIOCGSERIAL, &serinfo ) == 0 &&
( serinfo.flags & ASYNC_SPD_MASK ) != 0 )
{
lprintf( L_WARN, "WARNING: obsolete setserial spd_hi/spd_vhi used, 3
8400 is not real port speed" );
}
}
#endif
L_WARN is -x3, if I'm not mistaken.
> In fact I set all my
> ports with setserial spd_vhi and I quit getting those pescky TIO errors
> in my log files, and vgetty finally quit loosing the first 2 seconds of
> ICMs.
"speed 115200" should do the same thing.
gert
--
USENET is *not* the non-clickable part of WWW!
//www.muc.de/~gert/
Gert Doering - Munich, Germany gert@greenie.muc.de
fax: +49-89-35655025 gert.doering@physik.tu-muenchen.de