25cf1a301a396c38e8adf52c15f537b80d2483f7jl * CDDL HEADER START
25cf1a301a396c38e8adf52c15f537b80d2483f7jl * The contents of this file are subject to the terms of the
25cf1a301a396c38e8adf52c15f537b80d2483f7jl * Common Development and Distribution License (the "License").
25cf1a301a396c38e8adf52c15f537b80d2483f7jl * You may not use this file except in compliance with the License.
25cf1a301a396c38e8adf52c15f537b80d2483f7jl * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
25cf1a301a396c38e8adf52c15f537b80d2483f7jl * See the License for the specific language governing permissions
25cf1a301a396c38e8adf52c15f537b80d2483f7jl * and limitations under the License.
25cf1a301a396c38e8adf52c15f537b80d2483f7jl * When distributing Covered Code, include this CDDL HEADER in each
25cf1a301a396c38e8adf52c15f537b80d2483f7jl * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
25cf1a301a396c38e8adf52c15f537b80d2483f7jl * If applicable, add the following below this CDDL HEADER, with the
25cf1a301a396c38e8adf52c15f537b80d2483f7jl * fields enclosed by brackets "[]" replaced with your own identifying
25cf1a301a396c38e8adf52c15f537b80d2483f7jl * information: Portions Copyright [yyyy] [name of copyright owner]
25cf1a301a396c38e8adf52c15f537b80d2483f7jl * CDDL HEADER END
269473047d747f7815af570197e4ef7322d3632cEvan Yan * Copyright 2009 Sun Microsystems, Inc. All rights reserved.
25cf1a301a396c38e8adf52c15f537b80d2483f7jl * Use is subject to license terms.
25cf1a301a396c38e8adf52c15f537b80d2483f7jlextern "C" {
25cf1a301a396c38e8adf52c15f537b80d2483f7jl * Class qualifiers on errors for which EID is valid.
81f63062a60a29358c252e0d10807f8a8547fbb5arutz * Mask within UBC_INTERRUPT_STATUS for Leaf-A errors
81f63062a60a29358c252e0d10807f8a8547fbb5arutz * Mask within UBC_INTERRUPT_STATUS for Leaf-B errors
81f63062a60a29358c252e0d10807f8a8547fbb5arutz/* values for OBERON_PORT_ID_LEAF field */
ba640a729a732235c4ea8a626bf1aebd15aafd06jj#define DLU_LINK_LAYER_STATUS_LNK_STATE_MACH_STS_DL_INACTIVE 0x1
ba640a729a732235c4ea8a626bf1aebd15aafd06jj#define DLU_LINK_LAYER_STATUS_LNK_STATE_MACH_STS_DL_INIT 0x2
ba640a729a732235c4ea8a626bf1aebd15aafd06jj#define DLU_LINK_LAYER_STATUS_LNK_STATE_MACH_STS_DL_ACTIVE 0x4
ba640a729a732235c4ea8a626bf1aebd15aafd06jj#define DLU_LINK_LAYER_STATUS_INIT_FC_SM_STS_FC_INIT_1 0x1
ba640a729a732235c4ea8a626bf1aebd15aafd06jj#define DLU_LINK_LAYER_STATUS_INIT_FC_SM_STS_FC_INIT_2 0x3
ba640a729a732235c4ea8a626bf1aebd15aafd06jj#define DLU_LINK_LAYER_STATUS_INIT_FC_SM_STS_FC_INIT_DONE 0x2
25cf1a301a396c38e8adf52c15f537b80d2483f7jl#define DLU_LINK_LAYER_INTERRUPT_AND_STATUS_INT_LINK_ERR_ACT 31
25cf1a301a396c38e8adf52c15f537b80d2483f7jl#define DLU_LINK_LAYER_INTERRUPT_AND_STATUS_INT_PARABUS_PE 23
25cf1a301a396c38e8adf52c15f537b80d2483f7jl#define DLU_LINK_LAYER_INTERRUPT_AND_STATUS_INT_UNSPRTD_DLLP 22
25cf1a301a396c38e8adf52c15f537b80d2483f7jl#define DLU_LINK_LAYER_INTERRUPT_AND_STATUS_INT_SRC_ERR_TLP 17
25cf1a301a396c38e8adf52c15f537b80d2483f7jl#define DLU_TXLINK_REPLAY_TIMER_THRESHOLD_RPLAY_TMR_THR_MASK 0xfffff
25cf1a301a396c38e8adf52c15f537b80d2483f7jl#endif /* _SYS_OBERON_REGS_H */