/*
* 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 2006 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
#ifndef _FIOMP_H
#define _FIOMP_H
#pragma ident "%Z%%M% %I% %E% SMI"
#ifdef __cplusplus
extern "C" {
#endif
#define FIOMP_FALSE 0
/* ioctl base */
/*
* ioctl for the meta management node
*/
/* create a new multi-path */
/* encapsulate using devices */
struct fiompdev {
};
/* get an instance device's information */
struct fiomp_devinfo {
};
/* get number of all instances */
/* get all device's informations */
struct fiomp_all_devinfo {
};
/* keep 0x5 - 0xf for reserve */
/*
* ioctl for instance management nodes
*/
/* get max number of paths */
/* set the device's property */
/* get the device's property */
struct fiompprop {
char *iomp_real_name;
/* instance management node (/devices) */
};
/* destroy the instance */
/* stop the path */
/* start the path */
/* list all paths */
/* get the path status */
struct fiompstatus {
};
/* status */
/* access block status */
#define FIOMP_BSTAT_UNBLOCK 0
/* add, delete */
struct fiomppath {
};
/* active, stabdby */
/* block, unblock */
/* diagnostic mode ON,OFF */
struct fiomp_diag_mode {
};
/* get all status */
struct fiomp_all_stat {
};
/* change the status of paths */
struct fiompchg {
};
/* recover the failed path */
/* disconnect/reconnect the path */
/* keep 0x25 - 0x2f for reserve */
/*
* Common ioctl
*/
/* get event */
struct fiompevent {
/* number of all path(instance management) */
};
/* event type */
/*
* Device property
*/
#ifdef __cplusplus
}
#endif
#endif /* _FIOMP_H */