Print this page
XXXX introduce drv_sectohz

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/sun4u/io/pci/pci_ecc.c
          +++ new/usr/src/uts/sun4u/io/pci/pci_ecc.c
↓ open down ↓ 597 lines elided ↑ open up ↑
 598  598                  /*
 599  599                   * Setup timeout (if CE detected via interrupt) to
 600  600                   * re-enable CE interrupts if no more CEs are detected.
 601  601                   * This is to protect against CE storms.
 602  602                   */
 603  603                  if (ecc_ce_delayed &&
 604  604                      ecc_err->ecc_caller == PCI_ECC_CALL &&
 605  605                      ecc_err->ecc_p->ecc_to_id == 0) {
 606  606                          ecc_err->ecc_p->ecc_to_id = timeout(ecc_delayed_ce,
 607  607                              (void *)ecc_err->ecc_p,
 608      -                            drv_usectohz((clock_t)ecc_ce_delay_secs *
 609      -                            MICROSEC));
      608 +                            drv_sectohz((clock_t)ecc_ce_delay_secs));
 610  609                  }
 611  610  
 612  611                  /* ecc_err_cexdiag returns nonzero to recirculate */
 613  612                  if (CE_XDIAG_EXT_ALG_APPLIED(ecc->flt_disp) &&
 614  613                      ecc_err_cexdiag(ecc_err, eqep))
 615  614                          return;
 616  615                  ecc_err->ecc_err_type = flt_to_error_type(ecc);
 617  616                  break;
 618  617          }
 619  618  
↓ open down ↓ 122 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX