vsw_hio.h revision da14cebe459d3275048785f25bd869cb09b5307f
/*
* 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 2008 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
#ifndef _VSW_HIO_H
#define _VSW_HIO_H
#ifdef __cplusplus
extern "C" {
#endif
/* kstats for hybrid io resources */
typedef struct vsw_hio_kstats {
struct {
} share[1];
/* space for other shares here */
typedef struct vsw_share {
/* Cached info */
} vsw_share_t;
#define VSW_SHARE_FREE 0x0
#define VSW_SHARE_ASSIGNED 0x1
#define VSW_SHARE_DDS_SENT 0x2
#define VSW_SHARE_DDS_ACKD 0x4
/* Hybrid related info */
typedef struct vsw_hio {
} vsw_hio_t;
#ifdef __cplusplus
}
#endif
#endif /* _VSW_HIO_H */