Print this page
4786 emlxs shouldn't abuse ddi_get_time(9f)

@@ -21,10 +21,13 @@
 
 /*
  * Copyright 2009 Emulex.  All rights reserved.
  * Use is subject to license terms.
  */
+/*
+ * Copyright 2014 Nexenta Systems, Inc.  All rights reserved.
+ */
 
 #ifndef _EMLXS_DEVICE_H
 #define _EMLXS_DEVICE_H
 
 #ifdef  __cplusplus

@@ -44,11 +47,11 @@
 {
         uint32_t hba_count;
         emlxs_hba_t *hba[MAX_FC_BRDS];
         kmutex_t lock;
 
-        time_t drv_timestamp;
+        hrtime_t drv_timestamp;
         clock_t log_timestamp;
         emlxs_msg_log_t *log[MAX_FC_BRDS];
 
 #ifdef DUMP_SUPPORT
         emlxs_file_t *dump_txtfile[MAX_FC_BRDS];