ibpart.h revision 1cfa752f4e24c34133009b0f6c139127a5c461de
/*
* 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
*/
/*
*/
#ifndef _SYS_IBPART_H
#define _SYS_IBPART_H
#ifdef __cplusplus
extern "C" {
#endif
#define IBD_INFO_CMD_IBPART 1
#define IBD_INFO_CMD_IBPORT 2
#define IBD_INFO_CMD_PKEYTBLSZ 3
typedef enum ibd_part_err_e {
/*
* NOTE: If you change this structure make sure that alignments are correct
* for the proper operation of the ioctl in both the 32 and 64 bit modes.
*/
typedef struct ibd_ioctl_s {
int ioc_info_cmd;
int ioc_port_inst;
int ioc_status;
} ibd_ioctl_t;
/*
* NOTE: If you change this structure make sure that alignments are correct
* for the proper operation of the ioctl in both the 32 and 64 bit modes.
*/
typedef struct ibpart_ioctl_s {
typedef struct ibpart_ioctl_s ibd_create_ioctl_t;
typedef struct ibpart_ioctl_s ibd_delete_ioctl_t;
typedef struct ibport_ioctl_s {
#ifdef _SYSCALL32
typedef struct ibport_ioctl32_s {
#endif
#ifdef __cplusplus
}
#endif
#endif /* _SYS_IBPART_H */