px_ib.h revision a195726fa33097e56cf1c25c31feddb827e140f0
/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License, Version 1.0 only
* (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 2005 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
#ifndef _SYS_PX_IB_H
#define _SYS_PX_IB_H
#pragma ident "%Z%%M% %I% %E% SMI"
#ifdef __cplusplus
extern "C" {
#endif
#include <sys/ddi_subrdefs.h>
#include <sys/pci_tools.h>
typedef struct px_ib_ino_info px_ib_ino_info_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 {
};
/*
* The following structure represents an interrupt entry for an INO.
*/
typedef struct px_ih {
} px_ih_t;
/* Only used for fixed or legacy interrupts */
#define PX_INTR_STATE_DISABLE 0 /* disabled */
/*
* ino structure : one per each ino with interrupt registered
*/
struct px_ib_ino_info {
struct px_ib_ino_info *ino_next;
};
#define IB_INTR_NOWAIT 0 /* already handling intr, no wait */
#ifdef __cplusplus
}
#endif
#endif /* _SYS_PX_IB_H */