Print this page
XXXX introduce drv_sectohz

*** 151,161 **** * Host adapter default definitions. */ /* Timeout timer counts in seconds (must greater than 1 second). */ #define USEC_PER_TICK drv_hztousec(1) ! #define TICKS_PER_SEC drv_usectohz(1000000) #define QL_ONE_SEC_DELAY 1000000 #define QL_ONE_MSEC_DELAY 1000 #define TX_TIMEOUT 3*TICKS_PER_SEC /* * DMA attributes definitions. --- 151,161 ---- * Host adapter default definitions. */ /* Timeout timer counts in seconds (must greater than 1 second). */ #define USEC_PER_TICK drv_hztousec(1) ! #define TICKS_PER_SEC drv_sectohz(1) #define QL_ONE_SEC_DELAY 1000000 #define QL_ONE_MSEC_DELAY 1000 #define TX_TIMEOUT 3*TICKS_PER_SEC /* * DMA attributes definitions.