xref: /titanic_41/usr/src/uts/common/sys/fm/io/disk.h (revision 24db46411fd54f70c35b94bb952eb7ba040e43b4)
1*24db4641Seschrock /*
2*24db4641Seschrock  * CDDL HEADER START
3*24db4641Seschrock  *
4*24db4641Seschrock  * The contents of this file are subject to the terms of the
5*24db4641Seschrock  * Common Development and Distribution License (the "License").
6*24db4641Seschrock  * You may not use this file except in compliance with the License.
7*24db4641Seschrock  *
8*24db4641Seschrock  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9*24db4641Seschrock  * or http://www.opensolaris.org/os/licensing.
10*24db4641Seschrock  * See the License for the specific language governing permissions
11*24db4641Seschrock  * and limitations under the License.
12*24db4641Seschrock  *
13*24db4641Seschrock  * When distributing Covered Code, include this CDDL HEADER in each
14*24db4641Seschrock  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15*24db4641Seschrock  * If applicable, add the following below this CDDL HEADER, with the
16*24db4641Seschrock  * fields enclosed by brackets "[]" replaced with your own identifying
17*24db4641Seschrock  * information: Portions Copyright [yyyy] [name of copyright owner]
18*24db4641Seschrock  *
19*24db4641Seschrock  * CDDL HEADER END
20*24db4641Seschrock  */
21*24db4641Seschrock /*
22*24db4641Seschrock  * Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
23*24db4641Seschrock  * Use is subject to license terms.
24*24db4641Seschrock  */
25*24db4641Seschrock 
26*24db4641Seschrock #ifndef	_SYS_FM_IO_DISK_H
27*24db4641Seschrock #define	_SYS_FM_IO_DISK_H
28*24db4641Seschrock 
29*24db4641Seschrock #pragma ident	"%Z%%M%	%I%	%E% SMI"
30*24db4641Seschrock 
31*24db4641Seschrock #ifdef	__cplusplus
32*24db4641Seschrock extern "C" {
33*24db4641Seschrock #endif
34*24db4641Seschrock 
35*24db4641Seschrock #define	DISK_ERROR_CLASS		"io.disk"
36*24db4641Seschrock 
37*24db4641Seschrock #define	FM_FAULT_DISK_PREDFAIL		"predictive-failure"
38*24db4641Seschrock #define	FM_FAULT_DISK_OVERTEMP		"over-temperature"
39*24db4641Seschrock #define	FM_FAULT_DISK_TESTFAIL		"self-test-failure"
40*24db4641Seschrock 
41*24db4641Seschrock #ifdef	__cplusplus
42*24db4641Seschrock }
43*24db4641Seschrock #endif
44*24db4641Seschrock 
45*24db4641Seschrock #endif	/* _SYS_FM_IO_DISK_H */
46