px_ib.h revision d17daf0b0e859a92357ab542e9070251d02dfa1f
/*
* 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 2010 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
#ifndef _SYS_PX_IB_H
#define _SYS_PX_IB_H
#ifdef __cplusplus
extern "C" {
#endif
#include <sys/ddi_subrdefs.h>
#include <sys/pci_tools.h>
typedef struct px_ino_pil px_ino_pil_t;
/*
* interrupt block soft state structure:
*
* Each px node may share an interrupt block structure with its peer
* node or have its own private interrupt block structure.
*/
struct px_ib {
};
/*
* ih structure: one per every consumer of each ino and pil pair with interrupt
* registered.
*/
struct px_ih {
};
/* Only used for fixed or legacy interrupts */
#define PX_INTR_STATE_DISABLE 0 /* disabled */
/* Only used for MSI/X to track interrupt handler status */
/*
* ino_pil structure: one per each ino and pil pair with interrupt registered
*/
struct px_ino_pil {
};
/*
* ino structure: one per each ino with interrupt registered
*/
struct px_ino {
};
#define IB_INTR_NOWAIT 0 /* already handling intr, no wait */
#ifdef __cplusplus
}
#endif
#endif /* _SYS_PX_IB_H */