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
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]
23 * Copyright 2005 Sun Microsystems, Inc. All rights reserved.
24 * Use is subject to license terms.
27 #ifndef _SYS_NEXUSDEFS_H
28 #define _SYS_NEXUSDEFS_H
30 #pragma ident "%Z%%M% %I% %E% SMI"
37 * Bus Nexus Control Operations
43 DDI_CTLOPS_UNINITCHILD
,
48 DDI_CTLOPS_RESERVED0
, /* Originally DDI_CTLOPS_NINTRS, obsolete */
56 DDI_CTLOPS_RESERVED1
, /* Originally DDI_CTLOPS_POKE_INIT, obsolete */
57 DDI_CTLOPS_RESERVED2
, /* Originally DDI_CTLOPS_POKE_FLUSH, obsolete */
58 DDI_CTLOPS_RESERVED3
, /* Originally DDI_CTLOPS_POKE_FINI, obsolete */
59 DDI_CTLOPS_RESERVED4
, /* Originally DDI_CTLOPS_INTR_HILEVEL, obsolete */
60 DDI_CTLOPS_RESERVED5
, /* Originally DDI_CTLOPS_XLATE_INTRS, obsolete */
61 DDI_CTLOPS_DVMAPAGESIZE
,
72 * For source compatibility, we define the following obsolete code:
73 * Do NOT use this, use the real constant name.
75 #define DDI_CTLOPS_REMOVECHILD DDI_CTLOPS_UNINITCHILD
91 } ddi_bus_config_op_t
;
94 * Bus Power Operations
97 BUS_POWER_CHILD_PWRCHG
= 0,
98 BUS_POWER_NEXUS_PWRUP
,
99 BUS_POWER_PRE_NOTIFICATION
,
100 BUS_POWER_POST_NOTIFICATION
,
101 BUS_POWER_HAS_CHANGED
,
109 #endif /* _SYS_NEXUSDEFS_H */