mms_dmd.h revision cee0fb94c0d4227de0a00efc162fb2739844b641
/*
* 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 __MMS_DMD_H__
#define __MMS_DMD_H__
/* Begin: 32-bit align copyin() structs for amd64 only due to 32-bit x86 ABI */
#pragma pack(4)
#endif
#define MMS_HDL_DIR "/var/mms/handle"
/*
* Struct to hold position
*/
typedef struct mms_pos {
} mms_pos_t;
/*
* Density request
*/
typedef struct mms_density {
/*
* Capacity request
*/
typedef struct mms_capacity {
/*
* Capacity is in megabytes (1048576)
*/
/*
* Read block limit
*/
typedef struct mms_blk_limit {
/*
* MMS ioctl's
*/
/* in database */
/*
* MMS special pseudo sense key for beg of file and end of file.
* They are returned in mt_erreg.
*/
/*
* SCSI error
*/
typedef struct mms_scsi_err {
/* End: 32-bit align copyin() structs for amd64 only due to 32-bit x86 ABI */
#pragma pack()
#endif
#endif /* __MMS_DMD_H__ */