1/* 2 * CDDL HEADER START 3 * 4 * The contents of this file are subject to the terms of the 5 * Common Development and Distribution License (the "License"). 6 * You may not use this file except in compliance with the License. 7 * 8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9 * or http://www.opensolaris.org/os/licensing. 10 * See the License for the specific language governing permissions 11 * and limitations under the License. 12 * 13 * When distributing Covered Code, include this CDDL HEADER in each 14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15 * If applicable, add the following below this CDDL HEADER, with the 16 * fields enclosed by brackets "[]" replaced with your own identifying 17 * information: Portions Copyright [yyyy] [name of copyright owner] 18 * 19 * CDDL HEADER END 20 */ 21/* 22 * Copyright 2008 Sun Microsystems, Inc. All rights reserved. 23 * Use is subject to license terms. 24 */ 25 26/* 27 * PHOTON CONFIGURATION MANAGER 28 * Error definitions 29 */ 30 31#ifndef _L_ERROR_H 32#define _L_ERROR_H 33 34 35 36/* 37 * Include any headers you depend on. 38 */ 39 40/* 41 * I18N message number ranges 42 * This file: 15000 - 15499 43 * Shared common messages: 1 - 1999 44 */ 45 46#ifdef __cplusplus 47extern "C" { 48#endif 49 50 51/* 52 * This header file contains the error definitions 53 * which are not exported but are used internally. 54 */ 55 56/* Persistant Rservation: Invalid transfer length */ 57#define L_PR_INVLD_TRNSFR_LEN 0x10001 58 59/* 60 * Error definitions 61 * for Format Errors. 62 */ 63/* box name conflicts with the SSA name */ 64#define L_SSA_CONFLICT 0x20013 65 66 67/* 68 * Error definitions 69 * for System Errors 70 */ 71/* drvconfig fail */ 72#define L_DRVCONFIG_ERROR 0x31001 73 74/* disks program failed */ 75#define L_DISKS_ERROR 0x31002 76 77/* devlinks program failed */ 78#define L_DEVLINKS_ERROR 0x31003 79 80/* fail to read /dev/rdsk directory. */ 81#define L_READ_DEV_DIR_ERROR 0x31004 82 83/* Failed to open /dev/es/ directory. */ 84#define L_OPEN_ES_DIR_FAILED 0x31005 85 86/* fail to get status from /dev/es directory. */ 87#define L_LSTAT_ES_DIR_ERROR 0x31006 88 89/* disks program failed */ 90#define L_TAPES_ERROR 0x31007 91 92/* fail to get status from /dev/rmt/directory. */ 93#define L_STAT_RMT_DIR_ERROR 0x31008 94 95/* fail to get status from /dev/rmt/directory. */ 96#define L_STAT_DEV_DIR_ERROR 0x31009 97 98 99/* 100 * Error definitions 101 * specific to Back plane. 102 */ 103/* Backplane: Busy or reserved disks found */ 104#define L_BP_BUSY_RESERVED 0x50000 105 106/* Backplane: one or more busy disks found */ 107#define L_BP_BUSY 0x50001 108 109/* Backplane: one or more reserved disks found */ 110#define L_BP_RESERVED 0x50002 111 112/* No BP element found in the enclosure */ 113#define L_NO_BP_ELEM_FOUND 0x50003 114 115/* 116 * Thread errors. 117 */ 118#define L_TH_CREATE 0x60000 119#define L_TH_JOIN 0x60001 120 121 122#ifdef __cplusplus 123} 124#endif 125 126#endif /* _L_ERROR_H */ 127