Print this page
XXXX introduce drv_sectohz

@@ -1317,11 +1317,11 @@
                 if (scsa2usbp->scsa2usb_work_thread_id == NULL) {
 
                         break;
                 }
                 mutex_exit(&scsa2usbp->scsa2usb_mutex);
-                delay(drv_usectohz(1000000));
+                delay(drv_sectohz(1));
                 mutex_enter(&scsa2usbp->scsa2usb_mutex);
         }
         mutex_exit(&scsa2usbp->scsa2usb_mutex);
 
         if (i >= SCSA2USB_DRAIN_TIMEOUT) {

@@ -5451,11 +5451,11 @@
                     USB_SUCCESS)) {
 
                         break;
                 }
                 mutex_exit(&scsa2usbp->scsa2usb_mutex);
-                delay(drv_usectohz(1000000));
+                delay(drv_sectohz(1));
                 mutex_enter(&scsa2usbp->scsa2usb_mutex);
         }
         mutex_exit(&scsa2usbp->scsa2usb_mutex);
 
         ndi_devi_enter(dip, &circ);