scsi.d revision d8c54e3d070f57cc1b4d6c8262f0868219c8ce7c
d8c54e3d070f57cc1b4d6c8262f0868219c8ce7cSam Cramer * CDDL HEADER START
d8c54e3d070f57cc1b4d6c8262f0868219c8ce7cSam Cramer * The contents of this file are subject to the terms of the
d8c54e3d070f57cc1b4d6c8262f0868219c8ce7cSam Cramer * Common Development and Distribution License (the "License").
d8c54e3d070f57cc1b4d6c8262f0868219c8ce7cSam Cramer * You may not use this file except in compliance with the License.
d8c54e3d070f57cc1b4d6c8262f0868219c8ce7cSam Cramer * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
d8c54e3d070f57cc1b4d6c8262f0868219c8ce7cSam Cramer * See the License for the specific language governing permissions
d8c54e3d070f57cc1b4d6c8262f0868219c8ce7cSam Cramer * and limitations under the License.
d8c54e3d070f57cc1b4d6c8262f0868219c8ce7cSam Cramer * When distributing Covered Code, include this CDDL HEADER in each
d8c54e3d070f57cc1b4d6c8262f0868219c8ce7cSam Cramer * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
d8c54e3d070f57cc1b4d6c8262f0868219c8ce7cSam Cramer * If applicable, add the following below this CDDL HEADER, with the
d8c54e3d070f57cc1b4d6c8262f0868219c8ce7cSam Cramer * fields enclosed by brackets "[]" replaced with your own identifying
d8c54e3d070f57cc1b4d6c8262f0868219c8ce7cSam Cramer * information: Portions Copyright [yyyy] [name of copyright owner]
d8c54e3d070f57cc1b4d6c8262f0868219c8ce7cSam Cramer * CDDL HEADER END
d8c54e3d070f57cc1b4d6c8262f0868219c8ce7cSam Cramer * Copyright 2009 Sun Microsystems, Inc. All rights reserved.
d8c54e3d070f57cc1b4d6c8262f0868219c8ce7cSam Cramer * Use is subject to license terms.
d8c54e3d070f57cc1b4d6c8262f0868219c8ce7cSam Cramer * The scsicmd_t structure should be used by providers
d8c54e3d070f57cc1b4d6c8262f0868219c8ce7cSam Cramer * to represent a SCSI command block (cdb).
d8c54e3d070f57cc1b4d6c8262f0868219c8ce7cSam Cramertypedef struct scsicmd {
d8c54e3d070f57cc1b4d6c8262f0868219c8ce7cSam Cramer * Translator for scsicmd_t, translating from a scsi_task_t