Print this page
NEX-3705 Need to update libses with LID/USN code from sesctld
Reviewed by: Dan Fields <dan.fields@nexenta.com>
Reviewed by: Rob Gittins <rob.gittins@nexenta.com>
Reviewed by: Hans Rosenfeld <hans.rosenfeld@nexenta.com>
*** 20,29 ****
--- 20,30 ----
*/
/*
* Copyright 2008 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
+ * Copyright 2015 Nexenta Systems, Inc. All rights reserved.
*/
#ifndef _LIBSCSI_IMPL_H
#define _LIBSCSI_IMPL_H
*** 71,80 ****
--- 72,83 ----
struct libscsi_target {
const libscsi_engine_t *lst_engine;
char *lst_vendor;
char *lst_product;
char *lst_revision;
+ char *lst_lid;
+ char *lst_usn;
void *lst_priv;
uint_t lst_mtbf_cdb;
uint_t lst_mtbf_read;
uint_t lst_mtbf_write;
struct libscsi_hdl *lst_hdl;
*** 90,99 ****
--- 93,106 ----
#define LXOR(l, r) (((l) != 0) ^ ((r) != 0))
extern int libscsi_assert(const char *, const char *, int);
extern int libscsi_get_inquiry(struct libscsi_hdl *, struct libscsi_target *);
+ extern int libscsi_get_inquiry_dev_id(struct libscsi_hdl *,
+ struct libscsi_target *);
+ extern int libscsi_get_inquiry_usn(struct libscsi_hdl *,
+ struct libscsi_target *);
#ifdef __cplusplus
}
#endif