Print this page
XXXX introduce drv_sectohz

@@ -5043,11 +5043,11 @@
                  * Wait to grab the mailboxes
                  */
                 for (retries = 0; (qlt->mbox_io_state != MBOX_STATE_READY) &&
                     (qlt->mbox_io_state != MBOX_STATE_UNKNOWN); retries++) {
                         (void) cv_timedwait(&qlt->mbox_cv, &qlt->mbox_lock,
-                            ddi_get_lbolt() + drv_usectohz(1000000));
+                            ddi_get_lbolt() + drv_sectohz(1));
                         if (retries > 5) {
                                 mutex_exit(&qlt->mbox_lock);
                                 EL(qlt, "can't drain out mailbox commands\n");
                                 goto dump_fail;
                         }