Print this page
XXXX introduce drv_sectohz
*** 370,380 ****
/*
* timestamp (golbal variable in sys/systm.h)
*/
#define CURRENT_CLOCK (ddi_get_lbolt())
! #define FCOE_SEC2TICK(x_sec) (drv_usectohz((x_sec) * 1000000))
/*
* Form/convert mod_hash_key from/to xch ID
*/
#define FMHK(x_xid) (mod_hash_key_t)(uintptr_t)(x_xid)
--- 370,380 ----
/*
* timestamp (golbal variable in sys/systm.h)
*/
#define CURRENT_CLOCK (ddi_get_lbolt())
! #define FCOE_SEC2TICK(x_sec) drv_sectohz(x_sec)
/*
* Form/convert mod_hash_key from/to xch ID
*/
#define FMHK(x_xid) (mod_hash_key_t)(uintptr_t)(x_xid)