On Sun, Dec 22, 2019 at 03:35:09PM -0600, Scott Cheloha wrote:
> ok?

Bump.

> Index: pluart.c
> ===================================================================
> RCS file: /cvs/src/sys/dev/ic/pluart.c,v
> retrieving revision 1.4
> diff -u -p -r1.4 pluart.c
> --- pluart.c  11 Aug 2019 10:03:32 -0000      1.4
> +++ pluart.c  22 Dec 2019 21:32:50 -0000
> @@ -225,7 +225,7 @@ pluart_intr(void *arg)
>               if (p >= sc->sc_ibufend) {
>                       sc->sc_floods++;
>                       if (sc->sc_errors++ == 0)
> -                             timeout_add(&sc->sc_diag_tmo, 60 * hz);
> +                             timeout_add_sec(&sc->sc_diag_tmo, 60);
>               } else {
>                       *p++ = c;
>                       if (p == sc->sc_ibufhigh && ISSET(tp->t_cflag, 
> CRTSCTS)) {
> @@ -428,7 +428,7 @@ pluart_softint(void *arg)
>               if (ISSET(c, IMXUART_RX_OVERRUN)) {
>                       sc->sc_overflows++;
>                       if (sc->sc_errors++ == 0)
> -                             timeout_add(&sc->sc_diag_tmo, 60 * hz);
> +                             timeout_add_sec(&sc->sc_diag_tmo, 60);
>               }
>               */
>               /* This is ugly, but fast. */
> @@ -605,7 +605,7 @@ pluartclose(dev_t dev, int flag, int mod
>               /* tty device is waiting for carrier; drop dtr then re-raise */
>               //CLR(sc->sc_ucr3, IMXUART_CR3_DSR);
>               //bus_space_write_4(iot, ioh, IMXUART_UCR3, sc->sc_ucr3);
> -             timeout_add(&sc->sc_dtr_tmo, hz * 2);
> +             timeout_add_sec(&sc->sc_dtr_tmo, 2);
>       } else {
>               /* no one else waiting; turn off the uart */
>               pluart_pwroff(sc);

Reply via email to