fiomp.h revision 25cf1a301a396c38e8adf52c15f537b80d2483f7
25cf1a301a396c38e8adf52c15f537b80d2483f7jl * CDDL HEADER START
25cf1a301a396c38e8adf52c15f537b80d2483f7jl * The contents of this file are subject to the terms of the
25cf1a301a396c38e8adf52c15f537b80d2483f7jl * Common Development and Distribution License (the "License").
25cf1a301a396c38e8adf52c15f537b80d2483f7jl * You may not use this file except in compliance with the License.
25cf1a301a396c38e8adf52c15f537b80d2483f7jl * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
25cf1a301a396c38e8adf52c15f537b80d2483f7jl * See the License for the specific language governing permissions
25cf1a301a396c38e8adf52c15f537b80d2483f7jl * and limitations under the License.
25cf1a301a396c38e8adf52c15f537b80d2483f7jl * When distributing Covered Code, include this CDDL HEADER in each
25cf1a301a396c38e8adf52c15f537b80d2483f7jl * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
25cf1a301a396c38e8adf52c15f537b80d2483f7jl * If applicable, add the following below this CDDL HEADER, with the
25cf1a301a396c38e8adf52c15f537b80d2483f7jl * fields enclosed by brackets "[]" replaced with your own identifying
25cf1a301a396c38e8adf52c15f537b80d2483f7jl * information: Portions Copyright [yyyy] [name of copyright owner]
25cf1a301a396c38e8adf52c15f537b80d2483f7jl * CDDL HEADER END
25cf1a301a396c38e8adf52c15f537b80d2483f7jl * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
25cf1a301a396c38e8adf52c15f537b80d2483f7jl * Use is subject to license terms.
25cf1a301a396c38e8adf52c15f537b80d2483f7jl#pragma ident "%Z%%M% %I% %E% SMI"
25cf1a301a396c38e8adf52c15f537b80d2483f7jlextern "C" {
25cf1a301a396c38e8adf52c15f537b80d2483f7jl/* ioctl base */
25cf1a301a396c38e8adf52c15f537b80d2483f7jl * ioctl for the meta management node
25cf1a301a396c38e8adf52c15f537b80d2483f7jl/* create a new multi-path */
25cf1a301a396c38e8adf52c15f537b80d2483f7jl/* encapsulate using devices */
25cf1a301a396c38e8adf52c15f537b80d2483f7jl/* get an instance device's information */
25cf1a301a396c38e8adf52c15f537b80d2483f7jl char real_name[FIOMP_MAX_STR]; /* instance management node */
25cf1a301a396c38e8adf52c15f537b80d2483f7jl/* get number of all instances */
25cf1a301a396c38e8adf52c15f537b80d2483f7jl/* get all device's informations */
25cf1a301a396c38e8adf52c15f537b80d2483f7jl/* keep 0x5 - 0xf for reserve */
25cf1a301a396c38e8adf52c15f537b80d2483f7jl * ioctl for instance management nodes
25cf1a301a396c38e8adf52c15f537b80d2483f7jl/* get max number of paths */
25cf1a301a396c38e8adf52c15f537b80d2483f7jl/* set the device's property */
25cf1a301a396c38e8adf52c15f537b80d2483f7jl/* get the device's property */
25cf1a301a396c38e8adf52c15f537b80d2483f7jl /* instance management node (/devices) */
25cf1a301a396c38e8adf52c15f537b80d2483f7jl char *iomp_user_path; /* instance management node (/dev) */
25cf1a301a396c38e8adf52c15f537b80d2483f7jl char **iomp_logical_path; /* target device nodes (/dev) */
25cf1a301a396c38e8adf52c15f537b80d2483f7jl/* destroy the instance */
25cf1a301a396c38e8adf52c15f537b80d2483f7jl/* stop the path */
25cf1a301a396c38e8adf52c15f537b80d2483f7jl/* start the path */
25cf1a301a396c38e8adf52c15f537b80d2483f7jl/* list all paths */
25cf1a301a396c38e8adf52c15f537b80d2483f7jl/* get the path status */
25cf1a301a396c38e8adf52c15f537b80d2483f7jl/* status */
25cf1a301a396c38e8adf52c15f537b80d2483f7jl/* access block status */
25cf1a301a396c38e8adf52c15f537b80d2483f7jl/* add, delete */
25cf1a301a396c38e8adf52c15f537b80d2483f7jl/* active, stabdby */
25cf1a301a396c38e8adf52c15f537b80d2483f7jl/* block, unblock */
25cf1a301a396c38e8adf52c15f537b80d2483f7jl/* diagnostic mode ON,OFF */
25cf1a301a396c38e8adf52c15f537b80d2483f7jl/* get all status */
25cf1a301a396c38e8adf52c15f537b80d2483f7jl/* change the status of paths */
25cf1a301a396c38e8adf52c15f537b80d2483f7jl/* recover the failed path */
25cf1a301a396c38e8adf52c15f537b80d2483f7jl/* disconnect/reconnect the path */
25cf1a301a396c38e8adf52c15f537b80d2483f7jl/* keep 0x25 - 0x2f for reserve */
25cf1a301a396c38e8adf52c15f537b80d2483f7jl * Common ioctl
25cf1a301a396c38e8adf52c15f537b80d2483f7jl/* get event */
25cf1a301a396c38e8adf52c15f537b80d2483f7jl /* number of all path(instance management) */
25cf1a301a396c38e8adf52c15f537b80d2483f7jl/* event type */
25cf1a301a396c38e8adf52c15f537b80d2483f7jl * Device property
25cf1a301a396c38e8adf52c15f537b80d2483f7jl#define FIOMP_PROP_BLOCK_DEFAULT "iomp-path-block-default"
25cf1a301a396c38e8adf52c15f537b80d2483f7jl#endif /* _FIOMP_H */