kernel: remove unused utsname_set_machine()
[unleashed.git] / usr / src / uts / sun4u / sys / plat_datapath.h
blob8c5d7ad0b3d5477301541a34adef71f14cbcd90c
1 /*
2 * CDDL HEADER START
4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License, Version 1.0 only
6 * (the "License"). You may not use this file except in compliance
7 * with the License.
9 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10 * or http://www.opensolaris.org/os/licensing.
11 * See the License for the specific language governing permissions
12 * and limitations under the License.
14 * When distributing Covered Code, include this CDDL HEADER in each
15 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16 * If applicable, add the following below this CDDL HEADER, with the
17 * fields enclosed by brackets "[]" replaced with your own identifying
18 * information: Portions Copyright [yyyy] [name of copyright owner]
20 * CDDL HEADER END
23 * Copyright 2005 Sun Microsystems, Inc. All rights reserved.
24 * Use is subject to license terms.
27 #ifndef _PLAT_DATAPATH_H
28 #define _PLAT_DATAPATH_H
30 #pragma ident "%Z%%M% %I% %E% SMI"
32 #ifdef __cplusplus
33 extern "C" {
34 #endif
37 * Definitions to support datapath fault diagnosis for Starcat
38 * and Serengeti.
41 #define FM_ERROR_DATAPATH "dp"
43 /* datapath ereport payload member names */
44 #define DP_EREPORT_TYPE "erptype"
45 #define DP_TVALUE "t-value"
46 #define DP_LIST_SIZE "dp-list-sz"
47 #define DP_LIST "dp-list"
48 #define SN_LIST "sn-list"
50 /* datapath ereport types for DP_EREPORT_TYPE */
51 #define DP_ERROR 0
52 #define DP_FAULT 1
55 * Name definitions for datapath error/fault types
57 * Note that "rp" is the Serengeti name for "cp."
59 #define DP_ERROR_CDS "cds"
60 #define DP_ERROR_DX "dx"
61 #define DP_ERROR_EX "sdi" /* Starcat-only */
62 #define DP_ERROR_CP "cp"
63 #define DP_ERROR_RP "rp" /* Serengeti name for "cp" */
66 * Numeric definitions for datapath error/fault types
67 * as received in a mailbox message from the SC.
69 /* Shared between Starcat and Serengeti */
70 #define DP_CDS_TYPE 0
71 #define DP_DX_TYPE 1
72 /* Starcat-only */
73 #define DP_EX_TYPE 2
74 #define DP_CP_TYPE 3
75 /* Serengeti-only */
76 #define DP_RP_TYPE 2
79 * Numeric definitions for datapath error-fault types
80 * remapped from values received from the SC to values unique
81 * between Starcat and Serengeti.
83 /* Starcat types */
84 #define SC_DP_CDS_TYPE 0
85 #define SC_DP_DX_TYPE 1
86 #define SC_DP_EX_TYPE 2
87 #define SC_DP_CP_TYPE 3
88 /* Serengeti types */
89 #define SG_DP_CDS_TYPE 4
90 #define SG_DP_DX_TYPE 5
91 #define SG_DP_RP_TYPE 6
93 #ifdef __cplusplus
95 #endif
97 #endif /* _PLAT_DATAPATH_H */