Print this page
4777 ibdm shouldn't abuse ddi_get_time(9f)
Reviewed by: Rob Gittins <rob.gittins@nexenta.com>
Reviewed by: Albert Lee <albert.lee@nexenta.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
@@ -20,10 +20,13 @@
*/
/*
* Copyright 2009 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
+/*
+ * Copyright 2014 Nexenta Systems, Inc. All rights reserved.
+ */
#ifndef _SYS_IB_MGT_IBDM_IBDM_IBNEX_H
#define _SYS_IB_MGT_IBDM_IBDM_IBNEX_H
/*
@@ -213,11 +216,11 @@
ibdm_port_attr_t *hl_port_attr; /* port attributes */
struct ibdm_hca_list_s *hl_next; /* ptr to next list */
ib_guid_t hl_hca_guid; /* HCA GUID */
uint32_t hl_nports; /* #ports of this HCA */
uint32_t hl_nports_active; /* #ports active */
- time_t hl_attach_time; /* attach time */
+ hrtime_t hl_attach_time; /* attach time */
ibt_hca_hdl_t hl_hca_hdl; /* HCA handle */
ibdm_port_attr_t *hl_hca_port_attr; /* Dummy Port Attr */
/* for HCA node */
} ibdm_hca_list_t;
_NOTE(SCHEME_PROTECTS_DATA("Serialized access by cv", ibdm_hca_list_s))