On Wed, Jan 15, 2020 at 11:08:04AM +0100, Martin Pieuchot wrote:
> On 14/01/20(Tue) 18:37, Scott Cheloha wrote:
> > Ticks to milliseconds.
> > [...]
> > @@ -303,16 +304,17 @@ lptpushbytes(struct lpt_softc *sc)
> > while (NOT_READY()) {
> > if (++spin
On 14/01/20(Tue) 18:37, Scott Cheloha wrote:
> Ticks to milliseconds.
> [...]
> @@ -303,16 +304,17 @@ lptpushbytes(struct lpt_softc *sc)
> while (NOT_READY()) {
> if (++spin < sc->sc_spinmax)
> continue;
> -
Ticks to milliseconds.
I've changed "tic" to "msecs" in the backoff loop to make the units
more obvious. I went with 10ms as the starting sleep. A perfect
conversion would start at something like (tick / 1000), but obviously
we're trying to move away from that sort of thing. Absent a better
ide