1b65731f1Skini /* 2b65731f1Skini * CDDL HEADER START 3b65731f1Skini * 4b65731f1Skini * The contents of this file are subject to the terms of the 57aadd8d4Skini * Common Development and Distribution License (the "License"). 67aadd8d4Skini * You may not use this file except in compliance with the License. 7b65731f1Skini * 8b65731f1Skini * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9b65731f1Skini * or http://www.opensolaris.org/os/licensing. 10b65731f1Skini * See the License for the specific language governing permissions 11b65731f1Skini * and limitations under the License. 12b65731f1Skini * 13b65731f1Skini * When distributing Covered Code, include this CDDL HEADER in each 14b65731f1Skini * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15b65731f1Skini * If applicable, add the following below this CDDL HEADER, with the 16b65731f1Skini * fields enclosed by brackets "[]" replaced with your own identifying 17b65731f1Skini * information: Portions Copyright [yyyy] [name of copyright owner] 18b65731f1Skini * 19b65731f1Skini * CDDL HEADER END 20b65731f1Skini */ 21b65731f1Skini /* 22*70f83219SEvan Yan * Copyright 2010 Sun Microsystems, Inc. All rights reserved. 23b65731f1Skini * Use is subject to license terms. 24b65731f1Skini */ 25b65731f1Skini 2626947304SEvan Yan #ifndef _SYS_HOTPLUG_PCI_PCISHPC_H 2726947304SEvan Yan #define _SYS_HOTPLUG_PCI_PCISHPC_H 28b65731f1Skini 29b65731f1Skini #ifdef __cplusplus 30b65731f1Skini extern "C" { 31b65731f1Skini #endif 32b65731f1Skini 3326947304SEvan Yan int pcishpc_init(dev_info_t *dip); 3426947304SEvan Yan int pcishpc_uninit(dev_info_t *dip); 3526947304SEvan Yan int pcishpc_intr(dev_info_t *dip); 36*70f83219SEvan Yan int pcishpc_enable_irqs(pcie_hp_ctrl_t *ctrl_p); 37*70f83219SEvan Yan int pcishpc_disable_irqs(pcie_hp_ctrl_t *ctrl_p); 3826947304SEvan Yan int pcishpc_hp_ops(dev_info_t *dip, char *cn_name, ddi_hp_op_t op, void *arg, 3926947304SEvan Yan void *result); 40b65731f1Skini 41b65731f1Skini #ifdef __cplusplus 42b65731f1Skini } 43b65731f1Skini #endif 44b65731f1Skini 4526947304SEvan Yan #endif /* _SYS_HOTPLUG_PCI_PCISHPC_H */ 46