/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License (the "License").
* You may not use this file except in compliance with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* See the License for the specific language governing permissions
* and limitations under the License.
*
* When distributing Covered Code, include this CDDL HEADER in each
* file and include the License file at usr/src/OPENSOLARIS.LICENSE.
* If applicable, add the following below this CDDL HEADER, with the
* fields enclosed by brackets "[]" replaced with your own identifying
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
/*
* Copyright 2009 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
#ifndef _SYS_OBERON_REGS_H
#define _SYS_OBERON_REGS_H
#ifdef __cplusplus
extern "C" {
#endif
#define UBC_INTERRUPT_STATUS_DMARDUEA_P 0
/*
* Class qualifiers on errors for which EID is valid.
*/
#define UBC_EID_MEM 0
/*
* Mask within UBC_INTERRUPT_STATUS for Leaf-A errors
*/
#define UBC_INTERRUPT_STATUS_LEAFA \
((1UL << UBC_INTERRUPT_STATUS_DMARDUEA_P) |\
(1UL << UBC_INTERRUPT_STATUS_DMAWTUEA_P) |\
(1UL << UBC_INTERRUPT_STATUS_MEMRDAXA_P) |\
(1UL << UBC_INTERRUPT_STATUS_MEMWTAXA_P) |\
(1UL << UBC_INTERRUPT_STATUS_DMARDUEA_S) |\
(1UL << UBC_INTERRUPT_STATUS_DMAWTUEA_S) |\
(1UL << UBC_INTERRUPT_STATUS_MEMRDAXA_S) |\
(1UL << UBC_INTERRUPT_STATUS_MEMWTAXA_S))
/*
* Mask within UBC_INTERRUPT_STATUS for Leaf-B errors
*/
#define UBC_INTERRUPT_STATUS_LEAFB \
((1UL << UBC_INTERRUPT_STATUS_DMARDUEB_P) |\
(1UL << UBC_INTERRUPT_STATUS_DMAWTUEB_P) |\
(1UL << UBC_INTERRUPT_STATUS_MEMRDAXB_P) |\
(1UL << UBC_INTERRUPT_STATUS_MEMWTAXB_P) |\
(1UL << UBC_INTERRUPT_STATUS_DMARDUEB_S) |\
(1UL << UBC_INTERRUPT_STATUS_DMAWTUEB_S) |\
(1UL << UBC_INTERRUPT_STATUS_MEMRDAXB_S) |\
(1UL << UBC_INTERRUPT_STATUS_MEMWTAXB_S))
#define OBERON_UBC_ID_IOC 0
#define OBERON_PORT_ID_LEAF 0
/* values for OBERON_PORT_ID_LEAF field */
#define OBERON_PORT_ID_LEAF_A 0
#define TLU_SLOT_CAPABILITIES_ATBTNP 0
#define DLU_PORT_CONTROL_CK_EN 0
#define TLU_OTHER_EVENT_STATUS_CLEAR_EIUE_P 0
#define TLU_SLOT_STATUS_ABTN 0
#define FLP_PORT_CONTROL_PORT_DIS 0
#define HOTPLUG_CONTROL_N_PERST 0
#define DRAIN_CONTROL_STATUS_DRAIN 0
#ifdef __cplusplus
}
#endif
#endif /* _SYS_OBERON_REGS_H */