Print this page
XXXX introduce drv_sectohz

@@ -1767,11 +1767,11 @@
          * which becomes zero when all data is submitted to DSD. But usbser
          * stays busy until it gets tx callback from DSD, signalling that
          * data has been sent over USB. To be continued in the next comment...
          */
         until = ddi_get_lbolt() +
-            drv_usectohz(USBSER_WQ_DRAIN_TIMEOUT * 1000000);
+            drv_sectohz(USBSER_WQ_DRAIN_TIMEOUT);
 
         while ((pp->port_wq_data_cnt > 0) && USBSER_PORT_IS_BUSY(pp)) {
                 if ((rval = cv_timedwait_sig(&pp->port_act_cv, &pp->port_mutex,
                     until)) <= 0) {