1724365f7Ssethg /* 2724365f7Ssethg * CDDL HEADER START 3724365f7Ssethg * 4724365f7Ssethg * The contents of this file are subject to the terms of the 5724365f7Ssethg * Common Development and Distribution License (the "License"). 6724365f7Ssethg * You may not use this file except in compliance with the License. 7724365f7Ssethg * 8724365f7Ssethg * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9724365f7Ssethg * or http://www.opensolaris.org/os/licensing. 10724365f7Ssethg * See the License for the specific language governing permissions 11724365f7Ssethg * and limitations under the License. 12724365f7Ssethg * 13724365f7Ssethg * When distributing Covered Code, include this CDDL HEADER in each 14724365f7Ssethg * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15724365f7Ssethg * If applicable, add the following below this CDDL HEADER, with the 16724365f7Ssethg * fields enclosed by brackets "[]" replaced with your own identifying 17724365f7Ssethg * information: Portions Copyright [yyyy] [name of copyright owner] 18724365f7Ssethg * 19724365f7Ssethg * CDDL HEADER END 20724365f7Ssethg */ 21724365f7Ssethg /* 2224db4641Seschrock * Copyright 2007 Sun Microsystems, Inc. All rights reserved. 23724365f7Ssethg * Use is subject to license terms. 24*0244979bSAlek Pinchuk * Copyright 2016 Nexenta Systems, Inc. All rights reserved. 25724365f7Ssethg */ 26724365f7Ssethg 2724db4641Seschrock #ifndef _SYS_FM_IO_DISK_H 2824db4641Seschrock #define _SYS_FM_IO_DISK_H 29724365f7Ssethg 30724365f7Ssethg #ifdef __cplusplus 31724365f7Ssethg extern "C" { 32724365f7Ssethg #endif 33724365f7Ssethg 3424db4641Seschrock #define DISK_ERROR_CLASS "io.disk" 3524db4641Seschrock 3624db4641Seschrock #define FM_FAULT_DISK_PREDFAIL "predictive-failure" 3724db4641Seschrock #define FM_FAULT_DISK_OVERTEMP "over-temperature" 3824db4641Seschrock #define FM_FAULT_DISK_TESTFAIL "self-test-failure" 39*0244979bSAlek Pinchuk #define FM_FAULT_SSM_WEAROUT "ssm-wearout" 40724365f7Ssethg 41724365f7Ssethg #ifdef __cplusplus 42724365f7Ssethg } 43724365f7Ssethg #endif 44724365f7Ssethg 4524db4641Seschrock #endif /* _SYS_FM_IO_DISK_H */ 46