Print this page
XXXX introduce drv_sectohz

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/io/usb/hcd/ehci/ehci_isoch.c
          +++ new/usr/src/uts/common/io/usb/hcd/ehci/ehci_isoch.c
↓ open down ↓ 266 lines elided ↑ open up ↑
 267  267          ehci_pipe_private_t     *pp)
 268  268  {
 269  269          ASSERT(mutex_owned(&ehcip->ehci_int_mutex));
 270  270  
 271  271          if (pp->pp_itw_head == NULL) {
 272  272  
 273  273                  return;
 274  274          }
 275  275  
 276  276          (void) cv_reltimedwait(&pp->pp_xfer_cmpl_cv, &ehcip->ehci_int_mutex,
 277      -            drv_usectohz(EHCI_XFER_CMPL_TIMEWAIT * 1000000), TR_CLOCK_TICK);
      277 +            drv_sectohz(EHCI_XFER_CMPL_TIMEWAIT), TR_CLOCK_TICK);
 278  278  
 279  279          if (pp->pp_itw_head) {
 280  280                  USB_DPRINTF_L2(PRINT_MASK_LISTS, ehcip->ehci_log_hdl,
 281  281                      "ehci_wait_for_isoc_completion: "
 282  282                      "No transfers completion confirmation received");
 283  283          }
 284  284  }
 285  285  
 286  286  
 287  287  /*
↓ open down ↓ 1162 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX