Print this page
XXXX introduce drv_sectohz

@@ -353,11 +353,11 @@
 #define STMF_VPD_RELATIVE_TP_ID 0x08
 
 /*
  * Common macros to simplify coding
  */
-#define STMF_SEC2TICK(x_sec)    (drv_usectohz((x_sec) * 1000000))
+#define STMF_SEC2TICK(x_sec)    drv_sectohz(x_sec)
 
 void stmf_trace(caddr_t ident, const char *fmt, ...);
 void *stmf_alloc(stmf_struct_id_t sid, int additional_size, int alloc_flags);
 void stmf_free(void *struct_ptr);
 struct scsi_task *stmf_task_alloc(struct stmf_local_port *lport,