Print this page
XXXX introduce drv_sectohz

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/io/ib/mgt/ibmf/ibmf_saa_impl.c
          +++ new/usr/src/uts/common/io/ib/mgt/ibmf/ibmf_saa_impl.c
↓ open down ↓ 1555 lines elided ↑ open up ↑
1556 1556                              tnf_int, retry_count, retry_count);
1557 1557                  }
1558 1558  
1559 1559                  retry_count++;
1560 1560  
1561 1561                  /*
1562 1562                   * since this is a blocking call, sleep for some time
1563 1563                   * to allow SA to transition from busy state (if busy)
1564 1564                   */
1565 1565                  if (mad_status == MAD_STATUS_BUSY)
1566      -                        delay(drv_usectohz(
1567      -                            IBMF_SAA_BUSY_RETRY_SLEEP_SECS * 1000000));
     1566 +                        delay(drv_sectohz(IBMF_SAA_BUSY_RETRY_SLEEP_SECS));
1568 1567          }
1569 1568  
1570 1569          if (ibmf_status != IBMF_SUCCESS) {
1571 1570  
1572 1571                  IBMF_TRACE_2(IBMF_TNF_DEBUG, DPRINT_L2,
1573 1572                      ibmf_saa_impl_send_request, IBMF_TNF_TRACE, "",
1574 1573                      "ibmf_saa_impl_send_request: %s, ibmf_status = %d\n",
1575 1574                      tnf_string, msg, "ibmf_msg_transport() failed",
1576 1575                      tnf_int, ibmf_status, ibmf_status);
1577 1576  
↓ open down ↓ 2412 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX