/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License (the "License").
* You may not use this file except in compliance with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* See the License for the specific language governing permissions
* and limitations under the License.
*
* When distributing Covered Code, include this CDDL HEADER in each
* file and include the License file at usr/src/OPENSOLARIS.LICENSE.
* If applicable, add the following below this CDDL HEADER, with the
* fields enclosed by brackets "[]" replaced with your own identifying
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
/*
* Copyright 2008 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
/*LINTLIBRARY*/
/*
* This module is part of the photon library
*/
/*
* I18N message number ranges
* This file: 3500 - 3999
* Shared common messages: 1 - 1999
*/
/* Includes */
#include <stdlib.h>
#include <stdio.h>
#include <fcntl.h>
#include <unistd.h>
#include <errno.h>
#include <string.h>
#include <nl_types.h>
#include <strings.h>
#include <libdevice.h>
#define _SYS_FC4_FCAL_LINKAPP_H
#include <l_common.h>
#include <l_error.h>
#include <a_state.h>
#include <a5k.h>
#include <stgcom.h>
#include "luxadm.h"
/* Defines */
static int
{
int err, i;
char *s;
int enc_type = 0;
return (err);
}
return (err);
}
/* Need to find out whether this device is a daktari */
return (L_SCSI_ERROR);
}
strlen(DAK_OFF_NAME)) == 0) ||
strlen(DAK_PROD_STR)) == 0)) {
}
while (ml) {
s = wwn_list_ptr->physical_path;
if (strcmp((char *)s,
"%-80.80s %-17.17s %-17.17s %-22.22s "),
if (enc_type == DAK_ENC_TYPE) {
box_name, i);
} else {
box_name, i);
}
}
}
}
}
}
while (ml) {
s = wwn_list_ptr->physical_path;
if (strcmp((char *)s,
"%-80.80s %-17.17s %-17.17s %-22.22s "),
if (enc_type == DAK_ENC_TYPE) {
} else {
box_name, i);
}
}
}
}
}
}
return (0);
}
int
{
int err;
int multi_print_flag;
return (err);
}
"in /dev/es\n"), ENCLOSURE_PROD_NAME);
} else {
/* Don't re-print multiple paths */
multi_print_flag = 0;
b_list->b_node_wwn_s) == 0) {
multi_print_flag = 1;
break;
}
}
if (multi_print_flag) {
continue;
}
/* Found enclosure */
"%-80.80s %-17.17s %-17.17s %-22.22s %-20.20s \n"),
"%-80.80s %-17.17s %-17.17s %-22.22s %-20.20s\n"),
b_list->b_node_wwn_s) == 0)) {
"%-80.80s %-17.17s %-17.17s %-22.22s %-20.20s\n"),
}
}
/*
* Print the individual disk information for each box.
*/
return (err);
}
}
}
(void) l_free_box_list(&b_list);
return (0);
}