dkmpio.h revision 7c478bd95313f5f23a4c958a745db2134aa03244
/*
* 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 (c) 1991,1997-1998 by Sun Microsystems, Inc.
* All rights reserved.
*/
#ifndef _SYS_DKMPIO_H
#define _SYS_DKMPIO_H
#pragma ident "%Z%%M% %I% %E% SMI"
/* from dualport: dkmpio.h 1.5 91/04/11 SMI */
/*
* Structures and definitions for multi port disk io control commands
*/
#ifdef __cplusplus
extern "C" {
#endif
/*
* Disk driver multi port state.
* dk_gmpstate.dkg_mpstate and dk_smpstate.dks_mpstate values.
*/
/*
* Disk drive protocol types
* dk_mpinfo.dke_mptype values.
*/
/*
* Used for getting disk driver multi port state and status
*/
struct dk_gmpstate {
};
/*
* Used for setting driver multi port state and status
*/
struct dk_smpstate {
};
/*
* flags for current status, ro
* dk_gmpstate.dkg_current_status definitions.
*/
/*
* Volatile disk drive fail state flags, ro
* dk_gmpstate.dkg_fail_state flags definitions.
*/
/* reports error */
/* reports error */
/* reports error */
/*
* Used for getting disk drive error counts
*/
struct dk_mpdrv_status {
/* retries on media errors */
};
/*
*/
struct dk_mpflags {
};
/*
* Volatile disk drive configuration status flags, ro
* dk_mpflags.dkf_config_flags definitions.
*/
/*
* Non-destructive configuration control flags, r/w
* dk_mpflags.dkf_control_flags definitions.
*/
/* on unreserved unit occurs */
/* on reserved unit occurs */
/* unavailable after a */
/* failure */
/*
* Extended info: used for getting all the multi port info
*/
struct dk_mpinfo {
int dke_qcapacity; /* min freeze queue capacity */
};
/*
* Used for reserve, release, reset, abort, probe and reinitialization.
* May use with the "common command list" flags.
*/
struct dk_mpcmd {
};
/*
* Common command list, for all protocols.
* dk_mpcmd.dkc_mpcmd definitions.
*/
/*
* Execution flags.
* dk_mpcmd.dkc_mpflags definitions.
*/
/*
* Disk io control commands
*/
#ifdef __cplusplus
}
#endif
#endif /* !_SYS_DKMPIO_H */