Print this page
XXXX introduce drv_sectohz

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/sun/sys/dada/targets/daddef.h
          +++ new/usr/src/uts/sun/sys/dada/targets/daddef.h
↓ open down ↓ 309 lines elided ↑ open up ↑
 310  310  /*
 311  311   * 2 hours is an excessively reasonable amount of time for format operations.
 312  312   */
 313  313  
 314  314  #define DCD_FMT_TIME    120*60
 315  315  
 316  316  /*
 317  317   * 5 seconds is what we'll wait if we get a Busy Status back
 318  318   */
 319  319  
 320      -#define DCD_BSY_TIMEOUT         (drv_usectohz(5 * 1000000))
      320 +#define DCD_BSY_TIMEOUT         drv_sectohz(5)
 321  321  
 322  322  /*
 323  323   * Number of times we'll retry a normal operation.
 324  324   *
 325  325   * This includes retries due to transport failure
 326  326   * (need to distinguish between Target and Transport failure)
 327  327   */
 328  328  
 329  329  #define DCD_RETRY_COUNT         5
 330  330  
↓ open down ↓ 76 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX