Bruce Evans 5da172697f Cleaned up and fixed setting of speeds in comparam():
- Removed conversion of a zero input speed to the output speed.  This
  has been done better in ttioctl() since rev.1.108 of kern/tty.c
  almost 5 years ago.  comparam() did the conversion incompletely for
  the case where the output speed is also zero.  It had complications
  to avoid using zero speeds, but would still have used a zero input
  speed for setting watermarks if kern/tty.c had passed one.
- Never permit the input speed to be different from the output speed.
  There was no validity check on the input speed for the case of a zero
  output speed.  Then we didn't change the physical speeds, but we used
  the unvalidated input speed for setting watermarks and didn't return
  an error, so ttioctl() stored the unvalidated input speed in the tty
  struct where it could cause problems later.
- Removed complications that were to avoid using a divisor of 0.  The
  divisor is now always valid if the speed is accepted.
2003-09-27 11:13:59 +00:00
..
2003-09-05 11:05:41 +00:00
2003-08-24 17:55:58 +00:00
2003-08-24 17:55:58 +00:00
2003-09-25 23:36:41 +00:00
2003-09-02 17:30:40 +00:00
2003-09-02 17:30:40 +00:00
2003-08-24 17:55:58 +00:00
2003-08-24 17:55:58 +00:00
2003-08-24 17:55:58 +00:00
2003-08-24 17:55:58 +00:00
2003-08-24 17:55:58 +00:00
2003-08-24 17:55:58 +00:00
2003-08-24 17:55:58 +00:00
2003-09-02 17:30:40 +00:00
2003-09-20 18:03:07 +00:00
2003-08-24 17:55:58 +00:00
2003-09-23 00:18:25 +00:00
2003-08-24 17:55:58 +00:00
2003-08-24 17:55:58 +00:00
2003-08-24 20:18:11 +00:00
2003-08-24 17:55:58 +00:00
2003-09-25 09:27:05 +00:00
2003-09-05 22:37:31 +00:00
2003-08-24 17:55:58 +00:00
2003-08-24 17:55:58 +00:00
2003-09-02 17:30:40 +00:00
2003-08-24 17:55:58 +00:00
2003-09-02 17:30:40 +00:00
2003-08-24 17:55:58 +00:00
2003-08-24 17:55:58 +00:00
2003-08-24 17:55:58 +00:00
2003-08-24 17:55:58 +00:00
2003-08-24 17:55:58 +00:00
2003-08-24 17:55:58 +00:00
2003-08-24 17:55:58 +00:00
2003-09-02 17:30:40 +00:00
2003-08-24 17:55:58 +00:00
2003-08-24 17:55:58 +00:00
2003-08-24 17:55:58 +00:00
2003-08-24 17:55:58 +00:00
2003-09-02 17:30:40 +00:00
2003-09-02 17:30:40 +00:00
2003-06-02 16:32:55 +00:00
2003-08-24 17:55:58 +00:00
2003-08-24 17:55:58 +00:00
2003-08-24 17:55:58 +00:00
2003-08-24 17:55:58 +00:00
2003-08-24 17:55:58 +00:00
2003-08-24 17:55:58 +00:00
2003-08-24 17:55:58 +00:00
2003-09-22 05:27:33 +00:00
2003-08-24 17:55:58 +00:00
2003-08-24 17:55:58 +00:00
2003-08-24 17:55:58 +00:00
2003-08-24 17:55:58 +00:00
2003-08-24 17:55:58 +00:00
2003-08-24 17:55:58 +00:00
2003-08-24 17:55:58 +00:00
2003-08-24 17:55:58 +00:00
2003-08-24 18:03:45 +00:00
2003-08-24 18:03:45 +00:00
2003-08-24 18:03:45 +00:00
2003-08-24 18:03:45 +00:00
2003-08-24 18:03:45 +00:00
2003-06-02 16:32:55 +00:00
2003-08-24 18:17:24 +00:00
2003-09-02 17:30:40 +00:00
2003-08-24 18:17:24 +00:00
2003-09-02 17:30:40 +00:00
2003-08-24 17:55:58 +00:00
2003-09-02 17:30:40 +00:00
2003-09-02 17:30:40 +00:00
2003-08-24 17:55:58 +00:00
2003-08-24 17:55:58 +00:00
2003-08-24 17:55:58 +00:00
2003-09-02 17:30:40 +00:00
2003-08-24 17:55:58 +00:00
2003-09-22 05:33:22 +00:00
2003-08-24 17:55:58 +00:00
2003-08-24 17:55:58 +00:00