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>

@@ -19,10 +19,11 @@
  * CDDL HEADER END
  */
 /*
  * Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
  * Use is subject to license terms.
+ * Copyright 2015 Nexenta Systems, Inc.  All rights reserved.
  */
 
 #ifndef _SYS_SCSI_GENERIC_INQUIRY_H
 #define _SYS_SCSI_GENERIC_INQUIRY_H
 

@@ -379,10 +380,16 @@
 #define TPGS_FAILOVER_IMPLICIT  0x1
 #define TPGS_FAILOVER_EXPLICIT  0x2
 #define TPGS_FAILOVER_BOTH      0x3
 
 /*
+ * VPD page code macros:
+ */
+#define DEV_ID_VPD_PAGE_CODE 0x83 /* this page is mandatory */
+#define USN_VPD_PAGE_CODE 0x80
+
+/*
  * SPC-3 revision 21c, section 7.6.4.1
  * Table 289 -- Device Identification VPD page
  */
 struct vpd_hdr {
 #if defined(_BIT_FIELDS_LTOH)