summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/sys/scsi
diff options
context:
space:
mode:
authorrs135747 <none@none>2006-01-09 12:20:40 -0800
committerrs135747 <none@none>2006-01-09 12:20:40 -0800
commit0e838bce24ec3ad3016a7a88671233c2663838ad (patch)
tree1717631ecad9d5d8893398bb21e6d443d5b8848c /usr/src/uts/common/sys/scsi
parent01f19855c272b5ab349dd1175fe302692565c657 (diff)
downloadillumos-gate-0e838bce24ec3ad3016a7a88671233c2663838ad.tar.gz
6352950 Pre-pend /devices to OS device file name field in MPAPI output
6353092 mpathadm modify command doesnt change auto-failback at array level 6353233 mpath show lu can return errant target port group information 6365775 Panic BAD TRAP - General Protection Error doing cfgadm -c configure 6367813 Proper usage of str() functions is required 6367814 Incorrect dependency on mdi_client_get_path_count() in finding lu state 6367816 Invalid vlun ptr dereference in vhci_mpapi_sync_lu_oid_list
Diffstat (limited to 'usr/src/uts/common/sys/scsi')
-rw-r--r--usr/src/uts/common/sys/scsi/adapters/mpapi_scsi_vhci.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/usr/src/uts/common/sys/scsi/adapters/mpapi_scsi_vhci.h b/usr/src/uts/common/sys/scsi/adapters/mpapi_scsi_vhci.h
index 5ca2c244fd..8e36f8b85b 100644
--- a/usr/src/uts/common/sys/scsi/adapters/mpapi_scsi_vhci.h
+++ b/usr/src/uts/common/sys/scsi/adapters/mpapi_scsi_vhci.h
@@ -19,7 +19,7 @@
* CDDL HEADER END
*/
/*
- * Copyright 2005 Sun Microsystems, Inc. All rights reserved.
+ * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
@@ -39,6 +39,8 @@ extern "C" {
#include <sys/scsi/adapters/mpapi_impl.h>
+#define MPAPI_SCSI_MAXPCLASSLEN 25
+
/* Structure for MP_OID (kernel level only) */
typedef struct mp_oid {
@@ -68,12 +70,12 @@ typedef union mpoid {
typedef struct mpapi_item {
mpoid_t oid;
void *idata; /* item data */
-}mpapi_item_t;
+} mpapi_item_t;
typedef struct mpapi_item_list {
mpapi_item_t *item;
struct mpapi_item_list *next;
-}mpapi_item_list_t;
+} mpapi_item_list_t;
/*
* MP API item header definition.
@@ -82,7 +84,7 @@ typedef struct mpapi_item_list {
typedef struct mpapi_list_header {
mpapi_item_list_t *head;
mpapi_item_list_t *tail;
-}mpapi_list_header_t;
+} mpapi_list_header_t;
/*
* Structure to maintain mpapi initiator data.
@@ -112,6 +114,7 @@ typedef struct mpapi_path_data {
void *resp; /* pip */
char *path_name;
int valid;
+ char pclass[MPAPI_SCSI_MAXPCLASSLEN];
mp_path_prop_t prop;
} mpapi_path_data_t;
@@ -123,6 +126,7 @@ typedef struct mpapi_tpg_data {
mpapi_list_header_t *tport_list;
mpapi_list_header_t *lu_list; /* mpath lu or lun list */
int valid;
+ char pclass[MPAPI_SCSI_MAXPCLASSLEN];
mp_tpg_prop_t prop;
} mpapi_tpg_data_t;