127Sjchu /* 227Sjchu * CDDL HEADER START 327Sjchu * 427Sjchu * The contents of this file are subject to the terms of the 527Sjchu * Common Development and Distribution License, Version 1.0 only 627Sjchu * (the "License"). You may not use this file except in compliance 727Sjchu * with the License. 827Sjchu * 927Sjchu * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 1027Sjchu * or http://www.opensolaris.org/os/licensing. 1127Sjchu * See the License for the specific language governing permissions 1227Sjchu * and limitations under the License. 1327Sjchu * 1427Sjchu * When distributing Covered Code, include this CDDL HEADER in each 1527Sjchu * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 1627Sjchu * If applicable, add the following below this CDDL HEADER, with the 1727Sjchu * fields enclosed by brackets "[]" replaced with your own identifying 1827Sjchu * information: Portions Copyright [yyyy] [name of copyright owner] 1927Sjchu * 2027Sjchu * CDDL HEADER END 2127Sjchu */ 2227Sjchu /* 2327Sjchu * Copyright 2005 Sun Microsystems, Inc. All rights reserved. 2427Sjchu * Use is subject to license terms. 2527Sjchu */ 2627Sjchu 2727Sjchu #ifndef _SYS_PCIE_IMPL_H 2827Sjchu #define _SYS_PCIE_IMPL_H 2927Sjchu 3027Sjchu #pragma ident "%Z%%M% %I% %E% SMI" 3127Sjchu 3227Sjchu #ifdef __cplusplus 3327Sjchu extern "C" { 3427Sjchu #endif 3527Sjchu 3627Sjchu /* 3727Sjchu * PCI-Express Friendly Functions 3827Sjchu */ 3927Sjchu extern int pcie_initchild(dev_info_t *dip); 4027Sjchu extern void pcie_uninitchild(dev_info_t *dip); 41*383Set142600 extern void pcie_clear_errors(dev_info_t *dip, 42*383Set142600 ddi_acc_handle_t config_handle); 4327Sjchu 4427Sjchu #ifdef __cplusplus 4527Sjchu } 4627Sjchu #endif 4727Sjchu 4827Sjchu #endif /* _SYS_PCIE_IMPL_H */ 49