On Fri, Jan 10, 2020 at 07:31:28PM -0600, Scott Cheloha wrote:
> Ticks to milliseconds.
> 
> ok?

Bump.

1/4 seconds, so, 250 milliseconds.

Index: ic/i82365.c
===================================================================
RCS file: /cvs/src/sys/dev/ic/i82365.c,v
retrieving revision 1.37
diff -u -p -r1.37 i82365.c
--- ic/i82365.c 31 Dec 2019 10:05:32 -0000      1.37
+++ ic/i82365.c 11 Jan 2020 01:27:44 -0000
@@ -429,8 +429,8 @@ pcic_event_thread(arg)
                } else {
                        splx(s);
                        /* sleep .25s to be enqueued chatterling interrupts */
-                       (void) tsleep((caddr_t)pcic_event_thread, PWAIT,
-                           "pcicss", hz/4);
+                       tsleep_nsec(pcic_event_thread, PWAIT,
+                           "pcicss", MSEC_TO_NSEC(250));
                }
                pcic_event_process(h, pe);
        }

Reply via email to