SCCS-vsn: sys/kern/tty_compat.c 7.9
* All rights reserved. The Berkeley software License Agreement
* specifies the terms and conditions for redistribution.
*
* All rights reserved. The Berkeley software License Agreement
* specifies the terms and conditions for redistribution.
*
- * @(#)tty_compat.c 7.8 (Berkeley) %G%
+ * @(#)tty_compat.c 7.9 (Berkeley) %G%
#include "param.h"
#include "systm.h"
#include "param.h"
#include "systm.h"
#include "ioctl.h"
#include "tty.h"
#include "termios.h"
#include "ioctl.h"
#include "tty.h"
#include "termios.h"
#include "file.h"
#include "conf.h"
#include "dkstat.h"
#include "file.h"
#include "conf.h"
#include "dkstat.h"
#include "kernel.h"
#include "syslog.h"
#include "kernel.h"
#include "syslog.h"
-#include "machine/reg.h"
-
int ttydebug = 0;
static struct speedtab compatspeeds[] = {
int ttydebug = 0;
static struct speedtab compatspeeds[] = {
1800, 2400, 4800, 9600, 19200, 38400,
};
1800, 2400, 4800, 9600, 19200, 38400,
};
-ttspeedtab(speed, table)
- register struct speedtab *table;
-{
-
- for ( ; table->sp_speed != -1; table++)
- if (table->sp_speed == speed)
- return (table->sp_code);
- return (-1);
-}
-
/*ARGSUSED*/
ttcompat(tp, com, data, flag)
register struct tty *tp;
/*ARGSUSED*/
ttcompat(tp, com, data, flag)
register struct tty *tp;