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