Print this page
patch fix

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/sys/ib/mgt/ibdm/ibdm_ibnex.h
          +++ new/usr/src/uts/common/sys/ib/mgt/ibdm/ibdm_ibnex.h
↓ open down ↓ 207 lines elided ↑ open up ↑
 208  208  
 209  209  /*
 210  210   * HCA list structure.
 211  211   */
 212  212  typedef struct ibdm_hca_list_s {
 213  213          ibdm_port_attr_t        *hl_port_attr;          /* port attributes */
 214  214          struct ibdm_hca_list_s  *hl_next;               /* ptr to next list */
 215  215          ib_guid_t               hl_hca_guid;            /* HCA GUID */
 216  216          uint32_t                hl_nports;              /* #ports of this HCA */
 217  217          uint32_t                hl_nports_active;       /* #ports active */
 218      -        time_t                  hl_attach_time;         /* attach time */
      218 +        hrtime_t                hl_attach_time;         /* attach time */
 219  219          ibt_hca_hdl_t           hl_hca_hdl;             /* HCA handle */
 220  220          ibdm_port_attr_t        *hl_hca_port_attr;      /* Dummy Port Attr */
 221  221                                                          /* for HCA node */
 222  222  } ibdm_hca_list_t;
 223  223  _NOTE(SCHEME_PROTECTS_DATA("Serialized access by cv", ibdm_hca_list_s))
 224  224  
 225  225  /*
 226  226   * The DM callback definitions
 227  227   *
 228  228   * ibdm_callback_t
↓ open down ↓ 170 lines elided ↑ open up ↑
 399  399   */
 400  400  void    ibdm_ibnex_update_pkey_tbls(void);
 401  401  
 402  402  /*
 403  403   * ibdm_ibnex_port_settle_wait
 404  404   *      Wait until the ports come up
 405  405   *
 406  406   * Arguments
 407  407   *      HCA GUID and the maximum wait time since the hca instance attach
 408  408   */
 409      -void    ibdm_ibnex_port_settle_wait(ib_guid_t, int);
      409 +void    ibdm_ibnex_port_settle_wait(ib_guid_t, time_t);
 410  410  
 411  411  
 412  412  #ifdef __cplusplus
 413  413  }
 414  414  #endif
 415  415  
 416  416  #endif  /* _SYS_IB_MGT_IBDM_IBDM_IBNEX_H */
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX